@maka/maka-cli 4.7.21 → 4.7.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +3 -2
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- function a36c(){const m=['4cguPsD','(((.+)+)+)+$','say','length','name','execute','9lUewmV','12926210ewZysU','What\x20do\x20you\x20want\x20to\x20say?','currentLocation','5ISTrTJ','description','Scene\x20is\x20missing\x20from\x20context.','allActors','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','58023Dhjfru','You\x20say:\x20\x22',':\x20\x22','1947883hFEalt','6425620ywRjTN','6359776yLiMGa','apply','843630ytiUNM','scene','verb','An\x20error\x20occurred.','logger','317249FNYQqC','context','constructor','actor','search','164IKYxFp'];a36c=function(){return m;};return a36c();}const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x86))/0x1*(parseInt(g(0x8c))/0x2)+parseInt(g(0x9b))/0x3*(parseInt(g(0x8b))/0x4)+-parseInt(g(0x96))/0x5*(-parseInt(g(0xa2))/0x6)+parseInt(g(0x9e))/0x7+-parseInt(g(0xa0))/0x8*(parseInt(g(0x92))/0x9)+parseInt(g(0x9f))/0xa+-parseInt(g(0x93))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x7eab1));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a['toString']()[i(0x8a)](i(0x8d))['toString']()[i(0x88)](a36a)['search']('(((.+)+)+)+$');});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x83;let f=c[d];return f;},a36d(a,b);}a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x83)]=a36j(0x8e);static [a36j(0x97)]=a36j(0x9a);[a36j(0x87)];constructor(a){const k=a36j;super(a),this[k(0x87)]=a;}[a36j(0x91)](a){const l=a36j;if(a[l(0x8f)]===0x0)return l(0x94);const b=a['join']('\x20'),c=this['actor'],d=this[l(0x87)][l(0xa3)];if(!d)return this[l(0x85)]['log'](l(0x98)),l(0x84);const e=d[l(0x99)]['filter'](f=>f[l(0x95)]===c[l(0x95)]);for(const f of e){this[l(0x85)]['log'](c[l(0x90)]+'\x20says\x20to\x20'+f['name']+l(0x9d)+b+'\x22'),this[l(0x89)]['currentLocation'][l(0x8e)](f,b);}return l(0x9c)+b+'\x22';}}
1
+ const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x99))/0x1+parseInt(g(0xad))/0x2*(parseInt(g(0xa9))/0x3)+parseInt(g(0x94))/0x4+parseInt(g(0xac))/0x5*(parseInt(g(0xa5))/0x6)+parseInt(g(0xae))/0x7*(-parseInt(g(0xb4))/0x8)+parseInt(g(0x97))/0x9*(parseInt(g(0xb7))/0xa)+-parseInt(g(0xb0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x8187e));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x9a)]()['search'](i(0x9f))[i(0x9a)]()[i(0xa0)](a36a)[i(0xaf)](i(0x9f));});a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x93;let f=c[d];return f;},a36d(a,b);}function a36c(){const m=['actor','\x20says\x20to\x20','6OjCEvd','apply','execute','1085bQIuAQ','299990fCGjjI','12082MKoCXE','search','11047597dnBVcL','currentLocation','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','name','472pPaXZR','join','verb','8822270ZMVYYM','An\x20error\x20occurred.','context','1309324MXAmRu','logger','scene','9POBpdM',':\x20\x22','278836fHoCkB','toString','allActors','You\x20say:\x20\x22','length','description','(((.+)+)+)+$','constructor','say','What\x20do\x20you\x20want\x20to\x20say?','Scene\x20is\x20missing\x20from\x20context.','log','11226jWnlXR','filter'];a36c=function(){return m;};return a36c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0xb6)]=a36j(0xa1);static [a36j(0x9e)]=a36j(0xb2);[a36j(0x93)];constructor(a){const k=a36j;super(a),this[k(0x93)]=a;}[a36j(0xab)](a){const l=a36j;if(a[l(0x9d)]===0x0)return l(0xa2);const b=a[l(0xb5)]('\x20'),c=this[l(0xa7)],d=this[l(0x93)][l(0x96)];if(!d)return this[l(0x95)][l(0xa4)](l(0xa3)),l(0xb8);const e=d[l(0x9b)][l(0xa6)](f=>f[l(0xb1)]===c[l(0xb1)]);for(const f of e){this[l(0x95)][l(0xa4)](c[l(0xb3)]+l(0xa8)+f['name']+l(0x98)+b+'\x22'),this['actor'][l(0xb1)][l(0xa1)](f,b);}return l(0x9c)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x139))/0x1+parseInt(f(0x134))/0x2+-parseInt(f(0x135))/0x3+parseInt(f(0x13e))/0x4+parseInt(f(0x13c))/0x5+-parseInt(f(0x14d))/0x6*(-parseInt(f(0x140))/0x7)+parseInt(f(0x132))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x48655));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x142)]()[h(0x145)](h(0x143))[h(0x142)]()[h(0x147)](a37a)[h(0x145)]('(((.+)+)+)+$');});a37a();function a37c(){const k=['You\x20search\x20the\x20area\x20and\x20find:\x20','search','apply','constructor','SearchCommand:\x20','actor','name','\x20found\x20the\x20following\x20items:\x20','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','102YxAHhu','currentLocation','5337736VdcNbi','listItems','115008EdqTfA','990003BJJJcO','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','logger','description','272011hhhaPz','verb','Search\x20for\x20items\x20in\x20your\x20area','645325XkZcaX','length','110560dWEQdX','write','7049BVuSUs','execute','toString','(((.+)+)+)+$'];a37c=function(){return k;};return a37c();}import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x131;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static [a37i(0x13a)]=a37i(0x145);static [a37i(0x138)]=a37i(0x13b);[a37i(0x141)](){const j=a37i,a=this[j(0x149)][j(0x131)]['inventory'][j(0x133)]();if(a[j(0x13d)]===0x0)return this['logger'][j(0x13f)]('SearchCommand:\x20'+this['actor'][j(0x14a)]+j(0x14c)),j(0x136);const b=a['join'](',\x20');return this[j(0x137)][j(0x13f)](j(0x148)+this['actor'][j(0x14a)]+j(0x14b)+b),j(0x144)+b;}}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x13e;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x156))/0x1*(parseInt(f(0x152))/0x2)+parseInt(f(0x155))/0x3*(parseInt(f(0x148))/0x4)+parseInt(f(0x14c))/0x5+-parseInt(f(0x145))/0x6+parseInt(f(0x13e))/0x7*(parseInt(f(0x143))/0x8)+-parseInt(f(0x14b))/0x9*(parseInt(f(0x14f))/0xa)+parseInt(f(0x141))/0xb*(parseInt(f(0x150))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xdb7bc));function a37c(){const k=['77tjsmgf','currentLocation','1953512SOpcgD','verb','6520896UnMews','actor','(((.+)+)+)+$','31412mPsuQL','description','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1368rTIXzm','1496285JwCCLg','You\x20search\x20the\x20area\x20and\x20find:\x20','\x20found\x20the\x20following\x20items:\x20','94810IYzjNw','1822488SAbJxb','search','6mUCKcv','write','toString','411kgxpfh','248169lNxwKl','SearchCommand:\x20','apply','listItems','Search\x20for\x20items\x20in\x20your\x20area','7aidEfi','name','logger'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x154)]()['search'](h(0x147))[h(0x154)]()['constructor'](a37a)[h(0x151)](h(0x147));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x144)]=a37i(0x151);static [a37i(0x149)]=a37i(0x15a);['execute'](){const j=a37i,a=this[j(0x146)][j(0x142)]['inventory'][j(0x159)]();if(a['length']===0x0)return this['logger'][j(0x153)](j(0x157)+this[j(0x146)][j(0x13f)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x14a);const b=a['join'](',\x20');return this[j(0x140)][j(0x153)](j(0x157)+this[j(0x146)][j(0x13f)]+j(0x14e)+b),j(0x14d)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x130))/0x1*(parseInt(f(0x121))/0x2)+parseInt(f(0x120))/0x3+-parseInt(f(0x125))/0x4+-parseInt(f(0x122))/0x5+-parseInt(f(0x11b))/0x6*(-parseInt(f(0x11a))/0x7)+-parseInt(f(0x131))/0x8+parseInt(f(0x134))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdb6ae));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x12a)]()[h(0x133)](h(0x12c))[h(0x12a)]()[h(0x116)](a38a)[h(0x133)](h(0x12c));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x116;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';function a38c(){const k=['(((.+)+)+)+$','currentLocation','actor','description','56fITTZv','2910576FsRNGr','toLowerCase','search','9736227KIlLsh','constructor','rewardItem','puzzle','execute','21svMaQV','982764JQnnWA','addItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','Attempt\x20to\x20solve\x20a\x20puzzle.','apply','764544XdLHIK','41334kwMSGM','7911430YmHhhi','inventory','success','562172CxVeVG','logger','message','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','verb','toString','solve'];a38c=function(){return k;};return a38c();}export class SolveCommand extends Command{static [a38i(0x129)]=a38i(0x12b);static [a38i(0x12f)]=a38i(0x11e);[a38i(0x119)](a){const j=a38i,b=a['join']('\x20')[j(0x132)](),c=this[j(0x12e)][j(0x12d)];if(!c||!c[j(0x118)])return this[j(0x126)]['write'](j(0x11d)),j(0x128);const d=c[j(0x118)][j(0x12b)](b,this[j(0x12e)][j(0x123)]);return d[j(0x124)]&&c['puzzle'][j(0x117)]&&this[j(0x12e)][j(0x123)][j(0x11c)](c[j(0x118)][j(0x117)]),this[j(0x126)]['write']('SolveCommand:\x20'+d[j(0x127)]),d['message'];}}
1
+ const a38i=a38d;function a38c(){const k=['22586364VLOkjV','actor','56490HKUBmf','currentLocation','verb','SolveCommand:\x20','puzzle','695154gdoCCf','3618918xQFzdW','join','inventory','1059505DBpnkD','toString','Attempt\x20to\x20solve\x20a\x20puzzle.','apply','message','(((.+)+)+)+$','logger','solve','88XwEPhh','760821ZrzvqS','search','success','execute','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','toLowerCase','12JXTXjA','3525OrIPUO','rewardItem','write'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+-parseInt(f(0x10a))/0x2+parseInt(f(0x11e))/0x3*(-parseInt(f(0x11d))/0x4)+-parseInt(f(0x10e))/0x5+-parseInt(f(0x10b))/0x6+parseInt(f(0x105))/0x7*(-parseInt(f(0x116))/0x8)+parseInt(f(0x121))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x78919));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x10f)]()[h(0x118)](h(0x113))[h(0x10f)]()['constructor'](a38a)[h(0x118)](h(0x113));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x104;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x107)]=a38i(0x115);static ['description']=a38i(0x110);[a38i(0x11a)](a){const j=a38i,b=a[j(0x10c)]('\x20')[j(0x11c)](),c=this[j(0x104)][j(0x106)];if(!c||!c[j(0x109)])return this[j(0x114)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x11b);const d=c[j(0x109)]['solve'](b,this[j(0x104)][j(0x10d)]);return d[j(0x119)]&&c[j(0x109)][j(0x11f)]&&this[j(0x104)]['inventory']['addItem'](c[j(0x109)]['rewardItem']),this[j(0x114)][j(0x120)](j(0x108)+d[j(0x112)]),d[j(0x112)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x185))/0x1*(parseInt(f(0x191))/0x2)+-parseInt(f(0x188))/0x3+-parseInt(f(0x18b))/0x4+-parseInt(f(0x172))/0x5+parseInt(f(0x176))/0x6+parseInt(f(0x17d))/0x7+-parseInt(f(0x186))/0x8*(-parseInt(f(0x16d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xa2108));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x178)]()[h(0x189)](h(0x171))[h(0x178)]()[h(0x17c)](a39a)[h(0x189)](h(0x171));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x16a;let f=c[d];return f;},a39d(a,b);}a39a();function a39c(){const l=['\x22\x20not\x20found\x20in\x20','261UpjwUP','Pick\x20up\x20an\x20item.','The\x20item\x20\x22','inventory','(((.+)+)+)+$','2958805AkNbMW','Error\x20during\x20\x27Take\x27\x20command:\x20','addInventory','There\x20is\x20no\x20item\x20\x22','759120NMfIti','description','toString','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x20during\x20\x27Take\x27\x20command.','constructor','1536962kDlTMt','Item\x20\x22','write','\x22\x20is\x20too\x20heavy\x20to\x20carry.','execute','message','\x22\x20in\x20this\x20room.','You\x20have\x20taken\x20the\x20','47sgryxG','387920cWjWrL','name','707148oTudJm','search','actor','3597428XHaVdM','join','logger','Successfully\x20added\x20\x22','apply','take','27164JOFyrY','getItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','hasItem'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39i(0x190);static [a39i(0x177)]=a39i(0x16e);[a39i(0x181)](a){const j=a39i;return this[j(0x18d)]['write'](j(0x179)+a[j(0x18c)]('\x20')),this[j(0x190)](a);}[a39i(0x190)](a){const k=a39i,b=a[k(0x18c)]('\x20')['toLowerCase'](),c=this[k(0x18a)]['currentLocation'];if(!c[k(0x170)][k(0x16b)](b))return this[k(0x18d)]['write'](k(0x17e)+b+k(0x16c)+c[k(0x187)]+k(0x17b)),k(0x175)+b+k(0x183);const d=c['inventory'][k(0x192)](b);if(!d)return this[k(0x18d)]['write'](k(0x17e)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x187)]+k(0x17a)),k(0x175)+b+k(0x183);try{return this[k(0x18a)][k(0x174)](d),this[k(0x18d)][k(0x17f)](k(0x18e)+b+'\x22\x20to\x20'+this[k(0x18a)][k(0x187)]+k(0x16a)),c['inventory']['removeItem'](b),this['logger'][k(0x17f)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c[k(0x187)]+k(0x17a)),k(0x184)+b+'.';}catch(e){return this[k(0x18d)][k(0x17f)](k(0x173)+e[k(0x182)]),k(0x16f)+b+k(0x180);}}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a39d(a,b);}function a39c(){const k=['inventory','Item\x20\x22','addInventory','\x22\x20is\x20too\x20heavy\x20to\x20carry.','130920oqqjZj','202974tQtVPX','You\x20have\x20taken\x20the\x20','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','toLowerCase','toString','Successfully\x20removed\x20\x22','currentLocation','\x22\x20to\x20','\x22\x20not\x20found\x20in\x20','description','\x22\x20not\x20retrieved\x20from\x20','actor','\x20during\x20\x27Take\x27\x20command.','take','The\x20item\x20\x22','8456PwvvSZ','search','2326540mekMXA','constructor','(((.+)+)+)+$','hasItem','\x22\x20in\x20this\x20room.','190539thktIL','300WyTBdi','join','15111288pJMygc','getItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','write','Pick\x20up\x20an\x20item.','logger','execute','Successfully\x20added\x20\x22','There\x20is\x20no\x20item\x20\x22','2216tpODwK','name','1174964SUbDPK','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a39c=function(){return k;};return a39c();}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1cf))/0x2+parseInt(f(0x1be))/0x3+-parseInt(f(0x1e2))/0x4+-parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1bd))/0x6)+-parseInt(f(0x1cd))/0x7*(-parseInt(f(0x1e0))/0x8)+-parseInt(f(0x1d7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xadb08));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x1c2)]()[g(0x1ce)](g(0x1d1))[g(0x1c2)]()[g(0x1d0)](a39a)[g(0x1ce)](g(0x1d1));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39h(0x1cb);static [a39h(0x1c7)]=a39h(0x1db);[a39h(0x1dd)](a){const i=a39h;return this[i(0x1dc)][i(0x1da)](i(0x1c0)+a[i(0x1d6)]('\x20')),this[i(0x1cb)](a);}[a39h(0x1cb)](a){const j=a39h,b=a[j(0x1d6)]('\x20')[j(0x1c1)](),c=this[j(0x1c9)][j(0x1c4)];if(!c[j(0x1e4)][j(0x1d2)](b))return this['logger']['write'](j(0x1e5)+b+j(0x1c6)+c['name']+j(0x1ca)),j(0x1df)+b+'\x22\x20in\x20this\x20room.';const d=c['inventory'][j(0x1d8)](b);if(!d)return this['logger']['write'](j(0x1e5)+b+j(0x1c8)+c[j(0x1e1)]+j(0x1e3)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x1d3);try{return this[j(0x1c9)][j(0x1e6)](d),this[j(0x1dc)][j(0x1da)](j(0x1de)+b+j(0x1c5)+this[j(0x1c9)]['name']+j(0x1d9)),c[j(0x1e4)]['removeItem'](b),this[j(0x1dc)][j(0x1da)](j(0x1c3)+b+'\x22\x20from\x20'+c[j(0x1e1)]+j(0x1e3)),j(0x1bf)+b+'.';}catch(e){return this['logger'][j(0x1da)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),j(0x1cc)+b+j(0x1e7);}}}
@@ -1 +1 @@
1
- function a40c(){const j=['actor','search','verb','48uKAPFL','736850KlZhET','6285170NoLOWw','UnequipCommand:\x20','unqeuip','220IXNLmN','logger','execute','toLowerCase','constructor','\x20unqeuiped\x20','toString','1792818FSBNHJ','141428VsyhAw','11zlneMU','Unequip\x20an\x20item.','name','join','(((.+)+)+)+$','write','206625mxquJH','5333049tLyaNg','unequip','28576wmCAfx','description','2InNVBt'];a40c=function(){return j;};return a40c();}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1fe))/0x1*(parseInt(f(0x203))/0x2)+-parseInt(f(0x1f9))/0x3+parseInt(f(0x1fc))/0x4*(-parseInt(f(0x207))/0x5)+parseInt(f(0x1f1))/0x6+parseInt(f(0x1f2))/0x7*(-parseInt(f(0x202))/0x8)+parseInt(f(0x1fa))/0x9+parseInt(f(0x204))/0xa*(-parseInt(f(0x1f3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x78e9e));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a['toString']()[g(0x200)](g(0x1f7))[g(0x20d)]()[g(0x20b)](a40a)[g(0x200)](g(0x1f7));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40h(0x201)]=a40h(0x206);static [a40h(0x1fd)]=a40h(0x1f4);[a40h(0x209)](a){const i=a40h,b=a[i(0x1f6)]('\x20')[i(0x20a)](),c=this['actor'][i(0x1fb)](b);return this[i(0x208)][i(0x1f8)](i(0x205)+this[i(0x1ff)][i(0x1f5)]+i(0x20c)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x123))/0x1+-parseInt(f(0x12a))/0x2*(parseInt(f(0x130))/0x3)+-parseInt(f(0x12e))/0x4*(-parseInt(f(0x132))/0x5)+-parseInt(f(0x131))/0x6*(parseInt(f(0x124))/0x7)+parseInt(f(0x127))/0x8+parseInt(f(0x126))/0x9*(-parseInt(f(0x134))/0xa)+parseInt(f(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x95e0c));function a40c(){const k=['18JMXlgn','2431944uzqbCb','unequip','unqeuip','49666WlsEgA','description','UnequipCommand:\x20','(((.+)+)+)+$','217292EbMvUn','24779128LDKtVp','33AQQSCy','12rUeNht','5mhgoBq','apply','3327940LpKUnK','toString','actor','search','toLowerCase','logger','name','join','\x20unqeuiped\x20','4283RQXlcj','3689105CtyaZA','write'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x135)]()['search']('(((.+)+)+)+$')[h(0x135)]()['constructor'](a40a)[h(0x137)](h(0x12d));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x11e;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0x129);static [a40i(0x12b)]='Unequip\x20an\x20item.';['execute'](a){const j=a40i,b=a[j(0x121)]('\x20')[j(0x11e)](),c=this[j(0x136)][j(0x128)](b);return this[j(0x11f)][j(0x125)](j(0x12c)+this['actor'][j(0x120)]+j(0x122)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41c(){const n=['Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','666YDVHdp','UnlockCommand:\x20No\x20target\x20specified.','getItem','3233312ZHTpJw','unlock','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','isValidDirection','verb','toString','unlockItemOrSolution','search','inventory','toLowerCase','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','actor','error','apply','has','732LHDXhA','logger','hasItem','currentLocation','36uYBbAi','220253Nczymf','154QQbMvw','383370GnXrQO','953283UfsgML','exits','get','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','description','There\x27s\x20no\x20door\x20named\x20\x22','1288729MYhRnw','name','write','160cayRpY','Unlock\x20a\x20door.','175iELeQV','UnlockCommand:\x20','\x22\x20here.','attemptUnlockExit','9QSfmqg','execute','(((.+)+)+)+$','constructor','4CzJrSg'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1dc))/0x1*(-parseInt(h(0x1e6))/0x2)+parseInt(h(0x1d1))/0x3+-parseInt(h(0x1e4))/0x4*(-parseInt(h(0x1d0))/0x5)+parseInt(h(0x1c9))/0x6*(-parseInt(h(0x1cf))/0x7)+-parseInt(h(0x1e9))/0x8*(-parseInt(h(0x1e0))/0x9)+parseInt(h(0x1da))/0xa*(-parseInt(h(0x1ce))/0xb)+parseInt(h(0x1cd))/0xc*(-parseInt(h(0x1d7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x39b87));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x1ee)]()['search'](j(0x1e2))[j(0x1ee)]()[j(0x1e3)](a41a)[j(0x1f0)](j(0x1e2));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1c4;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(0x1ed)]='unlock';static [a41k(0x1d5)]=a41k(0x1db);[a41k(0x1e1)](a){const l=a41k;return this[l(0x1ea)](a);}[a41k(0x1ea)](a){const m=a41k;if(a['length']===0x0)return this[m(0x1ca)][m(0x1c6)](m(0x1e7)),m(0x1e5);const b=a[0x0][m(0x1f2)](),c=this[m(0x1c5)][m(0x1cc)];if(this[m(0x1ec)](b)&&c[m(0x1d2)][m(0x1c8)](b)){const d=c[m(0x1d2)][m(0x1d3)](b);if(d instanceof Door){const e=d[m(0x1ef)]?.[m(0x1f2)]();if(e&&this['actor'][m(0x1f1)][m(0x1cb)](e)){const f=this[m(0x1c5)][m(0x1f1)][m(0x1e8)](e);if(f){const g=c[m(0x1df)](b,f['name']);return this[m(0x1ca)][m(0x1d9)](m(0x1dd)+this[m(0x1c5)][m(0x1d8)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this['logger'][m(0x1d9)](m(0x1dd)+this[m(0x1c5)]['name']+m(0x1eb)+b+'.'),m(0x1d4);}else return this[m(0x1ca)]['write'](m(0x1dd)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),m(0x1d6)+b+m(0x1de);}else return this[m(0x1ca)][m(0x1d9)](m(0x1dd)+b+m(0x1c4)+c[m(0x1d8)]+'.'),m(0x1d6)+b+m(0x1de);}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x7f))/0x1+parseInt(h(0x84))/0x2+parseInt(h(0x7a))/0x3*(parseInt(h(0x6b))/0x4)+-parseInt(h(0x91))/0x5+parseInt(h(0x79))/0x6+-parseInt(h(0x8d))/0x7*(parseInt(h(0x81))/0x8)+parseInt(h(0x74))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6b988));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x93)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x8a)](j(0x7d))[j(0x76)]()[j(0x85)](a41a)[j(0x8a)]('(((.+)+)+)+$');});a41a();function a41c(){const n=['Unlock\x20a\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x22\x20here.','inventory','search','UnlockCommand:\x20','name','808465pkbkQM','unlock','toLowerCase','.\x20Result:\x20','3140200bXvlcD','exits','apply','11168JLePOr','write','has','unlockItemOrSolution','execute','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','get','actor','currentLocation','1328967cRZhXk','verb','toString','hasItem','logger','4290162ivShWu','48rOMLyG','length','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','(((.+)+)+)+$','There\x27s\x20no\x20door\x20named\x20\x22','672788CTnCZY','error','40KBIzcu','UnlockCommand:\x20No\x20target\x20specified.','getItem','132154UagSjH','constructor'];a41c=function(){return n;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x6b;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x75)]=a41k(0x8e);static ['description']=a41k(0x86);[a41k(0x6f)](a){const l=a41k;return this[l(0x8e)](a);}['unlock'](a){const m=a41k;if(a[m(0x7b)]===0x0)return this[m(0x78)][m(0x80)](m(0x82)),m(0x70);const b=a[0x0][m(0x8f)](),c=this[m(0x72)][m(0x73)];if(this['isValidDirection'](b)&&c[m(0x92)][m(0x6d)](b)){const d=c[m(0x92)][m(0x71)](b);if(d instanceof Door){const e=d[m(0x6e)]?.['toLowerCase']();if(e&&this['actor'][m(0x89)][m(0x77)](e)){const f=this[m(0x72)][m(0x89)][m(0x83)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x8c)]);return this[m(0x78)][m(0x6c)](m(0x8b)+this[m(0x72)][m(0x8c)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x90)+g),g;}}return this['logger'][m(0x6c)](m(0x8b)+this[m(0x72)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x7c);}else return this[m(0x78)]['write'](m(0x8b)+b+m(0x87)+c[m(0x8c)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x88);}else return this['logger'][m(0x6c)](m(0x8b)+b+m(0x87)+c[m(0x8c)]+'.'),m(0x7e)+b+m(0x88);}}
@@ -1 +1 @@
1
- const a42i=a42d;function a42c(){const l=['\x20in\x20this\x20way.','toLowerCase','\x20used\x20','981nzfOtB','join','92742FSHqQu','verb','constructor','69672ZfoQTV','31634004LNxnBm','36653GPBPIg','3259729doYGav','toString','use','hasItem','logger','\x20doesn\x27t\x20have\x20a\x20use\x20method.','20PnMLTK','Use\x20an\x20item.','\x20to\x20use.','10RtAXSc','UseCommand:\x20','write','2210510YYYGHu','actor','\x20attempted\x20to\x20use\x20','You\x20don\x27t\x20have\x20the\x20','getItem','inventory','14himIZi','4wrgmmE','apply','description','(((.+)+)+)+$','search','2932971QhPiDY',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','function','name'];a42c=function(){return l;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x81))/0x1*(parseInt(f(0x8b))/0x2)+-parseInt(f(0x9a))/0x3*(-parseInt(f(0x95))/0x4)+parseInt(f(0x8e))/0x5+parseInt(f(0x7c))/0x6*(parseInt(f(0x94))/0x7)+-parseInt(f(0x7f))/0x8*(-parseInt(f(0x7a))/0x9)+-parseInt(f(0x88))/0xa*(-parseInt(f(0x82))/0xb)+-parseInt(f(0x80))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x83c52));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x83)]()[h(0x99)](h(0x98))['toString']()[h(0x7e)](a42a)[h(0x99)](h(0x98));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x77;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x7d)]=a42i(0x84);static [a42i(0x97)]=a42i(0x89);['execute'](a){const j=a42i;return this[j(0x84)](a);}[a42i(0x84)](a){const k=a42i,b=a[k(0x7b)]('\x20')[k(0x78)]();if(!this[k(0x8f)]['inventory'][k(0x85)](b))return this[k(0x86)][k(0x8d)](k(0x8c)+this[k(0x8f)]['name']+k(0x90)+b+k(0x9b)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x8a);const c=this[k(0x8f)][k(0x93)][k(0x92)](b);if(!c)return this[k(0x86)][k(0x8d)](k(0x8c)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x8f)][k(0x9d)]+'\x27s\x20inventory.'),k(0x91)+b+'\x20to\x20use.';if(typeof c['use']===k(0x9c)){const d=c[k(0x84)]();return this[k(0x86)][k(0x8d)](k(0x8c)+this[k(0x8f)]['name']+k(0x79)+b+'.'),d;}else return this['logger'][k(0x8d)](k(0x8c)+b+k(0x87)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x77);}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xdb;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xed))/0x1*(parseInt(f(0xe6))/0x2)+-parseInt(f(0xde))/0x3+parseInt(f(0xdc))/0x4*(parseInt(f(0xe0))/0x5)+parseInt(f(0xf4))/0x6*(parseInt(f(0xe2))/0x7)+parseInt(f(0xf1))/0x8+parseInt(f(0xe1))/0x9+-parseInt(f(0xe4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xf13e7));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xea)]()['search'](h(0xf7))[h(0xea)]()['constructor'](a42a)[h(0xdf)](h(0xf7));});a42a();function a42c(){const l=['\x20doesn\x27t\x20have\x20a\x20use\x20method.','apply','46612VLRMiz','UseCommand:\x20','323943vefrTy','search','435IOOcOs','9410931OCSTMA','553AkazQz','use','5974020UbjuIF','\x20to\x20use.','1244qdBvfG',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','write','function','toString','name','\x27s\x20inventory.','1222PVcSOB','Use\x20an\x20item.','inventory','getItem','2421832KmIHae','You\x20don\x27t\x20have\x20the\x20','verb','6942qwPEaI','actor','toLowerCase','(((.+)+)+)+$','logger','\x20used\x20'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xf3)]=a42i(0xe3);static ['description']=a42i(0xee);['execute'](a){const j=a42i;return this[j(0xe3)](a);}[a42i(0xe3)](a){const k=a42i,b=a['join']('\x20')[k(0xf6)]();if(!this[k(0xf5)]['inventory']['hasItem'](b))return this[k(0xf8)]['write'](k(0xdd)+this[k(0xf5)][k(0xeb)]+'\x20attempted\x20to\x20use\x20'+b+k(0xe7)),k(0xf2)+b+k(0xe5);const c=this[k(0xf5)][k(0xef)][k(0xf0)](b);if(!c)return this[k(0xf8)][k(0xe8)](k(0xdd)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0xf5)][k(0xeb)]+k(0xec)),k(0xf2)+b+'\x20to\x20use.';if(typeof c['use']===k(0xe9)){const d=c[k(0xe3)]();return this[k(0xf8)][k(0xe8)](k(0xdd)+this[k(0xf5)][k(0xeb)]+k(0xf9)+b+'.'),d;}else return this[k(0xf8)]['write'](k(0xdd)+b+k(0xfa)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x81))/0x1+-parseInt(f(0x8a))/0x2+parseInt(f(0x84))/0x3+parseInt(f(0x7d))/0x4*(-parseInt(f(0x88))/0x5)+parseInt(f(0x8b))/0x6+parseInt(f(0x89))/0x7*(parseInt(f(0x80))/0x8)+parseInt(f(0x83))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x4568a));function a43c(){const l=['toString','24WqhIhZ','187143bToXre','commandMap','1790289ChZUpN','360741bhQCHM','createCommand','getAllRegisteredCommands','search','15hiQWZf','751744Hvpqzn','403674yVkmip','1644222ndgMSp','(((.+)+)+)+$','322804dWQyGY','constructor'];a43c=function(){return l;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x7f)]()[g(0x87)](g(0x7c))[g(0x7f)]()[g(0x7e)](a43a)[g(0x87)](g(0x7c));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x7c;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static ['commandMap']={};static['registerCommand'](a,b){const h=a43d;this[h(0x82)][a]=b;}static[a43i(0x85)](a,b){const j=a43i,c=this[j(0x82)][a];if(c)return new c(b);return null;}static[a43i(0x86)](){const k=a43i;return this[k(0x82)];}}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x17c;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x185))/0x1+-parseInt(f(0x18c))/0x2+parseInt(f(0x184))/0x3+parseInt(f(0x17e))/0x4*(-parseInt(f(0x17c))/0x5)+-parseInt(f(0x180))/0x6+-parseInt(f(0x182))/0x7*(parseInt(f(0x188))/0x8)+parseInt(f(0x18d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xde0a0));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x18b)]()['search'](h(0x186))['toString']()[h(0x17f)](a43a)[h(0x187)](h(0x186));});a43a();function a43c(){const m=['1388112MKBTua','(((.+)+)+)+$','search','8cZaRQO','getAllRegisteredCommands','commandMap','toString','3612752LXiqme','28294371KYEMNF','5aBppxI','apply','1253068nTWboB','constructor','6426072bYewxp','registerCommand','6210659duQdXf','createCommand','1366299OfdNPj'];a43c=function(){return m;};return a43c();}export class CommandFactory{static [a43i(0x18a)]={};static[a43i(0x181)](a,b){const j=a43i;this[j(0x18a)][a]=b;}static[a43i(0x183)](a,b){const k=a43i,c=this[k(0x18a)][a];if(c)return new c(b);return null;}static[a43i(0x189)](){const l=a43i;return this[l(0x18a)];}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x193))/0x1+-parseInt(f(0x190))/0x2*(parseInt(f(0x188))/0x3)+parseInt(f(0x199))/0x4*(-parseInt(f(0x19c))/0x5)+-parseInt(f(0x1a1))/0x6+parseInt(f(0x18a))/0x7+-parseInt(f(0x18c))/0x8+parseInt(f(0x183))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xc7b47));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x19b)]()['search'](h(0x17d))[h(0x19b)]()[h(0x187)](a44a)[h(0x18e)](h(0x17d));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44c(){const o=['toString','10175HZFYuz','INSIDE','helmet','addItem','book','1940904nKbgDH','(((.+)+)+)+$','sword','puzzle','items','setPuzzle','boots','8610165RPvIiF','isStartRoom','description','rifle','constructor','19227jqpzOP','legarmor','3916668ucFDQj','apply','1681096yZyBQd','name','search','convertToRoomConfig','10RIbbyK','createPuzzle','gauntlets','956173QYdpDC','key','toUpperCase','rewardItem','gloves','roomType','2140oWYTXK','createItem'];a44c=function(){return o;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x17d;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0x18f)](a),c=new Room(b);if(a[i(0x180)]){const d=new Inventory();a['items']['forEach'](e=>{const j=i;d[j(0x19f)](this[j(0x19a)](e));}),c['inventory']=d;}return a[i(0x17f)]&&c[i(0x181)](this[i(0x191)](a[i(0x17f)])),c;}[a44k(0x19a)](a){const l=a44k;switch(a['type']){case l(0x194):return new Key(a[l(0x18d)],a[l(0x185)]);case l(0x1a0):return new Book(a[l(0x18d)],a[l(0x185)],a['content']);case l(0x17e):return new Sword(a[l(0x18d)],a[l(0x185)]);case l(0x186):return new Rifle(a['name'],a[l(0x185)]);case l(0x19e):return new Helmet(a[l(0x18d)],a[l(0x185)]);case'bodyarmor':return new BodyArmor(a[l(0x18d)],a['description']);case l(0x189):return new LegArmor(a['name'],a[l(0x185)]);case l(0x182):return new Boots(a[l(0x18d)],a[l(0x185)]);case l(0x197):return new Gloves(a['name'],a['description']);case l(0x192):return new Gauntlets(a['name'],a[l(0x185)]);default:return new BasicItem(a[l(0x18d)],a['description']);}}['createPuzzle'](a){const m=a44k,b=this['createItem'](a[m(0x196)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x18f)](a){const n=a44k,b=a[n(0x198)]&&RoomType[a[n(0x198)][n(0x195)]()]?RoomType[a['roomType'][n(0x195)]()]:RoomType[n(0x19d)];return{'name':a['name'],'description':a[n(0x185)],'isStartRoom':a[n(0x184)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1*(-parseInt(f(0xaa))/0x2)+parseInt(f(0x8a))/0x3+parseInt(f(0x9e))/0x4+-parseInt(f(0x95))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0x9b))/0x7*(parseInt(f(0x88))/0x8)+parseInt(f(0x97))/0x9+-parseInt(f(0xac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x53fb3));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x8f)]()[h(0x9d)]('(((.+)+)+)+$')[h(0x8f)]()[h(0x89)](a44a)[h(0x9d)](h(0x96));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x86;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['130465mIdQUf','(((.+)+)+)+$','5798853wybCtg','INSIDE','name','sword','10633VYJUIX','createItem','search','1156508QPxyPO','5BNsMLv','items','gauntlets','apply','setPuzzle','bodyarmor','key','boots','rewardItem','createRoom','puzzle','236766MCfbQc','138tQGpwK','19985590sEOiqn','toUpperCase','content','1160CGECUP','constructor','1311909ghauke','createPuzzle','inventory','roomType','description','toString','type','rifle','forEach','gloves','book'];a44c=function(){return o;};return a44c();}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0xa8)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0xa0)]){const d=new Inventory();a[j(0xa0)][j(0x92)](e=>{const k=j;d['addItem'](this[k(0x9c)](e));}),c[j(0x8c)]=d;}return a[j(0xa9)]&&c[j(0xa3)](this[j(0x8b)](a[j(0xa9)])),c;}[a44i(0x9c)](a){const l=a44i;switch(a[l(0x90)]){case l(0xa5):return new Key(a[l(0x99)],a[l(0x8e)]);case l(0x94):return new Book(a[l(0x99)],a['description'],a[l(0x87)]);case l(0x9a):return new Sword(a[l(0x99)],a[l(0x8e)]);case l(0x91):return new Rifle(a[l(0x99)],a[l(0x8e)]);case'helmet':return new Helmet(a[l(0x99)],a[l(0x8e)]);case l(0xa4):return new BodyArmor(a[l(0x99)],a[l(0x8e)]);case'legarmor':return new LegArmor(a[l(0x99)],a[l(0x8e)]);case l(0xa6):return new Boots(a[l(0x99)],a[l(0x8e)]);case l(0x93):return new Gloves(a[l(0x99)],a['description']);case l(0xa1):return new Gauntlets(a[l(0x99)],a[l(0x8e)]);default:return new BasicItem(a[l(0x99)],a['description']);}}[a44i(0x8b)](a){const m=a44i,b=this['createItem'](a[m(0xa7)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a[n(0x8d)]&&RoomType[a[n(0x8d)]['toUpperCase']()]?RoomType[a[n(0x8d)][n(0x86)]()]:RoomType[n(0x98)];return{'name':a[n(0x99)],'description':a[n(0x8e)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x17d))/0x1+-parseInt(h(0x16e))/0x2*(parseInt(h(0x15c))/0x3)+-parseInt(h(0x164))/0x4*(-parseInt(h(0x174))/0x5)+parseInt(h(0x180))/0x6+-parseInt(h(0x17a))/0x7+parseInt(h(0x159))/0x8+-parseInt(h(0x178))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xaa428));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x17c)]()['search'](j(0x160))[j(0x17c)]()[j(0x168)](a45a)['search']('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x153;let f=c[d];return f;},a45d(a,b);}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';function a45c(){const s=['scene','look','help','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','clear','298MttVqf','slice','player','getHelpMessage','unequip','rooms','15ojiGPj','apply','handleInput','getDescription','5057532yjEiHL','hasOwnProperty','534107RSnaAH','instance','toString','8972sUdQNH','registerCommand','registerCommands','1822866PegxUi','-\x20quit:\x20Exit\x20the\x20game.\x0a','name','equip','initialize','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','take','use','createCommand','getAllRegisteredCommands','3206784CtQoIe','currentLocation','toLowerCase','11565IFsIoF','getInstance','-\x20clear:\x20Clear\x20the\x20screen.\x0a','execute','(((.+)+)+)+$','Available\x20Commands:\x0a','trim','split','1595196TQPaew','determineStartRoom','quit','say','constructor'];a45c=function(){return s;};return a45c();}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x17b)];['scene'];['player'];['currentRoom'];[a45k(0x173)];constructor(a,b){const l=a45k;this['player']=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x169)][l(0x153)](),this[l(0x170)][l(0x15a)]=this['determineStartRoom'](),this[l(0x17f)]();}[a45k(0x17f)](){const m=a45k;CommandFactory['registerCommand'](m(0x16a),LookCommand),CommandFactory[m(0x17e)]('go',GoCommand),CommandFactory['registerCommand'](m(0x155),TakeCommand),CommandFactory['registerCommand'](m(0x156),UseCommand),CommandFactory[m(0x17e)](m(0x183),EquipCommand),CommandFactory[m(0x17e)](m(0x172),UnequipCommand),CommandFactory[m(0x17e)]('solve',SolveCommand),CommandFactory[m(0x17e)]('drop',DropCommand),CommandFactory[m(0x17e)]('unlock',UnlockCommand),CommandFactory[m(0x17e)]('lock',LockCommand),CommandFactory['registerCommand']('search',SearchCommand),CommandFactory[m(0x17e)](m(0x167),SayCommand);}[a45k(0x165)](){const n=a45k;return this[n(0x169)]['determineStartRoom']();}['getWelcomeMessage'](){const o=a45k;return'Welcome,\x20'+this['player'][o(0x182)];}static[a45k(0x15d)](a,b){const p=a45k;return!Game[p(0x17b)]&&(Game[p(0x17b)]=new Game(a,b)),Game[p(0x17b)];}[a45k(0x176)](a){const q=a45k,b=a[q(0x162)]()[q(0x163)]('\x20'),c=b[0x0][q(0x15b)](),d=b[q(0x16f)](0x1);if(c===q(0x166))return null;if(c==='maka')return q(0x16c);if(c===q(0x16b))return this['getHelpMessage']();if(c===q(0x16d))return'';const e={'actor':this['player'],'rooms':this[q(0x169)]['getRooms'](),'scene':this[q(0x169)]},f=CommandFactory[q(0x157)](c,e);if(f){const g=f[q(0x15f)](d);return g;}return q(0x154)+c+'\x22.';}[a45k(0x171)](){const r=a45k,a=CommandFactory[r(0x158)]();let b=r(0x161);for(const c in a){if(a[r(0x179)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x177)]()+'\x0a';}}return b+=r(0x15e),b+=r(0x181),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x7e))/0x1*(-parseInt(h(0x7f))/0x2)+parseInt(h(0xa2))/0x3*(parseInt(h(0x8b))/0x4)+-parseInt(h(0x80))/0x5+parseInt(h(0xa7))/0x6*(-parseInt(h(0x99))/0x7)+-parseInt(h(0xab))/0x8+-parseInt(h(0x8f))/0x9+parseInt(h(0x81))/0xa*(parseInt(h(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb1003));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x89)](j(0xaa))['toString']()[j(0x85)](a45a)['search']('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';function a45c(){const s=['initialize','take','6eHjtTk','89221dohkkO','unlock','(((.+)+)+)+$','25952EZUaWc','determineStartRoom','getRooms','lock','1ZBgmEl','526406KpMZVX','818895cFKpiE','1490eGuLNv','-\x20clear:\x20Clear\x20the\x20screen.\x0a','currentRoom','registerCommand','constructor','apply','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','maka','search','equip','241924JiewLQ','look','Welcome,\x20','scene','6429942JmakCd','drop','hasOwnProperty','registerCommands','execute','clear','-\x20quit:\x20Exit\x20the\x20game.\x0a','help','say','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','2020571tqaVyZ','solve','getDescription','name','quit','handleInput','player','instance','slice','21gdGDTc','getWelcomeMessage','use'];a45c=function(){return s;};return a45c();}import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x7e;let f=c[d];return f;},a45d(a,b);}export default class Game{static [a45k(0xa0)];[a45k(0x8e)];[a45k(0x9f)];[a45k(0x83)];['rooms'];constructor(a,b){const l=a45k;this[l(0x9f)]=a,this[l(0x8e)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x8e)][l(0xa5)](),this[l(0x9f)]['currentLocation']=this[l(0xac)](),this[l(0x92)]();}[a45k(0x92)](){const m=a45k;CommandFactory[m(0x84)](m(0x8c),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x84)](m(0xa6),TakeCommand),CommandFactory['registerCommand'](m(0xa4),UseCommand),CommandFactory[m(0x84)](m(0x8a),EquipCommand),CommandFactory[m(0x84)]('unequip',UnequipCommand),CommandFactory[m(0x84)](m(0x9a),SolveCommand),CommandFactory[m(0x84)](m(0x90),DropCommand),CommandFactory[m(0x84)](m(0xa9),UnlockCommand),CommandFactory[m(0x84)](m(0xae),LockCommand),CommandFactory[m(0x84)](m(0x89),SearchCommand),CommandFactory['registerCommand'](m(0x97),SayCommand);}[a45k(0xac)](){const n=a45k;return this[n(0x8e)][n(0xac)]();}[a45k(0xa3)](){const o=a45k;return o(0x8d)+this['player'][o(0x9c)];}static['getInstance'](a,b){const p=a45k;return!Game[p(0xa0)]&&(Game['instance']=new Game(a,b)),Game[p(0xa0)];}[a45k(0x9e)](a){const q=a45k,b=a['trim']()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0xa1)](0x1);if(c===q(0x9d))return null;if(c===q(0x88))return q(0x98);if(c===q(0x96))return this['getHelpMessage']();if(c===q(0x94))return'';const e={'actor':this[q(0x9f)],'rooms':this[q(0x8e)][q(0xad)](),'scene':this[q(0x8e)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x93)](d);return g;}return q(0x87)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x91)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x9b)]()+'\x0a';}}return b+=r(0x82),b+=r(0x95),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1a2))/0x1+-parseInt(f(0x19a))/0x2+-parseInt(f(0x19c))/0x3*(-parseInt(f(0x198))/0x4)+-parseInt(f(0x19e))/0x5+parseInt(f(0x19b))/0x6+parseInt(f(0x19d))/0x7*(-parseInt(f(0x1a4))/0x8)+-parseInt(f(0x1a3))/0x9*(parseInt(f(0x1a1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x25fcf));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x19f)](h(0x196))[h(0x1a0)]()[h(0x199)](a46a)[h(0x19f)](h(0x196));});a46a();export*from'./door.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x196;var f=c[d];return f;},a46d(a,b);}export*from'./inventory.js';function a46c(){var i=['1088965bYLROI','search','toString','110KpPeyL','299705XuDBlW','302247rumqQP','23752FAzazj','(((.+)+)+)+$','apply','24goNtfz','constructor','132892hkuzhP','1658352FuoEKr','125484yGtLWq','42WMbeZX'];a46c=function(){return i;};return a46c();}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x115;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x122))/0x1*(parseInt(f(0x120))/0x2)+-parseInt(f(0x117))/0x3*(parseInt(f(0x123))/0x4)+parseInt(f(0x11e))/0x5*(-parseInt(f(0x11d))/0x6)+-parseInt(f(0x124))/0x7+parseInt(f(0x118))/0x8*(-parseInt(f(0x11a))/0x9)+-parseInt(f(0x115))/0xa+parseInt(f(0x11f))/0xb*(parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x42e3a));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x116)](h(0x11b))[h(0x125)]()[h(0x121)](a46a)['search'](h(0x11b));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46c(){var i=['toString','1396910QUlRiP','search','3VKRqGH','184tingiH','84HTYMIk','40842xEfDpR','(((.+)+)+)+$','apply','13674DppWEI','115zjUrpI','1589291ODYYjV','5252IkFEQs','constructor','22JabRip','785008MoaqwI','1308181AHyzAy'];a46c=function(){return i;};return a46c();}export*from'./scene.js';
@@ -1 +1 @@
1
- var a47h=a47d;function a47c(){var n=['getOtherSide','1267erOJNf','(((.+)+)+)+$','write','toString','3778490vUBaOK','search','439347dahpFk','isLockable','Door\x20unlocked:\x20','name','.\x20Is\x20Locked:\x20','roomB','21588vyFTzm','24FjZcEr','.\x20Used:\x20','\x20and\x20','5986090xYPHoq','59408AiFhFA','77FHRAMB','12qQcQrF','attemptUnlock','getInstance','roomA','Door\x20created\x20between\x20','isLocked','To\x20','logger','1296004icrABk','2860479aeGGFc','unlockItemOrSolution'];a47c=function(){return n;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xb0))/0x1+parseInt(f(0xb2))/0x2*(-parseInt(f(0xa5))/0x3)+parseInt(f(0xba))/0x4+-parseInt(f(0xaf))/0x5+-parseInt(f(0xab))/0x6*(-parseInt(f(0x9f))/0x7)+parseInt(f(0xac))/0x8*(-parseInt(f(0xbb))/0x9)+-parseInt(f(0xa3))/0xa*(-parseInt(f(0xb1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x9ebc9));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0xa2)]()['search'](g(0xa0))[g(0xa2)]()['constructor'](a47a)[g(0xa4)](g(0xa0));});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x9d;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0xb5)];[a47h(0xaa)];[a47h(0xb7)];[a47h(0x9d)];[a47h(0xa8)];['logger'];[a47h(0xa6)];constructor(a){var i=a47h;super(),this[i(0xb5)]=a['roomA'],this[i(0xaa)]=a['roomB'],this['isLocked']=a[i(0xb7)]||![],this[i(0x9d)]=a[i(0x9d)],this[i(0xa8)]=a['name']?capitalCase(a[i(0xa8)]):i(0xb8)+a[i(0xaa)][i(0xa8)],this[i(0xb9)]=Logger[i(0xb4)](),this[i(0xa6)]=!!a['unlockItemOrSolution'],this['logger'][i(0xa1)](i(0xb6)+this[i(0xb5)]['name']+i(0xae)+this[i(0xaa)][i(0xa8)]+i(0xa9)+this[i(0xb7)]);}[a47h(0x9e)](a){var j=a47h;return this[j(0xb5)]===a?this['roomB']:this[j(0xb5)];}[a47h(0xb3)](a){var k=a47h;if(this[k(0xb7)]&&this[k(0x9d)]&&this[k(0x9d)]===a)return this['isLocked']=![],this['logger'][k(0xa1)](k(0xa7)+this[k(0xa8)]+k(0xad)+a),!![];return this[k(0xb9)][k(0xa1)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0xa8)]+k(0xad)+a),![];}['checkIfLocked'](){var l=a47h;return this[l(0xb7)];}['checkIfLockable'](){var m=a47h;return this[m(0xa6)];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x16e))/0x1+-parseInt(f(0x169))/0x2*(-parseInt(f(0x173))/0x3)+-parseInt(f(0x16a))/0x4+parseInt(f(0x178))/0x5*(parseInt(f(0x172))/0x6)+parseInt(f(0x174))/0x7*(-parseInt(f(0x166))/0x8)+parseInt(f(0x15d))/0x9*(parseInt(f(0x16c))/0xa)+parseInt(f(0x15e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xc4bd5));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x162)]()[g(0x176)](g(0x160))['toString']()[g(0x161)](a47a)[g(0x176)]('(((.+)+)+)+$');});a47a();function a47c(){var n=['96298FDInOd','4671564IrJejz','write','40rDYbkG','logger','98404pHuuht','checkIfLocked','\x20and\x20','roomA','49314QjjrRC','54xxBrJr','28xxtQsH','isLockable','search','Failed\x20to\x20unlock\x20door:\x20','195VbZzGc','Door\x20created\x20between\x20','unlockItemOrSolution','roomB','name','1514610RbFuYg','4055227owPKgW','.\x20Used:\x20','(((.+)+)+)+$','constructor','toString','checkIfLockable','isLocked','attemptUnlock','707416GkMzkV','Door\x20unlocked:\x20','.\x20Is\x20Locked:\x20'];a47c=function(){return n;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x159;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47h(0x15b)];[a47h(0x164)];[a47h(0x15a)];['name'];[a47h(0x16d)];[a47h(0x175)];constructor(a){var i=a47h;super(),this[i(0x171)]=a[i(0x171)],this[i(0x15b)]=a['roomB'],this[i(0x164)]=a[i(0x164)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[i(0x15c)]=a['name']?capitalCase(a[i(0x15c)]):'To\x20'+a['roomB'][i(0x15c)],this[i(0x16d)]=Logger['getInstance'](),this[i(0x175)]=!!a[i(0x15a)],this[i(0x16d)]['write'](i(0x159)+this['roomA'][i(0x15c)]+i(0x170)+this[i(0x15b)][i(0x15c)]+i(0x168)+this[i(0x164)]);}['getOtherSide'](a){var j=a47h;return this[j(0x171)]===a?this[j(0x15b)]:this[j(0x171)];}[a47h(0x165)](a){var k=a47h;if(this[k(0x164)]&&this['unlockItemOrSolution']&&this[k(0x15a)]===a)return this[k(0x164)]=![],this[k(0x16d)][k(0x16b)](k(0x167)+this[k(0x15c)]+k(0x15f)+a),!![];return this[k(0x16d)][k(0x16b)](k(0x177)+this['name']+k(0x15f)+a),![];}[a47h(0x16f)](){var l=a47h;return this[l(0x164)];}[a47h(0x163)](){var m=a47h;return this[m(0x175)];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xa6))/0x1+-parseInt(f(0xbf))/0x2+-parseInt(f(0xa7))/0x3*(parseInt(f(0xbe))/0x4)+-parseInt(f(0xc3))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0xc0))/0x7*(parseInt(f(0xb6))/0x8)+-parseInt(f(0xa1))/0x9+parseInt(f(0xc6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xab1ba));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0xb9)]()[g(0xb4)](g(0x9e))['toString']()[g(0xb0)](a48a)['search']('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x9b;let f=c[d];return f;},a48d(a,b);}function a48c(){const q=['2261097HPTrUs','getItem','toLowerCase','get','name','331575xnKSqo','4587SsOXnH','removeItem','.\x20Item\x20not\x20found.','Removed\x20item:\x20','156ooNkgQ','getAllItems','write','join','getInstance','constructor','Listed\x20items\x20in\x20inventory:\x20','weight','.\x20Exists:\x20','search','set','7105304HkPotf','map','values','toString','keys','Failed\x20to\x20remove\x20item:\x20','Checked\x20for\x20item:\x20','items','1108bZAYjn','2076646AwMXhr','7WEDyGf','Retrieved\x20details\x20for\x20item:\x20','\x20from\x20inventory.','171230JxKUpu','\x20in\x20','has','27432890DExelH','getWeight','logger','hasItem','delete','(((.+)+)+)+$','\x20to\x20inventory.','addItem'];a48c=function(){return q;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0xbd)];['logger'];constructor(){const i=a48h;super(),this[i(0xbd)]=new Map(),this[i(0x9b)]=Logger[i(0xaf)]();}[a48h(0xa0)](a){const j=a48h;this['items'][j(0xb5)](a['name'][j(0xa3)](),a),this['logger']['write']('Added\x20item:\x20'+a[j(0xa5)]+j(0x9f));}[a48h(0xa8)](a){const k=a48h,b=this[k(0xa2)](a);if(b)return this[k(0xbd)][k(0x9d)](a[k(0xa3)]()),this[k(0x9b)][k(0xad)](k(0xaa)+a+k(0xc2)),b;return this[k(0x9b)][k(0xad)](k(0xbb)+a+k(0xa9)),null;}[a48h(0x9c)](a){const l=a48h,b=this[l(0xbd)][l(0xc5)](a['toLowerCase']()),c=[...this['items']['keys']()];return this[l(0x9b)][l(0xad)](l(0xbc)+a+l(0xc4)+c[l(0xae)](',\x20')+l(0xb3)+b+'.'),b;}[a48h(0xa2)](a){const m=a48h,b=this[m(0xbd)][m(0xa4)](a[m(0xa3)]())||null;return b?this[m(0x9b)][m(0xad)](m(0xc1)+a+'.'):this[m(0x9b)][m(0xad)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0xa9)),b;}['listItems'](){const n=a48h,a=[...this[n(0xbd)][n(0xba)]()],b=a[n(0xb7)](c=>capitalCase(c));return this[n(0x9b)][n(0xad)](n(0xb1)+b[n(0xae)](',\x20')+'.'),a;}[a48h(0xc7)](){const o=a48h;let a=0x0;for(const b of this[o(0xbd)][o(0xb8)]()){a+=b[o(0xb2)];}return a;}[a48h(0xac)](){const p=a48h;return[...this[p(0xbd)]['values']()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x17e))/0x1*(parseInt(f(0x1a0))/0x2)+parseInt(f(0x181))/0x3+parseInt(f(0x19e))/0x4*(parseInt(f(0x189))/0x5)+parseInt(f(0x18b))/0x6*(-parseInt(f(0x1a3))/0x7)+parseInt(f(0x1a7))/0x8+-parseInt(f(0x197))/0x9*(-parseInt(f(0x17f))/0xa)+parseInt(f(0x192))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x43da2));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x17b;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x193)]()['search']('(((.+)+)+)+$')[h(0x193)]()[h(0x183)](a48a)[h(0x1a5)]('(((.+)+)+)+$');});function a48c(){const r=['keys','values','1049532BtTOjk','toString','Checked\x20for\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','2236617rstEov','map','name','addItem','set','toLowerCase','getItem','36172DpLyjV','removeItem','8158AHKKxV','\x20in\x20','getAllItems','40481DGsBKY','has','search','apply','1354352MwpALD','logger','Removed\x20item:\x20','delete','83MuUvzF','20KTVHPb','listItems','349965GxAVwV','Added\x20item:\x20','constructor','write','items','Retrieved\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','.\x20Exists:\x20','95qfJVgS','getWeight','450oQhgFV','\x20to\x20inventory.','join','hasItem','Failed\x20to\x20remove\x20item:\x20'];a48c=function(){return r;};return a48c();}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x185)];[a48i(0x17b)];constructor(){const j=a48i;super(),this[j(0x185)]=new Map(),this[j(0x17b)]=Logger['getInstance']();}[a48i(0x19a)](a){const k=a48i;this[k(0x185)][k(0x19b)](a[k(0x199)][k(0x19c)](),a),this['logger'][k(0x184)](k(0x182)+a[k(0x199)]+k(0x18c));}[a48i(0x19f)](a){const l=a48i,b=this[l(0x19d)](a);if(b)return this[l(0x185)][l(0x17d)](a['toLowerCase']()),this[l(0x17b)][l(0x184)](l(0x17c)+a+'\x20from\x20inventory.'),b;return this['logger'][l(0x184)](l(0x18f)+a+l(0x187)),null;}[a48i(0x18e)](a){const m=a48i,b=this[m(0x185)][m(0x1a4)](a[m(0x19c)]()),c=[...this[m(0x185)][m(0x190)]()];return this[m(0x17b)]['write'](m(0x194)+a+m(0x1a1)+c[m(0x18d)](',\x20')+m(0x188)+b+'.'),b;}['getItem'](a){const n=a48i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0x17b)]['write'](n(0x186)+a+'.'):this[n(0x17b)]['write'](n(0x195)+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x180)](){const o=a48i,a=[...this['items'][o(0x190)]()],b=a[o(0x198)](c=>capitalCase(c));return this[o(0x17b)][o(0x184)](o(0x196)+b[o(0x18d)](',\x20')+'.'),a;}[a48i(0x18a)](){const p=a48i;let a=0x0;for(const b of this[p(0x185)][p(0x191)]()){a+=b['weight'];}return a;}[a48i(0x1a2)](){const q=a48i;return[...this[q(0x185)]['values']()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x7e))/0x1+-parseInt(f(0x85))/0x2*(parseInt(f(0x8b))/0x3)+parseInt(f(0x83))/0x4+-parseInt(f(0x8f))/0x5*(parseInt(f(0x8c))/0x6)+parseInt(f(0x7b))/0x7+parseInt(f(0x82))/0x8+-parseInt(f(0x7c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x80e76));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x7a)]()[h(0x89)](h(0x84))[h(0x7a)]()[h(0x77)](a49a)[h(0x89)](h(0x84));});function a49c(){var l=['use','385755GRYEgK','weight','constructor','description','uuid','toString','5954571xeNlYP','12041424pELFtZ','texture','235004WvMgcm','.\x20Nothing\x20special\x20happens.','category','shape','8293624NxPQYG','1809344xdZkWe','(((.+)+)+)+$','2LKeLgQ','rating','size','name','search','color','1200498eqtUZJ','24ZVVkFJ','apply'];a49c=function(){return l;};return a49c();}a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x76;var f=c[d];return f;},a49d(a,b);}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x79)];[a49i(0x88)];[a49i(0x78)];[a49i(0x87)];['category'];[a49i(0x81)];[a49i(0x8a)];['texture'];[a49i(0x86)];[a49i(0x76)];constructor(a){var j=a49i;super(),this[j(0x88)]=a[j(0x88)],this['description']=a[j(0x78)],this[j(0x87)]=a[j(0x87)],this['category']=a[j(0x80)],this['shape']=a[j(0x81)],this['color']=a[j(0x8a)],this[j(0x7d)]=a['texture'],this[j(0x86)]=a['rating'],this[j(0x76)]=a[j(0x76)],this[j(0x79)]=a49e();}[a49i(0x8e)](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x88)]+k(0x7f);}}
1
+ var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xbc;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xbe))/0x1+parseInt(f(0xca))/0x2*(-parseInt(f(0xbc))/0x3)+parseInt(f(0xd2))/0x4*(parseInt(f(0xc9))/0x5)+-parseInt(f(0xc1))/0x6+parseInt(f(0xcf))/0x7+parseInt(f(0xcb))/0x8*(-parseInt(f(0xbf))/0x9)+parseInt(f(0xc0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd42ca));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xbd)]()[h(0xc3)](h(0xc4))[h(0xbd)]()[h(0xcd)](a49a)[h(0xc3)](h(0xc4));});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['8091744tHVgsQ','shape','search','(((.+)+)+)+$','texture','category','uuid','description','5049635NBBYbV','2071126PgsBRq','5004568pZmTRg','apply','constructor','You\x20use\x20the\x20','3935729raqeWS','name','use','4rQpBTs','rating','color','size','.\x20Nothing\x20special\x20happens.','3NxhTGr','toString','970768fLAwps','9OnajAX','13358820UPIinf'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0xc7)];['name'];[a49i(0xc8)];[a49i(0xd5)];[a49i(0xc6)];['shape'];[a49i(0xd4)];['texture'];[a49i(0xd3)];['weight'];constructor(a){var j=a49i;super(),this[j(0xd0)]=a['name'],this[j(0xc8)]=a[j(0xc8)],this[j(0xd5)]=a['size'],this['category']=a[j(0xc6)],this[j(0xc2)]=a[j(0xc2)],this[j(0xd4)]=a[j(0xd4)],this[j(0xc5)]=a[j(0xc5)],this['rating']=a[j(0xd3)],this['weight']=a['weight'],this[j(0xc7)]=a49e();}[a49i(0xd1)](){var k=a49i;return k(0xce)+this[k(0xd0)]+k(0xd6);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x110))/0x1+parseInt(f(0x121))/0x2*(-parseInt(f(0x111))/0x3)+parseInt(f(0x123))/0x4+parseInt(f(0x114))/0x5*(-parseInt(f(0x11c))/0x6)+parseInt(f(0x11d))/0x7*(parseInt(f(0x116))/0x8)+parseInt(f(0x11f))/0x9*(-parseInt(f(0x11b))/0xa)+parseInt(f(0x10d))/0xb*(parseInt(f(0x109))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x3ee97));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x113)]()[h(0x112)](h(0x10e))['toString']()[h(0x115)](a50a)['search'](h(0x10e));});a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x109;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x120)];[a50i(0x10c)];[a50i(0x122)];[a50i(0x10a)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x10c)]=b,this[j(0x122)]=c;}get[a50i(0x117)](){const k=a50i;return this[k(0x120)];}[a50i(0x10f)](){const l=a50i;return this[l(0x10c)][Math['floor'](Math[l(0x10b)]()*this[l(0x10c)][l(0x119)])];}[a50i(0x118)](a){const m=a50i,b=a[Math[m(0x11e)](Math[m(0x10b)]()*a['length'])];this['moveTo'](b[m(0x117)]);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this[n(0x122)],'scene':this[n(0x10a)]},c=new GoCommand(b);c['execute']([a]);}}function a50c(){const o=['rooms','438736OTHKNC','12QiqMiG','scene','random','_dialogue','155309wLuBwg','(((.+)+)+)+$','speak','21867vQeWcl','282gwFBRE','search','toString','38355epYGgH','constructor','8JrVepZ','name','autonomousMove','length','apply','10JOfMuy','162mluIlf','2763313dYfENV','floor','128187OwOsGU','_name','1306pNrMzr'];a50c=function(){return o;};return a50c();}
1
+ function a50c(){const o=['search','(((.+)+)+)+$','2040988leiKyz','_dialogue','5231160JAlgfn','464625cEfmMh','constructor','speak','938110AnfJDD','_name','60uBunXe','248322xGimZE','8257005fgVMvA','175KpMAaD','toString','1ysPfap','scene','autonomousMove','rooms','random','floor','execute','8730120ggYcxr','name','length','apply'];a50c=function(){return o;};return a50c();}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x153))/0x1*(parseInt(f(0x14c))/0x2)+-parseInt(f(0x149))/0x3+-parseInt(f(0x146))/0x4+-parseInt(f(0x15a))/0x5+parseInt(f(0x14f))/0x6*(-parseInt(f(0x151))/0x7)+-parseInt(f(0x148))/0x8+-parseInt(f(0x150))/0x9*(-parseInt(f(0x14e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe47db));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x152)]()['search']('(((.+)+)+)+$')['toString']()[h(0x14a)](a50a)[h(0x144)](h(0x145));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x143;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x14d)];[a50i(0x147)];[a50i(0x156)];[a50i(0x154)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x14d)]=a,this[j(0x147)]=b,this[j(0x156)]=c;}get[a50i(0x15b)](){const k=a50i;return this[k(0x14d)];}[a50i(0x14b)](){const l=a50i;return this[l(0x147)][Math[l(0x158)](Math[l(0x157)]()*this[l(0x147)][l(0x15c)])];}[a50i(0x155)](a){const m=a50i,b=a[Math['floor'](Math['random']()*a[m(0x15c)])];this['moveTo'](b[m(0x15b)]);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this[n(0x156)],'scene':this[n(0x154)]},c=new GoCommand(b);c[n(0x159)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x212))/0x1*(-parseInt(f(0x20c))/0x2)+parseInt(f(0x1f7))/0x3*(parseInt(f(0x201))/0x4)+parseInt(f(0x243))/0x5+parseInt(f(0x1f2))/0x6+-parseInt(f(0x1fc))/0x7+parseInt(f(0x246))/0x8+-parseInt(f(0x221))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xe2246));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x222)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x20d)]()[h(0x1ff)](h(0x216))['toString']()['constructor'](a51a)[h(0x1ff)](h(0x216));});function a51c(){const C=['8318505fUeXCO','removeItem','rightHand','3301888zAiwcM','startLocation','Boots','body\x20armor','unequipBySlot','Weapon','_inventory','5664642tUxAxj','addItem','inventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','leaveRoom','198774DnHqrw','Helmet','Max\x20carrying\x20weight\x20must\x20be\x20positive.','helmet','inventoryItems','830298fgyMKz','Removed\x20','Gloves','search','maxCarryingWeight','88RoVbNV','getInstance','Shield','initialEquipment','armarmor','leg\x20armor','Hat','leftHand','You\x20don\x27t\x20have\x20','_playerName','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','4402vNyReF','toString','boots','ArmArmor','determineEquipmentSlot','playerName','596UQaBgU','hat','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','log','(((.+)+)+)+$','Failed\x20to\x20remove\x20','legs','arm\x20armor','weight','currentWeight','write','toLowerCase','\x20from\x20player\x27s\x20inventory.','\x20in\x20your\x20inventory.','hasItem','19093788OmQEIn','apply','_currentLocation','logger','_equipment','addInventory','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','canEquip','hear','currentLocation','BodyArmor','Added\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','bind','LegArmor','head','You\x20unequipped\x20','arms','unequip','legarmor','_maxCarryingWeight','values','enterRoom','equipment','removeInventory','gloves','getWeight','speak','bodyarmor','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20can\x27t\x20equip\x20','name','\x20says:\x20\x22','category'];a51c=function(){return C;};return a51c();}a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a51d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x20a)];[a51i(0x223)];[a51i(0x1f1)];[a51i(0x225)];[a51i(0x235)]=0x32;[a51i(0x224)];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0x211)],this[j(0x223)]=a[j(0x247)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x1f1)]=new Inventory(),this['logger']=Logger[j(0x202)]();if(a?.[j(0x1fb)])for(const b of a[j(0x1fb)]){this[j(0x1f1)][j(0x1f3)](b);}this[j(0x225)]=a?.[j(0x204)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x240)](){const k=a51i;return this[k(0x20a)];}get[a51i(0x22a)](){const l=a51i;return this[l(0x223)];}set['currentLocation'](a){const m=a51i;this[m(0x223)]!==a&&(this[m(0x1f6)](),this['enterRoom'](a)),this[m(0x223)]=a;}get[a51i(0x1f4)](){return this['_inventory'];}get[a51i(0x238)](){const n=a51i;return this[n(0x225)];}set['equipment'](a){const o=a51i;this[o(0x225)]=a;}get['maxCarryingWeight'](){const p=a51i;return this[p(0x235)];}set['maxCarryingWeight'](a){const q=a51i;a>0x0?this['_maxCarryingWeight']=a:console['error'](q(0x1f9));}get[a51i(0x21b)](){const r=a51i;let a=this[r(0x1f1)][r(0x23b)]();for(const b in this['_equipment']){const c=this[r(0x225)][b];c&&(a+=c[r(0x21a)]);}return a;}[a51i(0x226)](a){const s=a51i;if(this[s(0x21b)]+a[s(0x21a)]>this[s(0x200)]){this[s(0x224)][s(0x21c)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x227));}this['_inventory'][s(0x1f3)](a),this[s(0x224)][s(0x21c)](s(0x22c)+a[s(0x240)]+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x239)](a){const t=a51i;if(this[t(0x1f1)][t(0x244)](a[t(0x240)]))return this[t(0x224)][t(0x21c)](t(0x1fd)+a[t(0x240)]+t(0x21e)),!![];return this[t(0x224)][t(0x21c)](t(0x217)+a[t(0x240)]+t(0x21e)),![];}['equip'](a){const u=a51i;if(!this[u(0x1f1)][u(0x220)](a['name']))return u(0x209)+a[u(0x240)]+u(0x21f);if(!this[u(0x228)](a))return u(0x23f)+a[u(0x240)]+'.';const b=this[u(0x210)](a[u(0x242)]);if(!b)return a[u(0x240)]+u(0x22d);if(this[u(0x238)][b])return u(0x20b)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x238)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a['name']+'.';}[a51i(0x233)](a){const v=a51i;let b=a;if(!this[v(0x238)][camelCase(b)]){b=this[v(0x210)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x24a)](b);}[a51i(0x210)](a){const w=a51i;switch(a[w(0x21d)]()){case Category[w(0x24b)][w(0x21d)]():return w(0x245);case Category[w(0x203)][w(0x21d)]():return w(0x208);case Category[w(0x1fe)]['toLowerCase']():return w(0x23a);case Category[w(0x1f8)][w(0x21d)]():case Category[w(0x207)][w(0x21d)]():return w(0x230);case Category[w(0x248)][w(0x21d)]():return'feet';case Category[w(0x22f)]['toLowerCase']():return w(0x218);case Category[w(0x20f)][w(0x21d)]():return'arms';case Category[w(0x22b)]['toLowerCase']():return'torso';case'weapon':return w(0x245);case'shield':return w(0x208);case w(0x23a):return'gloves';case w(0x1fa):case w(0x213):return w(0x230);case w(0x20e):return'feet';case w(0x206):case w(0x234):return w(0x218);case w(0x219):case w(0x205):return w(0x232);case w(0x249):case w(0x23d):case'torso':return'torso';default:return null;}}[a51i(0x228)](a){const x=a51i;return Object[x(0x236)](Category)['includes'](a[x(0x242)]);}['unequipBySlot'](a){const y=a51i,b=this[y(0x238)][a];if(!b)return y(0x214)+a+'\x20slot.';return this[y(0x226)](b),this[y(0x238)][a]=null,y(0x231)+b[y(0x240)]+'.';}['hear'](a,b){const z=a51i;a!==this&&this['logger'][z(0x215)](a[z(0x240)]+z(0x241)+b+'\x22');}[a51i(0x237)](a){const A=a51i;this[A(0x223)]=a,a['on'](A(0x23c),this[A(0x229)]['bind'](this)),this[A(0x224)][A(0x21c)](this[A(0x240)]+A(0x23e)+a[A(0x240)]);}[a51i(0x1f6)](){const B=a51i;this['_currentLocation']&&(this[B(0x223)]['off'](B(0x23c),this[B(0x229)][B(0x22e)](this)),this[B(0x224)][B(0x21c)](this[B(0x240)]+B(0x1f5)+this[B(0x223)][B(0x240)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1+parseInt(f(0x1f1))/0x2+-parseInt(f(0x1d4))/0x3*(-parseInt(f(0x222))/0x4)+-parseInt(f(0x1f8))/0x5*(parseInt(f(0x223))/0x6)+-parseInt(f(0x216))/0x7+-parseInt(f(0x1d9))/0x8*(parseInt(f(0x1eb))/0x9)+-parseInt(f(0x1de))/0xa*(-parseInt(f(0x215))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x3f70e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x204)]()[h(0x229)](h(0x22d))['toString']()[h(0x21b)](a51a)[h(0x229)](h(0x22d));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a51d(a,b);}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x220)];[a51i(0x228)];['_inventory'];[a51i(0x20c)];[a51i(0x1e9)]=0x32;['logger'];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0x1f0)],this[j(0x228)]=a[j(0x224)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x225)]=new Inventory(),this[j(0x1db)]=Logger[j(0x1ee)]();if(a?.[j(0x208)])for(const b of a[j(0x208)]){this[j(0x225)][j(0x211)](b);}this[j(0x20c)]=a?.[j(0x218)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1f5)](){return this['_playerName'];}get[a51i(0x219)](){const k=a51i;return this[k(0x228)];}set[a51i(0x219)](a){const l=a51i;this[l(0x228)]!==a&&(this[l(0x1e5)](),this[l(0x207)](a)),this[l(0x228)]=a;}get['inventory'](){const m=a51i;return this[m(0x225)];}get[a51i(0x1e8)](){const n=a51i;return this[n(0x20c)];}set['equipment'](a){this['_equipment']=a;}get[a51i(0x1fa)](){const o=a51i;return this[o(0x1e9)];}set[a51i(0x1fa)](a){const p=a51i;a>0x0?this[p(0x1e9)]=a:console[p(0x1ed)](p(0x1f3));}get[a51i(0x1e1)](){const q=a51i;let a=this['_inventory'][q(0x209)]();for(const b in this[q(0x20c)]){const c=this[q(0x20c)][b];c&&(a+=c[q(0x1d6)]);}return a;}[a51i(0x22e)](a){const r=a51i;if(this[r(0x1e1)]+a[r(0x1d6)]>this[r(0x1fa)]){this[r(0x1db)][r(0x1e0)](r(0x21e));throw new Error(r(0x1fb));}this[r(0x225)][r(0x211)](a),this[r(0x1db)][r(0x1e0)](r(0x1ef)+a[r(0x1f5)]+r(0x21a));}['removeInventory'](a){const s=a51i;if(this[s(0x225)][s(0x1da)](a[s(0x1f5)]))return this[s(0x1db)][s(0x1e0)]('Removed\x20'+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger'][s(0x1e0)](s(0x1ff)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x200)](a){const t=a51i;if(!this[t(0x225)]['hasItem'](a[t(0x1f5)]))return t(0x22c)+a['name']+t(0x1ea);if(!this[t(0x1d8)](a))return t(0x1fd)+a[t(0x1f5)]+'.';const b=this[t(0x212)](a[t(0x227)]);if(!b)return a[t(0x1f5)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x1e8)][b])return t(0x1f2)+b+t(0x1d3);return this[t(0x1e8)][b]=a,this['removeInventory'](a),t(0x206)+a[t(0x1f5)]+'.';}[a51i(0x22b)](a){const u=a51i;let b=a;if(!this['equipment'][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x221)+a+'.';}return this[u(0x214)](b);}[a51i(0x212)](a){const v=a51i;switch(a[v(0x20f)]()){case Category['Weapon']['toLowerCase']():return v(0x210);case Category[v(0x20d)][v(0x20f)]():return v(0x20a);case Category[v(0x1df)]['toLowerCase']():return v(0x1e6);case Category[v(0x20e)]['toLowerCase']():case Category[v(0x1f9)][v(0x20f)]():return v(0x205);case Category[v(0x1f6)][v(0x20f)]():return v(0x1d7);case Category['LegArmor'][v(0x20f)]():return v(0x213);case Category['ArmArmor'][v(0x20f)]():return v(0x201);case Category[v(0x1e7)]['toLowerCase']():return'torso';case v(0x21f):return'rightHand';case'shield':return v(0x20a);case v(0x1e6):return v(0x1e6);case'helmet':case v(0x202):return v(0x205);case v(0x22a):return v(0x1d7);case v(0x20b):case v(0x21c):return v(0x213);case v(0x1fe):case v(0x1e2):return v(0x201);case v(0x1f7):case v(0x226):case v(0x217):return v(0x217);default:return null;}}[a51i(0x1d8)](a){const w=a51i;return Object[w(0x1fc)](Category)[w(0x1ec)](a[w(0x227)]);}[a51i(0x214)](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0x1e4)+a+'\x20slot.';return this[x(0x22e)](b),this[x(0x1e8)][a]=null,x(0x21d)+b['name']+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x1db)][y(0x1dd)](a[y(0x1f5)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x207)](a){const z=a51i;this[z(0x228)]=a,a['on']('speak',this[z(0x1d5)][z(0x203)](this)),this[z(0x1db)][z(0x1e0)](this[z(0x1f5)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x1f5)]);}[a51i(0x1e5)](){const A=a51i;this[A(0x228)]&&(this[A(0x228)]['off']('speak',this[A(0x1d5)][A(0x203)](this)),this['logger'][A(0x1e0)](this['name']+A(0x1f4)+this[A(0x228)]['name']));}}function a51c(){const B=['.\x20You\x20must\x20unequip\x20it\x20first.','37629wNsAje','hear','weight','feet','canEquip','210104SjMEKh','removeItem','logger','apply','log','2614510ChxoOt','Gloves','write','currentWeight','armarmor','17305BCTXLe','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','leaveRoom','gloves','BodyArmor','equipment','_maxCarryingWeight','\x20in\x20your\x20inventory.','9BxBele','includes','error','getInstance','Added\x20','playerName','936438HDoJug','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20is\x20no\x20longer\x20listeng\x20in\x20','name','Boots','body\x20armor','3260YbCtDu','Hat','maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','values','You\x20can\x27t\x20equip\x20','arm\x20armor','Failed\x20to\x20remove\x20','equip','arms','hat','bind','toString','head','You\x20equipped\x20','enterRoom','inventoryItems','getWeight','leftHand','leg\x20armor','_equipment','Shield','Helmet','toLowerCase','rightHand','addItem','determineEquipmentSlot','legs','unequipBySlot','11GIiRDZ','1445857grDxZS','torso','initialEquipment','currentLocation','\x20to\x20player\x27s\x20inventory.','constructor','legarmor','You\x20unequipped\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','weapon','_playerName','Invalid\x20category\x20or\x20slot:\x20','68dxPafT','3984sWFDKe','startLocation','_inventory','bodyarmor','category','_currentLocation','search','boots','unequip','You\x20don\x27t\x20have\x20','(((.+)+)+)+$','addInventory'];a51c=function(){return B;};return a51c();}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x149))/0x1+-parseInt(f(0x159))/0x2*(-parseInt(f(0x164))/0x3)+-parseInt(f(0x158))/0x4*(parseInt(f(0x152))/0x5)+-parseInt(f(0x150))/0x6+parseInt(f(0x163))/0x7*(-parseInt(f(0x15c))/0x8)+parseInt(f(0x162))/0x9+parseInt(f(0x15b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbaec5));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x15e)](h(0x14b))[h(0x161)]()[h(0x15d)](a52a)['search'](h(0x14b));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x145;var f=c[d];return f;},a52d(a,b);}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x15a)]=Logger['getInstance']();['solved']=![];[a52i(0x14e)];[a52i(0x14c)];[a52i(0x160)];[a52i(0x151)];['successMessage'];[a52i(0x146)];constructor(a){var j=a52i;super(),this[j(0x14e)]=a['requiredItem'],this['requiredPhrase']=a[j(0x14c)],this[j(0x160)]=a[j(0x160)],this[j(0x151)]=a[j(0x151)],this[j(0x155)]=a[j(0x155)]||j(0x14a),this['failureMessage']=a['failureMessage']||j(0x14d);}['hasRequiredItem'](a){var k=a52i;if(this[k(0x14e)])return a[k(0x157)](this['requiredItem']);return![];}[a52i(0x15f)](a){return this['requiredPhrase']===a;}[a52i(0x145)](a,b){var l=a52i;if(this[l(0x153)])return this[l(0x15a)][l(0x14f)](l(0x156)),{'success':![],'message':l(0x154)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[l(0x153)]=!![],this[l(0x15a)]['write'](l(0x148)),{'success':!![],'message':this['successMessage']}):(this[l(0x15a)][l(0x14f)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x146)]});}}function a52c(){var m=['180354FfgWGR','logger','7422620hrNDEg','8smvMTz','constructor','search','matchesRequiredPhrase','riddle','toString','7274601QtMWTo','8169812unqTmT','45FgUyCj','solve','failureMessage','apply','Puzzle:\x20Correct\x20solution\x20provided.','579626ojAYvX','You\x20solved\x20the\x20puzzle!','(((.+)+)+)+$','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredItem','write','4712724qnpiHU','rewardItem','3823125zzXoDk','solved','You\x20have\x20already\x20solved\x20this\x20puzzle.','successMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','hasItem','4gJpsdn'];a52c=function(){return m;};return a52c();}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x15f;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x176))/0x1*(-parseInt(f(0x162))/0x2)+-parseInt(f(0x170))/0x3+-parseInt(f(0x166))/0x4+parseInt(f(0x175))/0x5+-parseInt(f(0x169))/0x6+-parseInt(f(0x16f))/0x7+-parseInt(f(0x172))/0x8*(-parseInt(f(0x16e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa876a));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x16a)]()[h(0x165)](h(0x177))['toString']()['constructor'](a52a)[h(0x165)](h(0x177));});function a52c(){var n=['52628qOwREh','(((.+)+)+)+$','You\x20have\x20already\x20solved\x20this\x20puzzle.','apply','requiredItem','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','write','hasRequiredItem','solve','solved','requiredPhrase','riddle','10hcvyGK','successMessage','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','search','3978156stjyPg','hasItem','logger','3174858FGZvyb','toString','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','getInstance','3338109qTTLHR','9367449Aavdac','557799Dmpblk','rewardItem','56qbayOX','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.','4392005aMRsPY'];a52c=function(){return n;};return a52c();}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x168)]=Logger[a52i(0x16d)]();[a52i(0x15f)]=![];[a52i(0x17a)];[a52i(0x160)];[a52i(0x161)];[a52i(0x171)];[a52i(0x163)];[a52i(0x173)];constructor(a){var j=a52i;super(),this[j(0x17a)]=a[j(0x17a)],this['requiredPhrase']=a[j(0x160)],this[j(0x161)]=a[j(0x161)],this[j(0x171)]=a[j(0x171)],this[j(0x163)]=a[j(0x163)]||j(0x17b),this[j(0x173)]=a[j(0x173)]||j(0x164);}[a52i(0x17e)](a){var k=a52i;if(this['requiredItem'])return a[k(0x167)](this['requiredItem']);return![];}[a52i(0x16c)](a){var l=a52i;return this[l(0x160)]===a;}[a52i(0x17f)](a,b){var m=a52i;if(this[m(0x15f)])return this[m(0x168)][m(0x17d)](m(0x17c)),{'success':![],'message':m(0x178)};return this[m(0x17e)](b)||this[m(0x16c)](a)?(this['solved']=!![],this[m(0x168)][m(0x17d)](m(0x174)),{'success':!![],'message':this[m(0x163)]}):(this[m(0x168)][m(0x17d)](m(0x16b)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x179))/0x1*(parseInt(f(0x186))/0x2)+parseInt(f(0x161))/0x3+-parseInt(f(0x189))/0x4+parseInt(f(0x184))/0x5+parseInt(f(0x165))/0x6*(parseInt(f(0x18d))/0x7)+parseInt(f(0x174))/0x8*(-parseInt(f(0x17e))/0x9)+parseInt(f(0x16a))/0xa*(-parseInt(f(0x18f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa0c9c));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x157;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x162)]()[h(0x157)](h(0x187))[h(0x162)]()['constructor'](a53a)[h(0x157)]('(((.+)+)+)+$');});a53a();function a53c(){const t=['down','8953RFspuo','isStartRoom','33rlgOTk','roomType','search','Checking\x20if\x20exit\x20in\x20direction\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','values','EAST','description','Invalid\x20direction:\x20','removeItem','WEST','east','2434734CRHJIY','toString','logger','getOppositeDirection','4212HxVhkz','checkIfLocked','\x20remains\x20locked.','\x20unlocked!','addItem','5867950gZloZI','puzzle','getInstance','get','Item\x20removed\x20from\x20room\x20','isExitLocked','addExit','inventory','name','The\x20','6705616PPnczM','attemptUnlock','write','roomB','north','625XIuXFc','set','west','riddle','south','9dMjdDi','DOWN','apply','roomA','exits','\x20is\x20locked.\x20Result:\x20','3356455uYpIfX','hasItem','2954SLasPn','(((.+)+)+)+$','.\x20Success:\x20','186708IJWFfW','INSIDE','findExistingDoor'];a53c=function(){return t;};return a53c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x163)]=Logger[a53i(0x16c)]();[a53i(0x172)];['description'];[a53i(0x182)]=new Map();['roomType'];[a53i(0x18e)];['inventory']=new Inventory();constructor(a){const j=a53i;super(),this['name']=a[j(0x172)],this[j(0x15c)]=a[j(0x15c)],this[j(0x190)]=a[j(0x190)]||RoomType[j(0x18a)],a['exits']&&(this[j(0x182)]=a['exits']||new Map()),a[j(0x171)]&&(this['inventory']=a[j(0x171)]),a['puzzle']&&(this[j(0x16b)]=a[j(0x16b)]),this[j(0x18e)]=a[j(0x18e)]||![],this[j(0x163)][j(0x176)]('Room\x20created:\x20'+this[j(0x172)]);}['say'](a,b){this['emit']('speak',a,b);}[a53i(0x170)](a,b,c){const k=a53i;let d=this[k(0x18b)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x182)][k(0x17a)](a,d),b[k(0x182)][k(0x17a)](this[k(0x164)](a),d);}['attemptUnlockExit'](a,b){const l=a53i,c=this[l(0x182)][l(0x16d)](a);if(c instanceof Door){const d=c[l(0x175)](b);return this[l(0x163)]['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0x188)+d),d?l(0x173)+c[l(0x172)]+l(0x168):'The\x20'+c['name']+l(0x167);}return this[l(0x163)][l(0x176)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const m=a53i;return this['logger']['write']('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits'][m(0x16d)](a);}[a53i(0x16f)](a){const n=a53i,b=this[n(0x182)][n(0x16d)](a),c=b instanceof Door&&b[n(0x166)]();return this[n(0x163)][n(0x176)](n(0x158)+a+n(0x183)+c),c;}[a53i(0x169)](a){const o=a53i;this['inventory'][o(0x169)](a),this[o(0x163)][o(0x176)]('Item\x20added\x20to\x20room\x20'+this[o(0x172)]+':\x20'+a[o(0x172)]);}['removeItem'](a){const p=a53i;this['inventory'][p(0x185)](a[p(0x172)])?(this[p(0x171)][p(0x15e)](a['name']),this[p(0x163)]['write'](p(0x16e)+this[p(0x172)]+':\x20'+a[p(0x172)])):this[p(0x163)][p(0x176)](p(0x159)+this['name']+':\x20'+a[p(0x172)]);}['setPuzzle'](a){const q=a53i;this[q(0x16b)]=a,this[q(0x163)][q(0x176)]('Puzzle\x20set\x20for\x20room\x20'+this[q(0x172)]+':\x20'+a[q(0x17c)]);}['getOppositeDirection'](a){const r=a53i;switch(a){case r(0x178):return Direction['SOUTH'];case r(0x17d):return Direction['NORTH'];case r(0x160):return Direction[r(0x15f)];case r(0x17b):return Direction[r(0x15b)];case'up':return Direction[r(0x17f)];case r(0x18c):return Direction['UP'];default:throw new Error(r(0x15d)+a);}}['findExistingDoor'](a){const s=a53i;for(const b of this[s(0x182)][s(0x15a)]()){if(b instanceof Door){if(b[s(0x181)]===this&&b[s(0x177)]===a||b[s(0x177)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1*(-parseInt(f(0x1fe))/0x2)+-parseInt(f(0x1da))/0x3*(parseInt(f(0x1e4))/0x4)+parseInt(f(0x201))/0x5*(parseInt(f(0x1fc))/0x6)+-parseInt(f(0x207))/0x7+-parseInt(f(0x210))/0x8*(parseInt(f(0x215))/0x9)+-parseInt(f(0x1ff))/0xa+parseInt(f(0x1e2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x54710));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x20b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1db)]()[h(0x214)](h(0x211))['toString']()['constructor'](a53a)[h(0x214)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a53d(a,b);}function a53c(){const u=['west','inventory','search','1206189wfPstk','isExitLocked','.\x20Success:\x20','checkIfLocked','emit','Checking\x20if\x20exit\x20in\x20direction\x20','name','WEST','3ufvWfa','toString','\x20is\x20locked.\x20Result:\x20','SOUTH','getOppositeDirection','say','EAST','NORTH','14872902iHrQbG','13wWKRYj','1394868miXxvf','roomType','description','exits','Item\x20added\x20to\x20room\x20','\x20unlocked!','Fetching\x20exit\x20in\x20direction:\x20','riddle','roomB','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','logger','Room\x20created:\x20','roomA','hasItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','speak','addExit','get','removeItem','down','getInstance','puzzle','north','217014JONTCQ','Invalid\x20direction:\x20','10828dVbhvz','3853260pmwcvM','write','80RLBPBH','Puzzle\x20set\x20for\x20room\x20','INSIDE','set','getExit','isStartRoom','1758036PAHXJp','east','attemptUnlock','The\x20','apply','findExistingDoor','setPuzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','values','40nymukX','(((.+)+)+)+$'];a53c=function(){return u;};return a53c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a53i(0x1f9)]();['name'];[a53i(0x1e6)];['exits']=new Map();[a53i(0x1e5)];[a53i(0x206)];[a53i(0x213)]=new Inventory();constructor(a){const j=a53i;super(),this['name']=a['name'],this[j(0x1e6)]=a[j(0x1e6)],this[j(0x1e5)]=a[j(0x1e5)]||RoomType[j(0x203)],a[j(0x1e7)]&&(this[j(0x1e7)]=a[j(0x1e7)]||new Map()),a['inventory']&&(this[j(0x213)]=a['inventory']),a['puzzle']&&(this['puzzle']=a['puzzle']),this[j(0x206)]=a['isStartRoom']||![],this['logger']['write'](j(0x1ef)+this['name']);}[a53i(0x1df)](a,b){const k=a53i;this[k(0x1d6)](k(0x1f4),a,b);}[a53i(0x1f5)](a,b,c){const l=a53i;let d=this[l(0x20c)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1e7)][l(0x204)](a,d),b[l(0x1e7)]['set'](this[l(0x1de)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this[m(0x1e7)][m(0x1f6)](a);if(c instanceof Door){const d=c[m(0x209)](b);return this[m(0x1ee)][m(0x200)](m(0x1ed)+a+m(0x217)+d),d?'The\x20'+c[m(0x1d8)]+m(0x1e9):m(0x20a)+c['name']+'\x20remains\x20locked.';}return this[m(0x1ee)][m(0x200)](m(0x20e)+a),m(0x1f3);}[a53i(0x205)](a){const n=a53i;return this['logger'][n(0x200)](n(0x1ea)+a),this['exits'][n(0x1f6)](a);}[a53i(0x216)](a){const o=a53i,b=this[o(0x1e7)][o(0x1f6)](a),c=b instanceof Door&&b[o(0x1d5)]();return this[o(0x1ee)][o(0x200)](o(0x1d7)+a+o(0x1dc)+c),c;}['addItem'](a){const p=a53i;this[p(0x213)]['addItem'](a),this['logger']['write'](p(0x1e8)+this[p(0x1d8)]+':\x20'+a['name']);}['removeItem'](a){const q=a53i;this[q(0x213)][q(0x1f1)](a[q(0x1d8)])?(this[q(0x213)][q(0x1f7)](a[q(0x1d8)]),this[q(0x1ee)][q(0x200)]('Item\x20removed\x20from\x20room\x20'+this[q(0x1d8)]+':\x20'+a[q(0x1d8)])):this[q(0x1ee)][q(0x200)](q(0x1f2)+this[q(0x1d8)]+':\x20'+a[q(0x1d8)]);}[a53i(0x20d)](a){const r=a53i;this[r(0x1fa)]=a,this[r(0x1ee)][r(0x200)](r(0x202)+this['name']+':\x20'+a[r(0x1eb)]);}[a53i(0x1de)](a){const s=a53i;switch(a){case s(0x1fb):return Direction[s(0x1dd)];case'south':return Direction[s(0x1e1)];case s(0x208):return Direction[s(0x1d9)];case s(0x212):return Direction[s(0x1e0)];case'up':return Direction['DOWN'];case s(0x1f8):return Direction['UP'];default:throw new Error(s(0x1fd)+a);}}[a53i(0x20c)](a){const t=a53i;for(const b of this[t(0x1e7)][t(0x20f)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x1ec)]===a||b[t(0x1ec)]===this&&b[t(0x1f0)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x221))/0x1*(parseInt(i(0x235))/0x2)+-parseInt(i(0x231))/0x3*(parseInt(i(0x222))/0x4)+-parseInt(i(0x229))/0x5*(-parseInt(i(0x226))/0x6)+-parseInt(i(0x217))/0x7*(-parseInt(i(0x1f4))/0x8)+-parseInt(i(0x20a))/0x9+-parseInt(i(0x233))/0xa*(-parseInt(i(0x232))/0xb)+parseInt(i(0x205))/0xc*(-parseInt(i(0x1ff))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2cbcb));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0x234)]()[j(0x214)](j(0x209))[j(0x234)]()[j(0x1f7)](a54a)[j(0x214)](j(0x209));});a54a();function a54c(){const D=['36ZxmfZh','Removed\x20room\x20from\x20scene:\x20','getInstance','generateRoomsFromConfig','1590VPSaXA','direction','length','4585IihasH','setCharacterLocation','Added\x20room\x20to\x20scene:\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','roomFactory','delete','set','Failed\x20to\x20set\x20','9507mkLSXc','11jhcJQk','749600edtcjm','toString','1226xpnxDp','getActor','Actor\x20with\x20name\x20','Room\x20\x22','setPuzzle','get','addPuzzleToRoom','roomConfiguration','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','.\x20Room\x20','name','340104anGmOI','getCharacterLocation','characterLocations','constructor','push','\x20found\x20in\x20the\x20scene.','toUpperCase','\x20already\x20exists\x20in\x20the\x20scene.','logger','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Added\x20puzzle\x20to\x20room\x20','13diXlwB','allActors','determineStartRoom','exits','addActor','rooms','1916292iuwtJf','from','createRoom','createExitsFromConfig','(((.+)+)+)+$','2242359WtniIM','join','hasOwnProperty','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getRooms','No\x20actor\x20with\x20name\x20','actors','currentLocation','player','\x20not\x20found\x20in\x20scene.','search','removeRoom','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','14qlUVaY','initialize','has','\x22\x20does\x20not\x20exist.','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','write','\x27s\x20location.\x20Room\x20','Scene\x20initialized\x20with\x20rooms:\x20','addItem','addExit','355iMjSQN'];a54c=function(){return D;};return a54c();}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0x204)];['player'];[a54k(0x1fc)];['actors'];[a54k(0x1f6)]=new Map();[a54k(0x22d)];constructor(a){const l=a54k;super(),this[l(0x22d)]=new RoomFactory(),this[l(0x212)]=a[l(0x212)],this['rooms']=this[l(0x225)](a[l(0x1f0)]),this[l(0x1fc)]=Logger[l(0x224)](),this[l(0x210)]=new Map(),this[l(0x208)](a[l(0x1f0)]),this[l(0x1fc)][l(0x21c)](l(0x21e)+Object['keys'](this[l(0x204)])[l(0x20b)](',\x20'));}[a54k(0x218)](){const m=a54k;this[m(0x212)][m(0x211)]=this[m(0x201)]();}['generateRoomsFromConfig'](a){const n=a54k;if(!this[n(0x22d)])throw new Error(n(0x21b));const b={};for(const c of a){const d=this[n(0x22d)][n(0x207)](c);b[c[n(0x1f3)]]=d;}return b;}['createExitsFromConfig'](a){const o=a54k;for(const b of a){const c=this[o(0x204)][b[o(0x1f3)]];if(b[o(0x202)])for(const d of b[o(0x202)]){const e=d[o(0x227)][o(0x1fa)](),f=d['targetRoom'],g=d['keyRequired'],h=this[o(0x204)][f];h&&c['addExit'](Direction[e],h,g);}}}[a54k(0x203)](a){const p=a54k;if(this[p(0x210)][p(0x219)](a[p(0x1f3)]))throw new Error(p(0x237)+a[p(0x1f3)]+p(0x1fb));this[p(0x210)][p(0x22f)](a['name'],a);}['removeActor'](a){const q=a54k;if(!this[q(0x210)][q(0x219)](a))throw new Error(q(0x20f)+a+q(0x1f9));this[q(0x210)][q(0x22e)](a);}[a54k(0x236)](a){const r=a54k;return this[r(0x210)][r(0x1ee)](a);}get[a54k(0x200)](){const s=a54k;return Array[s(0x206)](this[s(0x210)]['values']());}['addRoom'](a){const t=a54k;this[t(0x204)][a[t(0x1f3)]]=a,this[t(0x1fc)][t(0x21c)](t(0x22b)+a[t(0x1f3)]);}[a54k(0x215)](a){const u=a54k;return this['rooms'][a]?(delete this['rooms'][a],this[u(0x1fc)]['write'](u(0x223)+a),!![]):(this[u(0x1fc)][u(0x21c)](u(0x1f1)+a),![]);}['addItemToRoom'](a,b){const v=a54k,c=this[v(0x204)][b];c?(c[v(0x21f)](a),this[v(0x1fc)][v(0x21c)]('Added\x20item\x20'+a[v(0x1f3)]+'\x20to\x20room\x20'+c[v(0x1f3)])):this[v(0x1fc)]['write']('Failed\x20to\x20add\x20item\x20'+a[v(0x1f3)]+v(0x1f2)+b+v(0x213));}[a54k(0x1ef)](a,b){const w=a54k,c=this[w(0x204)][b];c?(c[w(0x1ed)](a),this[w(0x1fc)][w(0x21c)](w(0x1fe)+c[w(0x1f3)])):this[w(0x1fc)][w(0x21c)](w(0x1fd)+b+w(0x213));}[a54k(0x22a)](a,b){const x=a54k,c=this['rooms'][b];c?(this[x(0x1f6)][x(0x22f)](a[x(0x1f3)],c),this[x(0x1fc)][x(0x21c)](a[x(0x1f3)]+'\x20is\x20now\x20in\x20room\x20'+c[x(0x1f3)])):this[x(0x1fc)][x(0x21c)](x(0x230)+a[x(0x1f3)]+x(0x21d)+b+x(0x213));}[a54k(0x1f5)](a){const y=a54k;return this[y(0x1f6)][y(0x1ee)](a[y(0x1f3)]);}['determineStartRoom'](){const z=a54k,a=[];for(const c in this[z(0x204)]){if(this[z(0x204)][z(0x20c)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[z(0x1f8)](d);}}if(a[z(0x228)]>0x1)throw new Error(z(0x20d));if(a['length']===0x1)return a[0x0];const b=Object['keys'](this[z(0x204)]);if(b[z(0x228)]===0x0)throw new Error(z(0x216));return console['warn'](z(0x22c)),this[z(0x204)][b[0x0]];}['getPlayer'](){const A=a54k;return this[A(0x212)];}[a54k(0x20e)](){const B=a54k;return this[B(0x204)];}['connectRooms'](a,b,c,d){const C=a54k,e=this[C(0x204)][a],f=this[C(0x204)][c];if(!e)throw new Error(C(0x238)+a+C(0x21a));if(!f)throw new Error(C(0x238)+c+C(0x21a));e[C(0x220)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1e3))/0x1+-parseInt(i(0x1d6))/0x2+parseInt(i(0x1dc))/0x3+-parseInt(i(0x1a9))/0x4+-parseInt(i(0x1b2))/0x5*(-parseInt(i(0x1c1))/0x6)+parseInt(i(0x1c7))/0x7+-parseInt(i(0x1d9))/0x8*(-parseInt(i(0x1d1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6cca1));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1c3)]()[k(0x1d5)]('(((.+)+)+)+$')[k(0x1c3)]()[k(0x1eb)](a54a)['search'](k(0x1e4));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54c(){const E=['Scene\x20initialized\x20with\x20rooms:\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addActor','logger','Removed\x20room\x20from\x20scene:\x20','26099xStSSo','(((.+)+)+)+$','Added\x20room\x20to\x20scene:\x20','isStartRoom','has','roomConfiguration','allActors','\x20not\x20found\x20in\x20scene.','constructor','rooms','keys','setCharacterLocation','Added\x20puzzle\x20to\x20room\x20','.\x20Room\x20','2631488ybSoXe','player','getInstance','setPuzzle','warn','currentLocation','characterLocations','apply','\x20found\x20in\x20the\x20scene.','10TlIWlR','getRooms','keyRequired','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Added\x20item\x20','join','\x20already\x20exists\x20in\x20the\x20scene.','exits','write','\x27s\x20location.\x20Room\x20','direction','generateRoomsFromConfig','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','values','1468158HCKUmr','addItem','toString','\x20to\x20room\x20','\x22\x20does\x20not\x20exist.','roomFactory','1870848juIjbQ','from','initialize','targetRoom','name','actors','addPuzzleToRoom','determineStartRoom','addRoom','addExit','35298SgZRSX','getCharacterLocation','get','getActor','search','628532gfJpJl','length','createRoom','664vWjZHH','toUpperCase','createExitsFromConfig','1084986SJlRUB','set'];a54c=function(){return E;};return a54c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a54l(0x1e1)];[a54l(0x1cc)];[a54l(0x1af)]=new Map();[a54l(0x1c6)];constructor(a){const m=a54l;super(),this[m(0x1c6)]=new RoomFactory(),this[m(0x1aa)]=a[m(0x1aa)],this[m(0x1ec)]=this[m(0x1be)](a[m(0x1e8)]),this[m(0x1e1)]=Logger[m(0x1ab)](),this[m(0x1cc)]=new Map(),this[m(0x1db)](a['roomConfiguration']),this[m(0x1e1)][m(0x1bb)](m(0x1de)+Object[m(0x1a5)](this[m(0x1ec)])[m(0x1b8)](',\x20'));}[a54l(0x1c9)](){const n=a54l;this['player'][n(0x1ae)]=this[n(0x1ce)]();}[a54l(0x1be)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x1bf));const b={};for(const c of a){const d=this[o(0x1c6)][o(0x1d8)](c);b[c[o(0x1cb)]]=d;}return b;}[a54l(0x1db)](a){const p=a54l;for(const b of a){const c=this[p(0x1ec)][b[p(0x1cb)]];if(b[p(0x1ba)])for(const d of b[p(0x1ba)]){const e=d[p(0x1bd)][p(0x1da)](),f=d[p(0x1ca)],g=d[p(0x1b4)],h=this[p(0x1ec)][f];h&&c[p(0x1d0)](Direction[e],h,g);}}}[a54l(0x1e0)](a){const q=a54l;if(this[q(0x1cc)][q(0x1e7)](a[q(0x1cb)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+q(0x1b9));this[q(0x1cc)]['set'](a['name'],a);}['removeActor'](a){const r=a54l;if(!this[r(0x1cc)][r(0x1e7)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x1b1));this[r(0x1cc)]['delete'](a);}[a54l(0x1d4)](a){const s=a54l;return this[s(0x1cc)][s(0x1d3)](a);}get[a54l(0x1e9)](){const t=a54l;return Array[t(0x1c8)](this[t(0x1cc)][t(0x1c0)]());}[a54l(0x1cf)](a){const u=a54l;this[u(0x1ec)][a[u(0x1cb)]]=a,this[u(0x1e1)][u(0x1bb)](u(0x1e5)+a[u(0x1cb)]);}['removeRoom'](a){const v=a54l;return this['rooms'][a]?(delete this[v(0x1ec)][a],this['logger'][v(0x1bb)](v(0x1e2)+a),!![]):(this['logger'][v(0x1bb)](v(0x1b5)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this[w(0x1ec)][b];c?(c[w(0x1c2)](a),this[w(0x1e1)][w(0x1bb)](w(0x1b7)+a[w(0x1cb)]+w(0x1c4)+c[w(0x1cb)])):this[w(0x1e1)][w(0x1bb)]('Failed\x20to\x20add\x20item\x20'+a[w(0x1cb)]+w(0x1a8)+b+w(0x1ea));}[a54l(0x1cd)](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x1ac)](a),this[x(0x1e1)][x(0x1bb)](x(0x1a7)+c['name'])):this[x(0x1e1)][x(0x1bb)](x(0x1b6)+b+x(0x1ea));}[a54l(0x1a6)](a,b){const y=a54l,c=this[y(0x1ec)][b];c?(this[y(0x1af)][y(0x1dd)](a[y(0x1cb)],c),this['logger'][y(0x1bb)](a[y(0x1cb)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x1cb)])):this['logger'][y(0x1bb)]('Failed\x20to\x20set\x20'+a['name']+y(0x1bc)+b+y(0x1ea));}[a54l(0x1d2)](a){const z=a54l;return this[z(0x1af)]['get'](a[z(0x1cb)]);}[a54l(0x1ce)](){const A=a54l,a=[];for(const c in this[A(0x1ec)]){if(this[A(0x1ec)]['hasOwnProperty'](c)){const d=this[A(0x1ec)][c];d[A(0x1e6)]&&a['push'](d);}}if(a[A(0x1d7)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a['length']===0x1)return a[0x0];const b=Object[A(0x1a5)](this[A(0x1ec)]);if(b[A(0x1d7)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x1ad)](A(0x1df)),this[A(0x1ec)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x1aa)];}[a54l(0x1b3)](){const C=a54l;return this[C(0x1ec)];}['connectRooms'](a,b,c,d){const D=a54l,e=this['rooms'][a],f=this[D(0x1ec)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x1c5));if(!f)throw new Error('Room\x20\x22'+c+D(0x1c5));e[D(0x1d0)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xfa))/0x1*(parseInt(f(0xfd))/0x2)+parseInt(f(0x10a))/0x3*(parseInt(f(0xf1))/0x4)+-parseInt(f(0x11d))/0x5+parseInt(f(0x111))/0x6*(-parseInt(f(0x115))/0x7)+parseInt(f(0xef))/0x8+-parseInt(f(0x112))/0x9+parseInt(f(0x103))/0xa*(parseInt(f(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x9dca1));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x108)]()['search'](h(0x11c))[h(0x108)]()[h(0x10f)](a55a)[h(0x10d)](h(0x11c));});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(0x11e)],'category':Category['Unknown'],'shape':Shape[i(0x10c)],'color':Color[i(0x100)],'texture':Texture[i(0x114)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x11a)](){var k=a55j;return this[k(0xfe)];}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xec;var f=c[d];return f;},a55d(a,b);}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x11e)],'category':Category[l(0x101)],'shape':Shape['Blade'],'color':Color[l(0x117)],'texture':Texture[l(0xfb)],'rating':Rating[l(0x124)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x101)],'shape':Shape[m(0x110)],'color':Color[m(0xf4)],'texture':Texture['Metallic'],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x11e)],'category':Category[n(0xf9)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture[n(0xfb)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0xf0)],'category':Category[o(0x104)],'shape':Shape[o(0x10c)],'color':Color[o(0x117)],'texture':Texture[o(0xfb)],'rating':Rating[o(0x124)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0xff)],'shape':Shape[p(0x10c)],'color':Color[p(0x117)],'texture':Texture[p(0xfb)],'rating':Rating[p(0x124)],'weight':0x6});}}function a55c(){var E=['169576SwplQE','Gold','Legendary','Book','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Common','Key','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','publishDate','5714432UVyBKD','Large','1023812Gbtymb','You\x20hold\x20the\x20','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Brown','Cup','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','apply','ArmArmor','Helmet','30911xtmrtS','Metallic','pageCount','22iNLiRl','description','LegArmor','Yellow','Weapon','Circle','1760NrQCEM','BodyArmor','Short\x20Sword','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Tiny','toString','Unknown\x20Author','3ZJtIrX','Gloves','Rectangle','search','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','constructor','Rifle','26958CRKzRM','7545843AlxyWg','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Smooth','1253nMkDjc','Small','Grey','author','Blade','use','Holy\x20Grail','(((.+)+)+)+$','5272365Ppcyxs','Medium'];a55c=function(){return E;};return a55c();}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Boots'],'shape':Shape[q(0x102)],'color':Color[q(0xf4)],'texture':Texture[q(0x114)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x116)],'category':Category[r(0x10b)],'shape':Shape[r(0x102)],'color':Color[r(0xf4)],'texture':Texture[r(0x114)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x11e)],'category':Category[s(0xf8)],'shape':Shape[s(0x10c)],'color':Color[s(0x117)],'texture':Texture[s(0xfb)],'rating':Rating[s(0x124)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x107)],'category':Category[t(0xec)],'shape':Shape[t(0x10c)],'color':Color[t(0x100)],'texture':Texture[t(0x114)],'rating':Rating[t(0x124)],'weight':0x0});}[a55j(0x11a)](){var u=a55j;return u(0x113);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x11e)],'category':Category[v(0x101)],'shape':Shape[v(0x119)],'color':Color[v(0x117)],'texture':Texture[v(0xfb)],'rating':Rating[v(0x124)],'weight':0x3});}['use'](){var w=a55j;return w(0xf3);}}export class Book extends Item{[a55j(0x118)];[a55j(0xee)];[a55j(0xfc)];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0x109)){var x=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[x(0x122)],'shape':Shape['Rectangle'],'color':Color[x(0xf4)],'texture':Texture[x(0x114)],'rating':Rating[x(0x124)],'weight':0x1}),this[x(0x118)]=c,this['publishDate']=new Date(),this['pageCount']=0x64;}[a55j(0x11a)](){var y=a55j;return y(0x10e);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':z(0x105),'description':z(0xed),'size':Size[z(0x11e)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[z(0x117)],'texture':Texture[z(0xfb)],'rating':Rating[z(0x124)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':'Sniper\x20Rifle','description':A(0xf6),'size':Size[A(0xf0)],'category':Category[A(0x101)],'shape':Shape[A(0x110)],'color':Color[A(0xf4)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x5});}[a55j(0x11a)](){var B=a55j;return B(0x123);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x11b),'description':C(0x106),'size':Size[C(0x116)],'category':Category[C(0xf5)],'shape':Shape[C(0x102)],'color':Color[C(0x120)],'texture':Texture[C(0xfb)],'rating':Rating[C(0x121)],'weight':0x1});}[a55j(0x11a)](){var D=a55j;return D(0xf2)+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x11f))/0x1+-parseInt(f(0x10d))/0x2+-parseInt(f(0x104))/0x3*(parseInt(f(0xfe))/0x4)+-parseInt(f(0xf8))/0x5+parseInt(f(0xee))/0x6*(-parseInt(f(0x106))/0x7)+-parseInt(f(0xec))/0x8+parseInt(f(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4b847));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0xf4)]()[g(0x11c)](g(0x10c))[g(0xf4)]()[g(0xea)](a55a)[g(0x11c)](g(0x10c));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Unknown'],'shape':Shape[h(0xfd)],'color':Color['Yellow'],'texture':Texture[h(0x112)],'rating':Rating[h(0x101)],'weight':0x1});}[a55i(0xed)](){var j=a55i;return this[j(0x114)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x117)],'category':Category[k(0x102)],'shape':Shape[k(0x10b)],'color':Color['Grey'],'texture':Texture[k(0x11b)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x11d)],'category':Category[l(0x102)],'shape':Shape[l(0xef)],'color':Color['Brown'],'texture':Texture[l(0x11b)],'rating':Rating[l(0x109)],'weight':0x7});}}function a55c(){var C=['Book','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rectangle','1236584uRUpzZ','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','A\x20mysterious\x20book.','Common','Weapon','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','3EYuKTt','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','534849opgOxR','Short\x20Sword','Circle','Rare','name','Blade','(((.+)+)+)+$','275766llAAyH','Key','BodyArmor','LegArmor','Gloves','Smooth','Unknown\x20Author','description','pageCount','Small','Medium','Holy\x20Grail','26714421LixhPs','author','Metallic','search','Large','Cup','569774DpBgBM','\x20aloft,\x20feeling\x20its\x20immense\x20power.','constructor','ArmArmor','4272800GKhUei','use','48aOnVXj','Rifle','Helmet','Grey','Yellow','You\x20hold\x20the\x20','toString','Legendary','publishDate','Boots','2483955okrupm','Brown','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.'];a55c=function(){return C;};return a55c();}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x117)],'category':Category[m(0xf0)],'shape':Shape[m(0x108)],'color':Color[m(0xf1)],'texture':Texture[m(0x11b)],'rating':Rating[m(0x101)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[n(0x10f)],'shape':Shape[n(0xfd)],'color':Color[n(0xf1)],'texture':Texture[n(0x11b)],'rating':Rating[n(0x101)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x117)],'category':Category[o(0x110)],'shape':Shape[o(0xfd)],'color':Color[o(0xf1)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x117)],'category':Category[p(0xf7)],'shape':Shape['Circle'],'color':Color[p(0xf9)],'texture':Texture[p(0x112)],'rating':Rating[p(0x101)],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xe9;var f=c[d];return f;},a55d(a,b);}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x116)],'category':Category[q(0x111)],'shape':Shape[q(0x108)],'color':Color['Brown'],'texture':Texture[q(0x112)],'rating':Rating[q(0x101)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x117)],'category':Category[r(0xeb)],'shape':Shape[r(0xfd)],'color':Color[r(0xf1)],'texture':Texture[r(0x11b)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0x10e)],'shape':Shape[s(0xfd)],'color':Color[s(0xf2)],'texture':Texture['Smooth'],'rating':Rating[s(0x101)],'weight':0x0});}[a55i(0xed)](){var t=a55i;return t(0xff);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size[u(0x117)],'category':Category[u(0x102)],'shape':Shape[u(0x10b)],'color':Color['Grey'],'texture':Texture[u(0x11b)],'rating':Rating[u(0x101)],'weight':0x3});}[a55i(0xed)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55i(0x11a)];[a55i(0xf6)];['pageCount'];constructor(a,b=a55i(0x100),c=a55i(0x113)){var v=a55i;super({'name':a,'description':b,'size':Size[v(0x117)],'category':Category[v(0xfb)],'shape':Shape[v(0xfd)],'color':Color[v(0xf9)],'texture':Texture[v(0x112)],'rating':Rating[v(0x101)],'weight':0x1}),this[v(0x11a)]=c,this[v(0xf6)]=new Date(),this[v(0x115)]=0x64;}[a55i(0xed)](){var w=a55i;return w(0xfc);}}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':x(0x107),'description':x(0x105),'size':Size[x(0x117)],'category':Category[x(0x102)],'shape':Shape['Blade'],'color':Color[x(0xf1)],'texture':Texture[x(0x11b)],'rating':Rating[x(0x101)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var y=a55i;super({'name':'Sniper\x20Rifle','description':y(0xfa),'size':Size[y(0x11d)],'category':Category[y(0x102)],'shape':Shape[y(0xef)],'color':Color[y(0xf9)],'texture':Texture[y(0x112)],'rating':Rating[y(0x101)],'weight':0x5});}[a55i(0xed)](){var z=a55i;return z(0x103);}}export class HolyGrail extends Item{constructor(){var A=a55i;super({'name':A(0x118),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size['Small'],'category':Category[A(0x11e)],'shape':Shape['Circle'],'color':Color['Gold'],'texture':Texture[A(0x11b)],'rating':Rating[A(0xf5)],'weight':0x1});}[a55i(0xed)](){var B=a55i;return B(0xf3)+this[B(0x10a)]+B(0xe9);}}