@maka/maka-cli 4.5.26 → 4.5.27
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.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a34c(){const k=['
|
|
1
|
+
function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xd1;let f=c[d];return f;},a34d(a,b);}const a34i=a34d;function a34c(){const k=['(((.+)+)+)+$','599973vHqKgG','50aVeqou','write','verb','3448214PZnQkb','11KEBSSh','constructor','toString','description','unequip','440BJWKYC','search','4914960emckwK','445650BUHPRI','actor','apply','execute','2jgayvI','3879dPTKNE','toLowerCase','4144284wHVBmh','\x20unqeuiped\x20','8152WzuiHg','22050TGimbd','name','UnequipCommand:\x20'];a34c=function(){return k;};return a34c();}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0xdb))/0x1*(parseInt(f(0xd1))/0x2)+parseInt(f(0xd7))/0x3*(parseInt(f(0xe5))/0x4)+-parseInt(f(0xdc))/0x5*(parseInt(f(0xe8))/0x6)+-parseInt(f(0xdf))/0x7+-parseInt(f(0xd6))/0x8*(-parseInt(f(0xd2))/0x9)+-parseInt(f(0xe7))/0xa*(-parseInt(f(0xe0))/0xb)+-parseInt(f(0xd4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xb92b1));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0xe2)]()['search'](h(0xda))[h(0xe2)]()[h(0xe1)](a34a)[h(0xe6)](h(0xda));});a34a();import{Command}from'./command.js';class UnequipCommand extends Command{static [a34i(0xde)]='unqeuip';static [a34i(0xe3)]='Unequip\x20an\x20item.';[a34i(0xeb)](a){const j=a34i,b=a['join']('\x20')[j(0xd3)](),c=this[j(0xe9)][j(0xe4)](b);return this['logger'][j(0xdd)](j(0xd9)+this[j(0xe9)][j(0xd8)]+j(0xd5)+c),c;}}export{UnequipCommand};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a35k=a35d;
|
|
1
|
+
const a35k=a35d;(function(a,b){const h=a35d,c=a();while(!![]){try{const d=parseInt(h(0x1e2))/0x1*(-parseInt(h(0x1f4))/0x2)+parseInt(h(0x1e0))/0x3*(parseInt(h(0x1d5))/0x4)+-parseInt(h(0x1ce))/0x5+-parseInt(h(0x1ec))/0x6*(parseInt(h(0x1d9))/0x7)+-parseInt(h(0x1db))/0x8+parseInt(h(0x1ee))/0x9+-parseInt(h(0x1ef))/0xa*(-parseInt(h(0x1e4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x6b506));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a35d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const j=a35d;return a35a['toString']()[j(0x1ed)](j(0x1dc))[j(0x1d7)]()[j(0x1e6)](a35a)[j(0x1ed)]('(((.+)+)+)+$');});a35a();function a35c(){const n=['description','1014ELUhDP','search','487800vPGwwu','2010evDayO','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','inventory','getItem','80auYdbA','toLowerCase','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20is\x20attempted\x20to\x20unlock\x20','UnlockCommand:\x20No\x20target\x20specified.','error','hasItem','554295NLTCsP','get','\x22\x20here.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','unlock','exits','.\x20Result:\x20','1052CIXjJP','execute','toString','verb','23541OUzKdR','name','1939880sbHkKm','(((.+)+)+)+$','has','write','UnlockCommand:\x20','3270FEulow','actor','15590HtygJo','unlockItemOrSolution','89969BYkqAN','isValidDirection','constructor','There\x27s\x20no\x20door\x20named\x20\x22','apply','logger','attemptUnlockExit'];a35c=function(){return n;};return a35c();}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a35d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';class UnlockCommand extends Command{static [a35k(0x1d8)]=a35k(0x1d2);static [a35k(0x1eb)]='Unlock\x20a\x20door.';[a35k(0x1d6)](a){const l=a35k;return this[l(0x1d2)](a);}[a35k(0x1d2)](a){const m=a35k;if(a['length']===0x0)return this[m(0x1e9)][m(0x1f9)](m(0x1f8)),m(0x1f1);const b=a[0x0][m(0x1f5)](),c=this[m(0x1e1)]['currentLocation'];if(this[m(0x1e5)](b)&&c[m(0x1d3)][m(0x1dd)](b)){const d=c[m(0x1d3)][m(0x1cf)](b);if(d instanceof Door){const e=d[m(0x1e3)]?.[m(0x1f5)]();if(e&&this[m(0x1e1)][m(0x1f2)][m(0x1fa)](e)){const f=this['actor'][m(0x1f2)][m(0x1f3)](e);if(f){const g=c[m(0x1ea)](b,f[m(0x1da)]);return this[m(0x1e9)]['write'](m(0x1df)+this['actor'][m(0x1da)]+m(0x1f7)+b+m(0x1d4)+g),g;}}return this[m(0x1e9)][m(0x1de)](m(0x1df)+this[m(0x1e1)]['name']+m(0x1f0)+b+'.'),m(0x1f6);}else return this[m(0x1e9)][m(0x1de)](m(0x1df)+b+m(0x1d1)+c[m(0x1da)]+'.'),m(0x1e7)+b+m(0x1d0);}else return this[m(0x1e9)][m(0x1de)](m(0x1df)+b+m(0x1d1)+c[m(0x1da)]+'.'),m(0x1e7)+b+m(0x1d0);}}export{UnlockCommand};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36i=a36d;function a36c(){const l=['
|
|
1
|
+
const a36i=a36d;function a36c(){const l=[',\x20which\x20is\x20not\x20in\x20their\x20inventory.','909304mBPJyQ','5PMsfwv','write','description','4966698AEkTaT','toLowerCase','toString','actor','constructor','\x20to\x20use.','1510089GFgkEM','join','search','584498Tokvqs','(((.+)+)+)+$','4449716UVThlO','getItem','\x27s\x20inventory.','You\x20don\x27t\x20have\x20the\x20','inventory','\x20used\x20','use','\x20not\x20retrieved\x20from\x20','4938592JxDMzN','\x20attempted\x20to\x20use\x20','execute','logger','name','verb','\x20doesn\x27t\x20have\x20a\x20use\x20method.','3TofwaM','function','14646933llgWqN','UseCommand:\x20','apply'];a36c=function(){return l;};return a36c();}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0xd4))/0x1+-parseInt(f(0xeb))/0x2+-parseInt(f(0xe5))/0x3*(parseInt(f(0xd6))/0x4)+-parseInt(f(0xec))/0x5*(-parseInt(f(0xcb))/0x6)+-parseInt(f(0xd1))/0x7+parseInt(f(0xde))/0x8+parseInt(f(0xe7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xac2d6));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0xcd)]()[h(0xd3)](h(0xd5))['toString']()[h(0xcf)](a36a)['search'](h(0xd5));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xca;let f=c[d];return f;},a36d(a,b);}a36a();import{Command}from'./command.js';class UseCommand extends Command{static [a36i(0xe3)]=a36i(0xdc);static [a36i(0xca)]='Use\x20an\x20item.';[a36i(0xe0)](a){const j=a36i;return this[j(0xdc)](a);}[a36i(0xdc)](a){const k=a36i,b=a[k(0xd2)]('\x20')[k(0xcc)]();if(!this[k(0xce)][k(0xda)]['hasItem'](b))return this[k(0xe1)][k(0xed)](k(0xe8)+this[k(0xce)][k(0xe2)]+k(0xdf)+b+k(0xea)),k(0xd9)+b+'\x20to\x20use.';const c=this[k(0xce)][k(0xda)][k(0xd7)](b);if(!c)return this[k(0xe1)][k(0xed)](k(0xe8)+b+k(0xdd)+this[k(0xce)][k(0xe2)]+k(0xd8)),k(0xd9)+b+k(0xd0);if(typeof c[k(0xdc)]===k(0xe6)){const d=c[k(0xdc)]();return this['logger'][k(0xed)](k(0xe8)+this[k(0xce)][k(0xe2)]+k(0xdb)+b+'.'),d;}else return this[k(0xe1)][k(0xed)](k(0xe8)+b+k(0xe4)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}export{UseCommand};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1*(-parseInt(f(0x189))/0x2)+-parseInt(f(0x18c))/0x3+parseInt(f(0x190))/0x4+-parseInt(f(0x18a))/0x5+-parseInt(f(0x18f))/0x6+parseInt(f(0x196))/0x7*(parseInt(f(0x18e))/0x8)+parseInt(f(0x192))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xe7603));function a37c(){const m=['getAllRegisteredCommands','2mZaYXv','553975dQddrP','184187HuFQgr','5409060LenvJd','(((.+)+)+)+$','8yeahdV','6318042naCPlj','6312828TWAjxv','registerCommand','7382862AlBPoX','search','constructor','commandMap','11901393ySinNm','toString','apply'];a37c=function(){return m;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x188;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x197)]()[h(0x193)](h(0x18d))[h(0x197)]()[h(0x194)](a37a)[h(0x193)](h(0x18d));});a37a();class CommandFactory{static [a37i(0x195)]={};static[a37i(0x191)](a,b){const j=a37i;this[j(0x195)][a]=b;}static['createCommand'](a,b){const k=a37i,c=this[k(0x195)][a];if(c)return new c(b);return null;}static[a37i(0x188)](){const l=a37i;return this[l(0x195)];}}export{CommandFactory};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x18d))/0x1+parseInt(f(0x171))/0x2+parseInt(f(0x185))/0x3*(-parseInt(f(0x16d))/0x4)+parseInt(f(0x174))/0x5+parseInt(f(0x17f))/0x6+parseInt(f(0x16b))/0x7*(-parseInt(f(0x179))/0x8)+-parseInt(f(0x17b))/0x9*(parseInt(f(0x17e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4db02));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x167)](h(0x17a))[h(0x188)]()['constructor'](a38a)[h(0x167)](h(0x17a));});a38a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x167;let f=c[d];return f;},a38d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a38c(){const o=['bodyarmor','2639yeRCCA','key','331000AESRIG','convertToRoomConfig','setPuzzle','toUpperCase','1175292AQyzyd','INSIDE','rewardItem','1445955vWGwKj','sword','inventory','description','book','5512uILMda','(((.+)+)+)+$','2204487ACmbFl','name','gauntlets','30EVNQko','3094242rewSfy','type','content','helmet','items','puzzle','12LhcQUf','apply','createItem','toString','roomType','gloves','boots','createPuzzle','251248rliTTP','search','createRoom','isStartRoom'];a38c=function(){return o;};return a38c();}export class RoomFactory{[a38i(0x168)](a){const j=a38i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0x183)]){const d=new Inventory();a[j(0x183)]['forEach'](e=>{const k=j;d['addItem'](this[k(0x187)](e));}),c[j(0x176)]=d;}return a[j(0x184)]&&c[j(0x16f)](this[j(0x18c)](a['puzzle'])),c;}[a38i(0x187)](a){const l=a38i;switch(a[l(0x180)]){case l(0x16c):return new Key(a[l(0x17c)],a[l(0x177)]);case l(0x178):return new Book(a[l(0x17c)],a[l(0x177)],a[l(0x181)]);case l(0x175):return new Sword(a[l(0x17c)],a['description']);case'rifle':return new Rifle(a[l(0x17c)],a[l(0x177)]);case l(0x182):return new Helmet(a[l(0x17c)],a['description']);case l(0x16a):return new BodyArmor(a[l(0x17c)],a[l(0x177)]);case'legarmor':return new LegArmor(a['name'],a['description']);case l(0x18b):return new Boots(a[l(0x17c)],a[l(0x177)]);case l(0x18a):return new Gloves(a[l(0x17c)],a[l(0x177)]);case l(0x17d):return new Gauntlets(a['name'],a[l(0x177)]);default:return new BasicItem(a[l(0x17c)],a[l(0x177)]);}}[a38i(0x18c)](a){const m=a38i,b=this[m(0x187)](a[m(0x173)]);return new Puzzle({...a,'rewardItem':b});}[a38i(0x16e)](a){const n=a38i,b=a[n(0x189)]&&RoomType[a['roomType'][n(0x170)]()]?RoomType[a[n(0x189)][n(0x170)]()]:RoomType[n(0x172)];return{'name':a[n(0x17c)],'description':a[n(0x177)],'isStartRoom':a[n(0x169)],'roomType':b};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39k=a39d;(function(a,b){const h=a39d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a39k=a39d;(function(a,b){const h=a39d,c=a();while(!![]){try{const d=parseInt(h(0x96))/0x1*(parseInt(h(0x8c))/0x2)+-parseInt(h(0xa2))/0x3+parseInt(h(0x90))/0x4+parseInt(h(0x91))/0x5*(parseInt(h(0xa3))/0x6)+-parseInt(h(0xb2))/0x7*(-parseInt(h(0xab))/0x8)+parseInt(h(0xa5))/0x9+parseInt(h(0xac))/0xa*(-parseInt(h(0xa6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x764e4));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x88;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a39d;if(c){const e=c[i(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const j=a39d;return a39a[j(0xb0)]()['search']('(((.+)+)+)+$')[j(0xb0)]()[j(0x97)](a39a)[j(0xa8)]('(((.+)+)+)+$');});a39a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a39c(){const s=['handleInput','scene','look','-\x20quit:\x20Exit\x20the\x20game.\x0a','createCommand','getDescription','2LaSVPY','getAllRegisteredCommands','quit','use','2018836bVXLEV','2099645jkuINu','apply','drop','determineStartRoom','-\x20clear:\x20Clear\x20the\x20screen.\x0a','873571ngcXIg','constructor','getWelcomeMessage','lock','registerCommands','getRooms','instance','take','currentRoom','getInstance','toLowerCase','hasOwnProperty','634050PgGDza','6WUFkVq','execute','3200049AivJVv','25647787Pkldde','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','search','equip','say','6990216IzKVQg','10LdAQsn','slice','registerCommand','trim','toString','player','7VAnrVZ','getHelpMessage','unlock','initialize','unequip','clear'];a39c=function(){return s;};return a39c();}import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a39k(0x9c)];[a39k(0xb9)];[a39k(0xb1)];[a39k(0x9e)];['rooms'];constructor(a,b){const l=a39k;this[l(0xb1)]=a,this[l(0xb9)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0xb5)](),this[l(0xb1)]['currentLocation']=this[l(0x94)](),this['registerCommands']();}[a39k(0x9a)](){const m=a39k;CommandFactory['registerCommand'](m(0x88),LookCommand),CommandFactory[m(0xae)]('go',GoCommand),CommandFactory['registerCommand'](m(0x9d),TakeCommand),CommandFactory[m(0xae)](m(0x8f),UseCommand),CommandFactory[m(0xae)](m(0xa9),EquipCommand),CommandFactory['registerCommand'](m(0xb6),UnequipCommand),CommandFactory[m(0xae)]('solve',SolveCommand),CommandFactory[m(0xae)](m(0x93),DropCommand),CommandFactory['registerCommand'](m(0xb4),UnlockCommand),CommandFactory[m(0xae)](m(0x99),LockCommand),CommandFactory[m(0xae)](m(0xa8),SearchCommand),CommandFactory[m(0xae)](m(0xaa),SayCommand);}[a39k(0x94)](){const n=a39k;return this[n(0xb9)][n(0x94)]();}[a39k(0x98)](){const o=a39k;return'Welcome,\x20'+this[o(0xb1)]['name'];}static[a39k(0x9f)](a,b){const p=a39k;return!Game[p(0x9c)]&&(Game['instance']=new Game(a,b)),Game['instance'];}[a39k(0xb8)](a){const q=a39k,b=a[q(0xaf)]()['split']('\x20'),c=b[0x0][q(0xa0)](),d=b[q(0xad)](0x1);if(c===q(0x8e))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0xb3)]();if(c===q(0xb7))return'';const e={'actor':this['player'],'rooms':this[q(0xb9)][q(0x9b)](),'scene':this[q(0xb9)]},f=CommandFactory[q(0x8a)](c,e);if(f){const g=f[q(0xa4)](d);return g;}return q(0xa7)+c+'\x22.';}[a39k(0xb3)](){const r=a39k,a=CommandFactory[r(0x8d)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0xa1)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x8b)]()+'\x0a';}}return b+=r(0x95),b+=r(0x89),b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0xcb))/0x1*(-parseInt(f(0xd2))/0x2)+parseInt(f(0xd4))/0x3+-parseInt(f(0xd7))/0x4+parseInt(f(0xc9))/0x5*(parseInt(f(0xcd))/0x6)+parseInt(f(0xcf))/0x7*(-parseInt(f(0xd1))/0x8)+parseInt(f(0xd0))/0x9+parseInt(f(0xd3))/0xa*(parseInt(f(0xc8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa2cd3));function a40c(){var i=['7702569ohDAMu','6326352vTztIe','8vTcUWe','4npKVeu','10xIpiSG','1436901ojOIuR','search','apply','1041384rLpzyk','9104755ziCtkW','437455zPfJbA','toString','78517gtMxfM','(((.+)+)+)+$','12hYbyRT','constructor'];a40c=function(){return i;};return a40c();}var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a['toString']()[h(0xd5)](h(0xcc))[h(0xca)]()[h(0xce)](a40a)['search'](h(0xcc));});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0xc8;var f=c[d];return f;},a40d(a,b);}a40a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x9b;var f=c[d];return f;},a41d(a,b);}var a41i=a41d;(function(a,b){var f=a41d,c=a();while(!![]){try{var d=-parseInt(f(0xa3))/0x1*(-parseInt(f(0x9c))/0x2)+parseInt(f(0x9f))/0x3+parseInt(f(0xa2))/0x4*(parseInt(f(0xb0))/0x5)+parseInt(f(0x9d))/0x6*(-parseInt(f(0xbb))/0x7)+parseInt(f(0xb7))/0x8*(parseInt(f(0xae))/0x9)+parseInt(f(0xa6))/0xa+parseInt(f(0xb6))/0xb*(-parseInt(f(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xac0d9));var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a41d;if(c){var e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var h=a41d;return a41a['toString']()[h(0xb8)]('(((.+)+)+)+$')[h(0xba)]()[h(0xa4)](a41a)['search'](h(0xaf));});a41a();import{Logger}from'../utilities/logger.js';function a41c(){var o=['logger','Door\x20created\x20between\x20','unlockItemOrSolution','getInstance','445869kSDugD','(((.+)+)+)+$','5860805TulPla','.\x20Used:\x20','name','.\x20Is\x20Locked:\x20','Failed\x20to\x20unlock\x20door:\x20','\x20and\x20','22leWRXH','40EcLWfW','search','roomB','toString','2628451flTCDj','roomA','1466tvBThj','12FJlCsD','isLockable','696369iWalBC','16096152EQgDoS','Door\x20unlocked:\x20','4qlFkgv','1853dpHVtt','constructor','write','11281690EYtPbW','checkIfLocked','apply','isLocked'];a41c=function(){return o;};return a41c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a41i(0x9b)];[a41i(0xb9)];[a41i(0xa9)];[a41i(0xac)];[a41i(0xb2)];[a41i(0xaa)];[a41i(0x9e)];constructor(a){var j=a41i;super(),this[j(0x9b)]=a[j(0x9b)],this[j(0xb9)]=a[j(0xb9)],this[j(0xa9)]=a[j(0xa9)]||![],this[j(0xac)]=a['unlockItemOrSolution'],this[j(0xb2)]=a['name']?capitalCase(a[j(0xb2)]):'To\x20'+a[j(0xb9)][j(0xb2)],this[j(0xaa)]=Logger[j(0xad)](),this['isLockable']=!!a[j(0xac)],this[j(0xaa)][j(0xa5)](j(0xab)+this[j(0x9b)][j(0xb2)]+j(0xb5)+this[j(0xb9)]['name']+j(0xb3)+this[j(0xa9)]);}['getOtherSide'](a){var k=a41i;return this['roomA']===a?this[k(0xb9)]:this[k(0x9b)];}['attemptUnlock'](a){var l=a41i;if(this['isLocked']&&this[l(0xac)]&&this[l(0xac)]===a)return this['isLocked']=![],this[l(0xaa)][l(0xa5)](l(0xa1)+this[l(0xb2)]+l(0xb1)+a),!![];return this[l(0xaa)][l(0xa5)](l(0xb4)+this['name']+l(0xb1)+a),![];}[a41i(0xa7)](){var m=a41i;return this[m(0xa9)];}['checkIfLockable'](){var n=a41i;return this[n(0x9e)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1+-parseInt(f(0x142))/0x2*(parseInt(f(0x13c))/0x3)+-parseInt(f(0x14d))/0x4+-parseInt(f(0x14e))/0x5*(parseInt(f(0x14f))/0x6)+parseInt(f(0x14a))/0x7+-parseInt(f(0x159))/0x8*(parseInt(f(0x144))/0x9)+parseInt(f(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc8bca));const a42b=(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;};}()),a42a=a42b(this,function(){const g=a42d;return a42a['toString']()[g(0x14c)](g(0x153))[g(0x156)]()[g(0x160)](a42a)[g(0x14c)](g(0x153));});a42a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a42c(){const q=['name','873jCMETY','get','hasItem','listItems','Added\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','9825102aiZDjP','getAllItems','search','2658892aPvBVU','5188765TpVmns','6WZPiIv','delete','getItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','(((.+)+)+)+$','items','Removed\x20item:\x20','toString','set','addItem','60152gFYtKb','join','getWeight','Retrieved\x20details\x20for\x20item:\x20','removeItem','Checked\x20for\x20item:\x20','toLowerCase','constructor','map','has','\x20from\x20inventory.','keys','logger','\x20in\x20','.\x20Exists:\x20','\x20to\x20inventory.','572259EagNMB','values','6147430wUJdrs','.\x20Item\x20not\x20found.','1617214KkduKe','write','4uhyMsk'];a42c=function(){return q;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x138;let f=c[d];return f;},a42d(a,b);}export class Inventory extends AbstractInventory{[a42h(0x154)];[a42h(0x138)];constructor(){const i=a42h;super(),this[i(0x154)]=new Map(),this[i(0x138)]=Logger['getInstance']();}[a42h(0x158)](a){const j=a42h;this['items'][j(0x157)](a[j(0x143)][j(0x15f)](),a),this['logger'][j(0x141)](j(0x148)+a[j(0x143)]+j(0x13b));}[a42h(0x15d)](a){const k=a42h,b=this[k(0x151)](a);if(b)return this[k(0x154)][k(0x150)](a[k(0x15f)]()),this[k(0x138)][k(0x141)](k(0x155)+a+k(0x163)),b;return this[k(0x138)]['write'](k(0x149)+a+k(0x13f)),null;}[a42h(0x146)](a){const l=a42h,b=this[l(0x154)][l(0x162)](a[l(0x15f)]()),c=[...this[l(0x154)][l(0x164)]()];return this[l(0x138)][l(0x141)](l(0x15e)+a+l(0x139)+c[l(0x15a)](',\x20')+l(0x13a)+b+'.'),b;}[a42h(0x151)](a){const m=a42h,b=this[m(0x154)][m(0x145)](a['toLowerCase']())||null;return b?this[m(0x138)][m(0x141)](m(0x15c)+a+'.'):this[m(0x138)]['write'](m(0x152)+a+m(0x13f)),b;}[a42h(0x147)](){const n=a42h,a=[...this[n(0x154)][n(0x164)]()],b=a[n(0x161)](c=>capitalCase(c));return this[n(0x138)][n(0x141)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a42h(0x15b)](){const o=a42h;let a=0x0;for(const b of this[o(0x154)][o(0x13d)]()){a+=b['weight'];}return a;}[a42h(0x14b)](){const p=a42h;return[...this['items'][p(0x13d)]()];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a43i=a43d;(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x12c))/0x1+-parseInt(f(0x11e))/0x2*(-parseInt(f(0x12f))/0x3)+parseInt(f(0x133))/0x4*(-parseInt(f(0x128))/0x5)+-parseInt(f(0x124))/0x6*(-parseInt(f(0x121))/0x7)+-parseInt(f(0x126))/0x8*(-parseInt(f(0x12d))/0x9)+-parseInt(f(0x125))/0xa*(parseInt(f(0x118))/0xb)+parseInt(f(0x12a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x89eb2));function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x117;var f=c[d];return f;},a43d(a,b);}function a43c(){var l=['rating','apply','1818NYiGzm','8635170uLqFrB','48rqMhqP','(((.+)+)+)+$','5KvBjpF','uuid','5721348XmPXkh','You\x20use\x20the\x20','546413FzTXTL','1178190NtBiiH','description','665715oBTeFW','category','size','color','4417264Lpfdio','.\x20Nothing\x20special\x20happens.','11GUkcdU','shape','use','texture','toString','name','8XZytAV','weight','constructor','21469UhVgfl'];a43c=function(){return l;};return a43c();}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x11c)]()['search'](h(0x127))[h(0x11c)]()[h(0x120)](a43a)['search'](h(0x127));});a43a();import{v4 as a43e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a43i(0x129)];[a43i(0x11d)];[a43i(0x12e)];['size'];[a43i(0x130)];[a43i(0x119)];[a43i(0x132)];[a43i(0x11b)];[a43i(0x122)];[a43i(0x11f)];constructor(a){var j=a43i;super(),this['name']=a[j(0x11d)],this['description']=a[j(0x12e)],this[j(0x131)]=a[j(0x131)],this[j(0x130)]=a[j(0x130)],this[j(0x119)]=a[j(0x119)],this[j(0x132)]=a[j(0x132)],this[j(0x11b)]=a[j(0x11b)],this[j(0x122)]=a[j(0x122)],this['weight']=a[j(0x11f)],this[j(0x129)]=a43e();}[a43i(0x11a)](){var k=a43i;return k(0x12b)+this['name']+k(0x117);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x1a1))/0x1+parseInt(f(0x1a3))/0x2+-parseInt(f(0x1a0))/0x3*(parseInt(f(0x1ac))/0x4)+parseInt(f(0x19e))/0x5+-parseInt(f(0x1a5))/0x6+parseInt(f(0x1ad))/0x7*(parseInt(f(0x1b3))/0x8)+-parseInt(f(0x19d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe3244));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x1b1)](h(0x1aa))[h(0x1af)]()[h(0x1ae)](a44a)[h(0x1b1)]('(((.+)+)+)+$');});a44a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x19c;let f=c[d];return f;},a44d(a,b);}function a44c(){const o=['20kCQqZI','7iOEgLb','constructor','toString','execute','search','moveTo','11449288yrZMIa','rooms','speak','27819351FbFrbC','8001180USLdRA','random','154731fdWkrz','963363hPIuwZ','scene','1230700ExywIb','name','1984884ZpGSuA','floor','_name','length','apply','(((.+)+)+)+$','_dialogue'];a44c=function(){return o;};return a44c();}export class NPC extends Player{[a44i(0x1a7)];[a44i(0x1ab)];[a44i(0x1b4)];[a44i(0x1a2)];constructor(a,b,c,d){const j=a44i;super(d),this[j(0x1a7)]=a,this[j(0x1ab)]=b,this[j(0x1b4)]=c;}get['name'](){const k=a44i;return this[k(0x1a7)];}[a44i(0x19c)](){const l=a44i;return this[l(0x1ab)][Math[l(0x1a6)](Math[l(0x19f)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a44i,b=a[Math[m(0x1a6)](Math[m(0x19f)]()*a[m(0x1a8)])];this[m(0x1b2)](b[m(0x1a4)]);}[a44i(0x1b2)](a){const n=a44i,b={'actor':this,'rooms':this[n(0x1b4)],'scene':this[n(0x1a2)]},c=new GoCommand(b);c[n(0x1b0)]([a]);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x243))/0x1*(parseInt(f(0x1fc))/0x2)+parseInt(f(0x246))/0x3+parseInt(f(0x227))/0x4*(-parseInt(f(0x239))/0x5)+parseInt(f(0x1fd))/0x6*(-parseInt(f(0x219))/0x7)+parseInt(f(0x210))/0x8+parseInt(f(0x20e))/0x9+-parseInt(f(0x231))/0xa*(parseInt(f(0x22d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc2f73));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a[g(0x21e)]()[g(0x236)](g(0x1f0))[g(0x21e)]()[g(0x228)](a45a)[g(0x236)](g(0x1f0));});function a45c(){const A=['feet','boots','leaveRoom','leftHand','hear','Removed\x20','4741058EiIaHW','shield','name','canEquip','armarmor','toString','removeItem','Added\x20','currentLocation','weapon','values','Weapon','log','\x20is\x20now\x20listening\x20in\x20room\x20','572FrVBZC','constructor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','rightHand','includes','legarmor','19998605HwfezB','\x20from\x20player\x27s\x20inventory.','addInventory','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','10kmerCQ','getWeight','logger','speak','_equipment','search','write','_inventory','11755wnNDeT','enterRoom','ArmArmor','torso','determineEquipmentSlot','equipment','\x20in\x20your\x20inventory.','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Nexus','hasItem','518186SWOEOH','BodyArmor','maxCarryingWeight','3147183TITXLR','_maxCarryingWeight','toLowerCase','\x20is\x20no\x20longer\x20listeng\x20in\x20','currentWeight','Hat','addItem','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','(((.+)+)+)+$','head','_playerName','Gloves','removeInventory','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','inventoryItems','unequipBySlot','getInstance','Invalid\x20category\x20or\x20slot:\x20','unequip','startLocation','4VFjHsL','6DGGbgK','.\x20You\x20must\x20unequip\x20it\x20first.','hat','bodyarmor','body\x20armor','legs','helmet','gloves','weight','arms','initialEquipment','category','arm\x20armor','equip','\x20to\x20player\x27s\x20inventory.','Helmet','_currentLocation','7203069JnRwCn','Boots','5954776dRjqul','Max\x20carrying\x20weight\x20must\x20be\x20positive.','LegArmor'];a45c=function(){return A;};return a45c();}a45a();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{[a45h(0x1f2)];['_currentLocation'];[a45h(0x238)];['_equipment'];[a45h(0x247)]=0x32;['logger'];constructor(a){const i=a45h;super(),this[i(0x1f2)]=a['playerName'],this['_currentLocation']=a[i(0x1fb)]||new Room({'name':i(0x241),'description':'A\x20featureless\x20room'}),this[i(0x238)]=new Inventory(),this['logger']=Logger[i(0x1f8)]();if(a?.[i(0x1f6)])for(const b of a[i(0x1f6)]){this[i(0x238)]['addItem'](b);}this['_equipment']=a?.[i(0x207)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a45h(0x21b)](){const j=a45h;return this[j(0x1f2)];}get[a45h(0x221)](){return this['_currentLocation'];}set[a45h(0x221)](a){const k=a45h;this[k(0x20d)]!==a&&(this[k(0x215)](),this[k(0x23a)](a)),this[k(0x20d)]=a;}get['inventory'](){const l=a45h;return this[l(0x238)];}get[a45h(0x23e)](){const m=a45h;return this[m(0x235)];}set[a45h(0x23e)](a){this['_equipment']=a;}get['maxCarryingWeight'](){const n=a45h;return this[n(0x247)];}set[a45h(0x245)](a){const o=a45h;a>0x0?this[o(0x247)]=a:console['error'](o(0x211));}get[a45h(0x24a)](){const p=a45h;let a=this[p(0x238)][p(0x232)]();for(const b in this[p(0x235)]){const c=this[p(0x235)][b];c&&(a+=c[p(0x205)]);}return a;}[a45h(0x22f)](a){const q=a45h;if(this[q(0x24a)]+a['weight']>this[q(0x245)]){this['logger']['write'](q(0x1ef));throw new Error(q(0x229));}this[q(0x238)][q(0x1ee)](a),this[q(0x233)][q(0x237)](q(0x220)+a[q(0x21b)]+q(0x20b));}['removeInventory'](a){const r=a45h;if(this[r(0x238)][r(0x21f)](a['name']))return this[r(0x233)][r(0x237)](r(0x218)+a[r(0x21b)]+r(0x22e)),!![];return this[r(0x233)][r(0x237)]('Failed\x20to\x20remove\x20'+a[r(0x21b)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a45h(0x20a)](a){const s=a45h;if(!this['_inventory'][s(0x242)](a['name']))return'You\x20don\x27t\x20have\x20'+a[s(0x21b)]+s(0x23f);if(!this[s(0x21c)](a))return'You\x20can\x27t\x20equip\x20'+a[s(0x21b)]+'.';const b=this[s(0x23d)](a[s(0x208)]);if(!b)return a[s(0x21b)]+s(0x1f5);if(this['equipment'][b])return s(0x240)+b+s(0x1fe);return this['equipment'][b]=a,this[s(0x1f4)](a),'You\x20equipped\x20'+a[s(0x21b)]+'.';}[a45h(0x1fa)](a){const t=a45h;let b=a;if(!this[t(0x23e)][camelCase(b)]){b=this[t(0x23d)](a);if(!b)return t(0x1f9)+a+'.';}return this[t(0x1f7)](b);}['determineEquipmentSlot'](a){const u=a45h;switch(a[u(0x248)]()){case Category[u(0x224)]['toLowerCase']():return u(0x22a);case Category['Shield']['toLowerCase']():return u(0x216);case Category[u(0x1f3)][u(0x248)]():return u(0x204);case Category[u(0x20c)][u(0x248)]():case Category[u(0x24b)][u(0x248)]():return u(0x1f1);case Category[u(0x20f)][u(0x248)]():return u(0x213);case Category[u(0x212)][u(0x248)]():return u(0x202);case Category[u(0x23b)][u(0x248)]():return'arms';case Category[u(0x244)][u(0x248)]():return u(0x23c);case u(0x222):return u(0x22a);case u(0x21a):return'leftHand';case u(0x204):return'gloves';case u(0x203):case u(0x1ff):return u(0x1f1);case u(0x214):return u(0x213);case'leg\x20armor':case u(0x22c):return u(0x202);case u(0x209):case u(0x21d):return u(0x206);case u(0x201):case u(0x200):case'torso':return u(0x23c);default:return null;}}['canEquip'](a){const v=a45h;return Object[v(0x223)](Category)[v(0x22b)](a[v(0x208)]);}[a45h(0x1f7)](a){const w=a45h,b=this['equipment'][a];if(!b)return w(0x230)+a+'\x20slot.';return this['addInventory'](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b[w(0x21b)]+'.';}[a45h(0x217)](a,b){const x=a45h;a!==this&&this[x(0x233)][x(0x225)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a45h(0x23a)](a){const y=a45h;this[y(0x20d)]=a,a['on'](y(0x234),this['hear']['bind'](this)),this[y(0x233)][y(0x237)](this[y(0x21b)]+y(0x226)+a[y(0x21b)]);}[a45h(0x215)](){const z=a45h;this['_currentLocation']&&(this[z(0x20d)]['off'](z(0x234),this[z(0x217)]['bind'](this)),this[z(0x233)][z(0x237)](this[z(0x21b)]+z(0x249)+this[z(0x20d)][z(0x21b)]));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a46h=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xe9))/0x1+parseInt(f(0xe6))/0x2+parseInt(f(0xf5))/0x3+parseInt(f(0xef))/0x4+parseInt(f(0xea))/0x5*(parseInt(f(0xe8))/0x6)+-parseInt(f(0xf7))/0x7+parseInt(f(0xe3))/0x8*(parseInt(f(0xf6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xc24b0));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()[g(0xe4)](g(0xfc))[g(0xec)]()[g(0xf3)](a46a)[g(0xe4)](g(0xfc));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xe0;var f=c[d];return f;},a46d(a,b);}function a46c(){var l=['toString','solved','rewardItem','859948jOmHnw','solve','riddle','logger','constructor','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','3212562pIhdVC','8140563vULWje','6275878ANpoQV','write','hasItem','matchesRequiredPhrase','requiredPhrase','(((.+)+)+)+$','Puzzle:\x20Correct\x20solution\x20provided.','successMessage','getInstance','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','8ktzZBi','search','requiredItem','1438780HuFYJO','hasRequiredItem','12IxZpdd','1319786YAreQH','256065utCNur','failureMessage'];a46c=function(){return l;};return a46c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a46h(0xf2)]=Logger[a46h(0xe1)]();[a46h(0xed)]=![];[a46h(0xe5)];[a46h(0xfb)];[a46h(0xf1)];[a46h(0xee)];[a46h(0xe0)];['failureMessage'];constructor(a){var i=a46h;super(),this[i(0xe5)]=a[i(0xe5)],this[i(0xfb)]=a['requiredPhrase'],this[i(0xf1)]=a[i(0xf1)],this[i(0xee)]=a[i(0xee)],this['successMessage']=a[i(0xe0)]||'You\x20solved\x20the\x20puzzle!',this[i(0xeb)]=a[i(0xeb)]||i(0xe2);}[a46h(0xe7)](a){var j=a46h;if(this['requiredItem'])return a[j(0xf9)](this[j(0xe5)]);return![];}[a46h(0xfa)](a){return this['requiredPhrase']===a;}[a46h(0xf0)](a,b){var k=a46h;if(this[k(0xed)])return this[k(0xf2)]['write'](k(0xf4)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[k(0xe7)](b)||this[k(0xfa)](a)?(this[k(0xed)]=!![],this[k(0xf2)]['write'](k(0xfd)),{'success':!![],'message':this[k(0xe0)]}):(this[k(0xf2)][k(0xf8)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[k(0xeb)]});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a47i=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xd4;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x103))/0x1*(-parseInt(f(0xf4))/0x2)+-parseInt(f(0x107))/0x3+parseInt(f(0xe8))/0x4*(-parseInt(f(0x106))/0x5)+-parseInt(f(0xf3))/0x6+-parseInt(f(0xef))/0x7*(-parseInt(f(0xf0))/0x8)+parseInt(f(0x102))/0x9*(-parseInt(f(0xfe))/0xa)+parseInt(f(0xde))/0xb*(-parseInt(f(0x101))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xeaf7f));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x100)]('(((.+)+)+)+$')['toString']()[h(0xe6)](a47a)[h(0x100)]('(((.+)+)+)+$');});a47a();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{[a47i(0xd6)]=Logger[a47i(0xf5)]();[a47i(0xfd)];[a47i(0xeb)];[a47i(0x10a)]=new Map();['roomType'];[a47i(0xdf)];[a47i(0xe4)]=new Inventory();constructor(a){const j=a47i;super(),this[j(0xfd)]=a[j(0xfd)],this['description']=a[j(0xeb)],this['roomType']=a[j(0x10f)]||RoomType[j(0xe0)],a['exits']&&(this['exits']=a[j(0x10a)]||new Map()),a[j(0xe4)]&&(this['inventory']=a[j(0xe4)]),a[j(0x10c)]&&(this[j(0x10c)]=a[j(0x10c)]),this[j(0xdf)]=a['isStartRoom']||![],this[j(0xd6)][j(0xff)]('Room\x20created:\x20'+this['name']);}[a47i(0xda)](a,b){const k=a47i;this[k(0xe1)]('speak',a,b);}[a47i(0x104)](a,b,c){const l=a47i;let d=this[l(0xf8)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x10e)](a,d),b['exits'][l(0x10e)](this[l(0xe7)](a),d);}[a47i(0xdd)](a,b){const m=a47i,c=this[m(0x10a)][m(0x10d)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0xff)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0xd4)+d),d?m(0xea)+c[m(0xfd)]+m(0xfb):m(0xea)+c['name']+m(0xe5);}return this[m(0xd6)][m(0xff)](m(0xfa)+a),m(0xdb);}[a47i(0xfc)](a){const n=a47i;return this['logger'][n(0xff)](n(0x105)+a),this[n(0x10a)][n(0x10d)](a);}[a47i(0xe2)](a){const o=a47i,b=this['exits'][o(0x10d)](a),c=b instanceof Door&&b[o(0xd8)]();return this[o(0xd6)][o(0xff)](o(0xe9)+a+o(0xd7)+c),c;}['addItem'](a){const p=a47i;this[p(0xe4)][p(0xed)](a),this['logger']['write'](p(0xf2)+this[p(0xfd)]+':\x20'+a[p(0xfd)]);}[a47i(0xee)](a){const q=a47i;this[q(0xe4)]['hasItem'](a[q(0xfd)])?(this[q(0xe4)][q(0xee)](a['name']),this[q(0xd6)][q(0xff)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[q(0xfd)])):this['logger']['write']('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a['name']);}[a47i(0x10b)](a){const r=a47i;this['puzzle']=a,this[r(0xd6)][r(0xff)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0xfd)]+':\x20'+a['riddle']);}[a47i(0xe7)](a){const s=a47i;switch(a){case'north':return Direction[s(0x109)];case s(0xe3):return Direction[s(0xec)];case s(0xf7):return Direction[s(0xf9)];case'west':return Direction['EAST'];case'up':return Direction['DOWN'];case s(0xd9):return Direction['UP'];default:throw new Error(s(0xd5)+a);}}[a47i(0xf8)](a){const t=a47i;for(const b of this[t(0x10a)][t(0xf6)]()){if(b instanceof Door){if(b[t(0xdc)]===this&&b[t(0xf1)]===a||b[t(0xf1)]===this&&b[t(0xdc)]===a)return b;}}return undefined;}}function a47c(){const u=['There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','roomA','attemptUnlockExit','1208867LjrcdX','isStartRoom','INSIDE','emit','isExitLocked','south','inventory','\x20remains\x20locked.','constructor','getOppositeDirection','1139648yhwqbc','Checking\x20if\x20exit\x20in\x20direction\x20','The\x20','description','NORTH','addItem','removeItem','7CygBBU','14554088MglEAq','roomB','Item\x20added\x20to\x20room\x20','5892102sUYtfX','14ScKttI','getInstance','values','east','findExistingDoor','WEST','No\x20locked\x20exit\x20found\x20in\x20direction\x20','\x20unlocked!','getExit','name','930qhDXLg','write','search','84otclKn','30213tBKvkb','253328zsmjTH','addExit','Fetching\x20exit\x20in\x20direction:\x20','5xIXHdm','845151TwznrF','apply','SOUTH','exits','setPuzzle','puzzle','get','set','roomType','.\x20Success:\x20','Invalid\x20direction:\x20','logger','\x20is\x20locked.\x20Result:\x20','checkIfLocked','down','say'];a47c=function(){return u;};return a47c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a48l=a48d;
|
|
1
|
+
const a48l=a48d;(function(a,b){const i=a48d,c=a();while(!![]){try{const d=parseInt(i(0xbe))/0x1+-parseInt(i(0xb9))/0x2+-parseInt(i(0xf5))/0x3+parseInt(i(0xc5))/0x4*(parseInt(i(0xdc))/0x5)+parseInt(i(0xba))/0x6+-parseInt(i(0xe6))/0x7*(parseInt(i(0xe7))/0x8)+parseInt(i(0xb5))/0x9*(parseInt(i(0xf9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xa8da6));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a48d;if(c){const e=c[j(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const k=a48d;return a48a[k(0xf4)]()[k(0xb2)](k(0xd3))[k(0xf4)]()[k(0xcc)](a48a)['search']('(((.+)+)+)+$');});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xae;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a48c(){const D=['(((.+)+)+)+$','addExit','allActors','player','getRooms','Added\x20room\x20to\x20scene:\x20','currentLocation','hasOwnProperty','removeRoom','5cExobx','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','generateRoomsFromConfig','toUpperCase','addItem','apply','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','delete','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','2773211GfSbRP','24AydheF','rooms','characterLocations','setCharacterLocation','keyRequired','roomConfiguration','isStartRoom','roomFactory','get','getActor','getInstance','Removed\x20room\x20from\x20scene:\x20','Room\x20\x22','toString','2415594ZlItFn','write','direction','warn','1601450OQojAv','Failed\x20to\x20set\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addItemToRoom','name','search','addRoom','exits','45TGkaOc','keys','\x27s\x20location.\x20Room\x20','logger','2238198JqkJks','6225930hOrgxV','join','\x20not\x20found\x20in\x20scene.','from','1374645DivalF','Failed\x20to\x20add\x20item\x20','Actor\x20with\x20name\x20','push','No\x20actor\x20with\x20name\x20','set','length','2365652lBVgSw','actors','\x22\x20does\x20not\x20exist.','getPlayer','initialize','determineStartRoom','has','constructor','setPuzzle','connectRooms','Scene\x20initialized\x20with\x20rooms:\x20','\x20found\x20in\x20the\x20scene.','\x20already\x20exists\x20in\x20the\x20scene.','createExitsFromConfig'];a48c=function(){return D;};return a48c();}export class Scene extends AbstractScene{[a48l(0xe8)];[a48l(0xd6)];[a48l(0xb8)];[a48l(0xc6)];[a48l(0xe9)]=new Map();['roomFactory'];constructor(a){const m=a48l;super(),this[m(0xee)]=new RoomFactory(),this[m(0xd6)]=a['player'],this[m(0xe8)]=this['generateRoomsFromConfig'](a[m(0xec)]),this[m(0xb8)]=Logger[m(0xf1)](),this[m(0xc6)]=new Map(),this['createExitsFromConfig'](a['roomConfiguration']),this[m(0xb8)]['write'](m(0xcf)+Object['keys'](this['rooms'])[m(0xbb)](',\x20'));}[a48l(0xc9)](){const n=a48l;this[n(0xd6)][n(0xd9)]=this[n(0xca)]();}[a48l(0xdf)](a){const o=a48l;if(!this[o(0xee)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0xee)]['createRoom'](c);b[c[o(0xb1)]]=d;}return b;}[a48l(0xd2)](a){const p=a48l;for(const b of a){const c=this[p(0xe8)][b[p(0xb1)]];if(b[p(0xb4)])for(const d of b['exits']){const e=d[p(0xf7)][p(0xe0)](),f=d['targetRoom'],g=d[p(0xeb)],h=this['rooms'][f];h&&c[p(0xd4)](Direction[e],h,g);}}}['addActor'](a){const q=a48l;if(this[q(0xc6)][q(0xcb)](a[q(0xb1)]))throw new Error(q(0xc0)+a[q(0xb1)]+q(0xd1));this['actors'][q(0xc3)](a[q(0xb1)],a);}['removeActor'](a){const r=a48l;if(!this['actors'][r(0xcb)](a))throw new Error(r(0xc2)+a+r(0xd0));this[r(0xc6)][r(0xe4)](a);}[a48l(0xf0)](a){const s=a48l;return this[s(0xc6)][s(0xef)](a);}get[a48l(0xd5)](){const t=a48l;return Array[t(0xbd)](this[t(0xc6)]['values']());}[a48l(0xb3)](a){const u=a48l;this[u(0xe8)][a[u(0xb1)]]=a,this['logger'][u(0xf6)](u(0xd8)+a[u(0xb1)]);}[a48l(0xdb)](a){const v=a48l;return this[v(0xe8)][a]?(delete this[v(0xe8)][a],this[v(0xb8)][v(0xf6)](v(0xf2)+a),!![]):(this[v(0xb8)][v(0xf6)](v(0xde)+a),![]);}[a48l(0xb0)](a,b){const w=a48l,c=this['rooms'][b];c?(c[w(0xe1)](a),this[w(0xb8)]['write']('Added\x20item\x20'+a['name']+'\x20to\x20room\x20'+c['name'])):this['logger'][w(0xf6)](w(0xbf)+a[w(0xb1)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a48l,c=this[x(0xe8)][b];c?(c[x(0xcd)](a),this[x(0xb8)][x(0xf6)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0xb1)])):this['logger'][x(0xf6)](x(0xdd)+b+x(0xbc));}[a48l(0xea)](a,b){const y=a48l,c=this[y(0xe8)][b];c?(this['characterLocations']['set'](a['name'],c),this[y(0xb8)][y(0xf6)](a[y(0xb1)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0xb1)])):this[y(0xb8)][y(0xf6)](y(0xae)+a[y(0xb1)]+y(0xb7)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a48l;return this[z(0xe9)][z(0xef)](a['name']);}[a48l(0xca)](){const A=a48l,a=[];for(const c in this[A(0xe8)]){if(this[A(0xe8)][A(0xda)](c)){const d=this[A(0xe8)][c];d[A(0xed)]&&a[A(0xc1)](d);}}if(a[A(0xc4)]>0x1)throw new Error(A(0xe5));if(a['length']===0x1)return a[0x0];const b=Object[A(0xb6)](this[A(0xe8)]);if(b['length']===0x0)throw new Error(A(0xaf));return console[A(0xf8)](A(0xe3)),this[A(0xe8)][b[0x0]];}[a48l(0xc8)](){return this['player'];}[a48l(0xd7)](){const B=a48l;return this[B(0xe8)];}[a48l(0xce)](a,b,c,d){const C=a48l,e=this[C(0xe8)][a],f=this[C(0xe8)][c];if(!e)throw new Error(C(0xf3)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+C(0xc7));e[C(0xd4)](b,f,d);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a49j=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1+parseInt(f(0x174))/0x2+-parseInt(f(0x178))/0x3+-parseInt(f(0x161))/0x4*(-parseInt(f(0x17d))/0x5)+parseInt(f(0x165))/0x6+parseInt(f(0x188))/0x7+-parseInt(f(0x18a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x2996c));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x186)](h(0x180))['toString']()['constructor'](a49a)[h(0x186)](h(0x180));});a49a();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=a49d;super({'name':a,'description':b,'size':Size[i(0x189)],'category':Category[i(0x16b)],'shape':Shape[i(0x164)],'color':Color[i(0x185)],'texture':Texture['Smooth'],'rating':Rating[i(0x16c)],'weight':0x1});}[a49j(0x17e)](){var k=a49j;return this[k(0x187)];}}function a49c(){var D=['pageCount','Short\x20Sword','Blade','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','A\x20mysterious\x20book.','Large','257438DyuOmX','Grey','Rifle','Metallic','696162XlPzFd','Gloves','Circle','Holy\x20Grail','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','90uFLOTk','use','LegArmor','(((.+)+)+)+$','Smooth','apply','publishDate','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Yellow','search','description','1923670rrylyX','Medium','348408hLyPgo','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','author','BodyArmor','Boots','44776GmnRcL','Brown','Unknown\x20Author','Rectangle','821490jFLaIg','You\x20hold\x20the\x20','Helmet','295983dQxodT','Weapon','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Unknown','Common','Rare'];a49c=function(){return D;};return a49c();}export class Sword extends Item{constructor(a,b){var l=a49j;super({'name':a,'description':b,'size':Size[l(0x189)],'category':Category[l(0x169)],'shape':Shape[l(0x170)],'color':Color[l(0x175)],'texture':Texture[l(0x177)],'rating':Rating[l(0x16c)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a49j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x169)],'shape':Shape[m(0x176)],'color':Color[m(0x162)],'texture':Texture[m(0x177)],'rating':Rating[m(0x16d)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a49j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x167)],'shape':Shape[n(0x17a)],'color':Color[n(0x175)],'texture':Texture['Metallic'],'rating':Rating[n(0x16c)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a49j;super({'name':a,'description':b,'size':Size[o(0x173)],'category':Category[o(0x18d)],'shape':Shape[o(0x164)],'color':Color[o(0x175)],'texture':Texture[o(0x177)],'rating':Rating[o(0x16c)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a49j;super({'name':a,'description':b,'size':Size[p(0x189)],'category':Category[p(0x17f)],'shape':Shape[p(0x164)],'color':Color['Grey'],'texture':Texture[p(0x177)],'rating':Rating[p(0x16c)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a49j;super({'name':a,'description':b,'size':Size[q(0x189)],'category':Category[q(0x160)],'shape':Shape['Circle'],'color':Color[q(0x162)],'texture':Texture[q(0x181)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a49j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x179)],'shape':Shape[r(0x17a)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a49j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[s(0x177)],'rating':Rating[s(0x16c)],'weight':0x3});}}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x160;var f=c[d];return f;},a49d(a,b);}export class Key extends Item{constructor(a,b){var t=a49j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[t(0x164)],'color':Color[t(0x185)],'texture':Texture[t(0x181)],'rating':Rating['Common'],'weight':0x0});}[a49j(0x17e)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a49j;super({'name':a,'description':b,'size':Size[u(0x189)],'category':Category[u(0x169)],'shape':Shape[u(0x170)],'color':Color[u(0x175)],'texture':Texture[u(0x177)],'rating':Rating[u(0x16c)],'weight':0x3});}[a49j(0x17e)](){var v=a49j;return v(0x16a);}}export class Book extends Item{[a49j(0x18c)];[a49j(0x183)];['pageCount'];constructor(a,b=a49j(0x172),c=a49j(0x163)){var w=a49j;super({'name':a,'description':b,'size':Size[w(0x189)],'category':Category['Book'],'shape':Shape[w(0x164)],'color':Color[w(0x162)],'texture':Texture[w(0x181)],'rating':Rating[w(0x16c)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this[w(0x16e)]=0x64;}[a49j(0x17e)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var x=a49j;super({'name':x(0x16f),'description':x(0x171),'size':Size[x(0x189)],'category':Category[x(0x169)],'shape':Shape[x(0x170)],'color':Color[x(0x175)],'texture':Texture[x(0x177)],'rating':Rating[x(0x16c)],'weight':0x3});}[a49j(0x17e)](){var y=a49j;return y(0x16a);}}export class SniperRifle extends Item{constructor(){var z=a49j;super({'name':'Sniper\x20Rifle','description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x173)],'category':Category[z(0x169)],'shape':Shape[z(0x176)],'color':Color[z(0x162)],'texture':Texture[z(0x181)],'rating':Rating[z(0x16c)],'weight':0x5});}['use'](){var A=a49j;return A(0x17c);}}export class HolyGrail extends Item{constructor(){var B=a49j;super({'name':B(0x17b),'description':B(0x18b),'size':Size['Small'],'category':Category['Cup'],'shape':Shape[B(0x17a)],'color':Color['Gold'],'texture':Texture[B(0x177)],'rating':Rating['Legendary'],'weight':0x1});}['use'](){var C=a49j;return C(0x166)+this['name']+C(0x184);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xd9;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x135))/0x1+parseInt(f(0x114))/0x2*(-parseInt(f(0xda))/0x3)+parseInt(f(0x11d))/0x4*(-parseInt(f(0x13b))/0x5)+-parseInt(f(0xeb))/0x6+parseInt(f(0x12a))/0x7+-parseInt(f(0x121))/0x8*(parseInt(f(0xee))/0x9)+parseInt(f(0xf5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x5552b));function a51c(){const j=['A\x20chalice\x20made\x20of\x20pure\x20gold.','outside','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','shield','Study','Alchemy\x20Lab','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','That\x20passcode\x20is\x20incorrect','Gang\x20Insignia','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','south','sword','1694694WpnUFJ','A\x20long-range\x20weapon.','book','5852376rkzbMu','Treasure\x20Room','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','holyGrail','Barrens\x20Hideout','14035040fUWgOg','Armory','Jackpoint\x20Login','west','Entrance\x20Hall','Sniper\x20Rifle','A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.','Corp\x20Enclave','NORTH','The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','Mage\x27s\x20Lair','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','toString','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','Encrypted\x20Data\x20Key','key','Central\x20Chamber','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','Golden\x20Chalice','Empty\x20vial','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','east','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','apply','A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','Corporate\x20Creditstick','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','656dNtYuw','The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','rifle','The\x20legendary\x20Holy\x20Grail.','Central\x20Chamber\x20Key','Rigger\x27s\x20Workshop','An\x20old\x20and\x20rusted\x20sword.','inside','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','1867196YjWAKE','cup','A\x20clear\x20glass\x20vial.','disenchant','8qbvrqy','Watch\x20Tower','OUTSIDE','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','weapon','insert\x20gem','down','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','2746506fINYeU','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','Barrens\x20Entrance','Rusted\x20Sword','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','Golden\x20Key','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','A\x20small\x20surveillance\x20drone.','Downtown\x20Seattle','372645LKmbDO','EAST','north','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','basic','open\x20sesame','5CmjFbi','Library','Torture\x20Chamber','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','Secret\x20Passage','Chad\x20the\x20stupid\x20guard','The\x20data\x20remains\x20encrypted.','MCT\x20Fly-Spy','A\x20book\x20containing\x20a\x20mysterious\x20riddle.','(((.+)+)+)+$','SOUTH','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','gem','document','Matrix\x20Data\x20Haven','3837ZfDbGN','secret123','The\x20chest\x20remains\x20firmly\x20shut.'];a51c=function(){return j;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()['search'](h(0x144))[h(0x102)]()['constructor'](a51a)['search'](h(0x144));});a51a();export const rooms=[{'name':a51i(0x13c),'description':'A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','isStartRoom':!![],'items':[{'type':a51i(0x105),'name':a51i(0x131),'description':a51i(0xe4)},{'type':a51i(0xed),'name':'Guard\x27s\x20Log\x20Book','description':'A\x20thin\x20log\x20book','content':a51i(0x140)}],'exits':[{'direction':a51i(0x136),'targetRoom':a51i(0x13f)}]},{'name':'Secret\x20Passage','description':a51i(0x125),'exits':[{'direction':a51i(0xfd),'targetRoom':a51i(0xef),'keyRequired':'Golden\x20Key'},{'direction':a51i(0x145),'targetRoom':'Courtyard'}]},{'name':a51i(0xef),'description':a51i(0x110),'items':[{'type':a51i(0xf3),'name':'Holy\x20Grail','description':a51i(0x117)}]},{'name':'Courtyard','description':'A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','roomType':a51i(0x123),'exits':[{'direction':'UP','targetRoom':a51i(0x122)}]},{'name':a51i(0x122),'description':a51i(0xf0),'roomType':a51i(0x123),'puzzle':{'requiredPhrase':a51i(0xdb),'riddle':a51i(0xf2),'rewardItem':{'type':a51i(0x116),'name':a51i(0xfa),'description':a51i(0xec)},'successMessage':'You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','failureMessage':a51i(0xe5)}}];export const dungeonConfig=[{'name':a51i(0xf9),'description':a51i(0xe7),'isStartRoom':!![],'roomType':'inside','puzzle':{'requiredPhrase':a51i(0x13a),'riddle':a51i(0x101),'rewardItem':{'type':a51i(0x105),'name':a51i(0x118),'description':a51i(0x146)},'successMessage':'The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','failureMessage':'Nothing\x20happens.'},'exits':[{'direction':a51i(0x137),'targetRoom':a51i(0xe2)},{'direction':a51i(0x10c),'targetRoom':a51i(0x106),'keyRequired':'Central\x20Chamber\x20Key'}]},{'name':a51i(0xe2),'description':a51i(0x124),'roomType':a51i(0x11b),'items':[{'type':a51i(0xed),'name':'Riddle\x20Book','description':a51i(0x143),'content':'When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!'},{'type':'key','name':a51i(0x118),'description':a51i(0x146)}],'exits':[{'direction':'south','targetRoom':a51i(0xf9)},{'direction':a51i(0x10c),'targetRoom':a51i(0xe3)}]},{'name':a51i(0xe3),'description':a51i(0x107),'roomType':a51i(0x11b),'items':[{'type':a51i(0x139),'name':a51i(0x10a),'description':a51i(0x11f)}],'exits':[{'direction':a51i(0xf8),'targetRoom':a51i(0xe2)},{'direction':a51i(0x137),'targetRoom':a51i(0xf6)}]},{'name':'Armory','description':'Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','roomType':a51i(0x11b),'items':[{'type':a51i(0xe1),'name':'Emblem\x20Shield','description':a51i(0x113)},{'type':a51i(0xea),'name':a51i(0x12f),'description':a51i(0x11a)}],'exits':[{'direction':a51i(0xe9),'targetRoom':a51i(0xe3)},{'direction':a51i(0x10c),'targetRoom':a51i(0x106)}]},{'name':'Central\x20Chamber','description':'A\x20large\x20circular\x20room\x20with\x20four\x20doors.','roomType':a51i(0x11b),'exits':[{'direction':'west','targetRoom':a51i(0xf6)},{'direction':a51i(0xe9),'targetRoom':a51i(0xf9)},{'direction':a51i(0x137),'targetRoom':'Torture\x20Chamber'},{'direction':a51i(0x10c),'targetRoom':a51i(0xef)}]},{'name':a51i(0x13d),'description':a51i(0x10d),'roomType':'inside','items':[{'type':a51i(0x105),'name':'Blood-stained\x20Key','description':'A\x20key\x20stained\x20with\x20old\x20blood.'}],'puzzle':{'requiredPhrase':'release','riddle':a51i(0x11c),'rewardItem':{'type':a51i(0x147),'name':'Ancient\x20Gem','description':a51i(0x138)},'successMessage':a51i(0x115),'failureMessage':a51i(0x108)},'exits':[{'direction':'south','targetRoom':a51i(0x106)}]},{'name':a51i(0xef),'description':'Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','roomType':a51i(0x11b),'puzzle':{'requiredPhrase':a51i(0x127),'riddle':a51i(0xe8),'rewardItem':{'type':a51i(0x11e),'name':a51i(0x109),'description':a51i(0xdd)},'successMessage':a51i(0x12c),'failureMessage':a51i(0xdc)},'exits':[{'direction':a51i(0xf8),'targetRoom':'Central\x20Chamber'}]}];export const shadowrunConfig=[{'name':a51i(0xf7),'description':'A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','isStartRoom':!![],'roomType':a51i(0x11b),'exits':[{'direction':'north','targetRoom':a51i(0x134)},{'direction':'up','targetRoom':a51i(0xd9)}]},{'name':'Matrix\x20Data\x20Haven','description':a51i(0xff),'roomType':'inside','puzzle':{'requiredPhrase':'decrypt','riddle':a51i(0x12d),'rewardItem':{'type':a51i(0x105),'name':a51i(0x104),'description':a51i(0x130)},'successMessage':a51i(0x13e),'failureMessage':a51i(0x141)},'exits':[{'direction':a51i(0x128),'targetRoom':a51i(0xf7)}]},{'name':a51i(0x134),'description':'The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','roomType':a51i(0xde),'exits':[{'direction':a51i(0xe9),'targetRoom':a51i(0xf7)},{'direction':a51i(0x10c),'targetRoom':'Barrens\x20Entrance'},{'direction':a51i(0xf8),'targetRoom':a51i(0xfc)}]},{'name':a51i(0x12e),'description':a51i(0x132),'roomType':a51i(0xde),'puzzle':{'requiredPhrase':'show\x20loyalty','riddle':a51i(0xf1),'rewardItem':{'type':a51i(0x105),'name':a51i(0xe6),'description':a51i(0x12b)},'successMessage':a51i(0xdf),'failureMessage':'The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.'},'exits':[{'direction':'west','targetRoom':a51i(0x134)},{'direction':a51i(0x137),'targetRoom':a51i(0xf4)}]},{'name':a51i(0xfc),'description':a51i(0xe0),'roomType':a51i(0x11b),'items':[{'type':'creditstick','name':a51i(0x111),'description':'A\x20creditstick\x20loaded\x20with\x20nuyen.'},{'type':a51i(0x148),'name':'CorpSec\x20Plans','description':'Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.'}],'exits':[{'direction':'east','targetRoom':'Downtown\x20Seattle'}]},{'name':a51i(0xf4),'description':a51i(0x10b),'roomType':a51i(0xde),'items':[{'type':a51i(0x126),'name':'Ares\x20Predator','description':'A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.'}],'exits':[{'direction':a51i(0xe9),'targetRoom':a51i(0x12e)},{'direction':a51i(0x137),'targetRoom':'Mage\x27s\x20Lair'},{'direction':a51i(0x10c),'targetRoom':a51i(0x119)}]},{'name':a51i(0x100),'description':a51i(0x10f),'roomType':'inside','puzzle':{'requiredPhrase':a51i(0x120),'riddle':a51i(0x112),'rewardItem':{'type':'amulet','name':'Amulet\x20of\x20Awakening','description':a51i(0xfb)},'successMessage':a51i(0xfe),'failureMessage':a51i(0x103)},'exits':[{'direction':a51i(0xe9),'targetRoom':'Barrens\x20Hideout'}]},{'name':a51i(0x119),'description':a51i(0x129),'roomType':a51i(0x11b),'items':[{'type':'drone','name':a51i(0x142),'description':a51i(0x133)}],'exits':[{'direction':a51i(0xf8),'targetRoom':a51i(0xf4)}]}];
|
|
1
|
+
function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x10e;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x14f))/0x1*(-parseInt(f(0x156))/0x2)+-parseInt(f(0x14c))/0x3*(-parseInt(f(0x185))/0x4)+-parseInt(f(0x126))/0x5*(-parseInt(f(0x180))/0x6)+parseInt(f(0x11c))/0x7*(-parseInt(f(0x124))/0x8)+parseInt(f(0x13e))/0x9+-parseInt(f(0x114))/0xa+parseInt(f(0x151))/0xb*(-parseInt(f(0x16b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x86521));function a51c(){const j=['The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','1949056kGRxxI','holyGrail','4026370pWOiaq','That\x20passcode\x20is\x20incorrect','Gang\x20Insignia','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','outside','Treasure\x20Room','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','show\x20loyalty','east','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','Riddle\x20Book','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','toString','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','Emblem\x20Shield','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','creditstick','Barrens\x20Entrance','Nothing\x20happens.','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','Secret\x20Passage','Library','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','5033457aZQYib','CorpSec\x20Plans','Golden\x20Key','(((.+)+)+)+$','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','Alchemy\x20Lab','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','Armory','amulet','Barrens\x20Hideout','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','99kaMzNS','basic','Ares\x20Predator','1djkyHo','The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','15194861SbrOYP','Guard\x27s\x20Log\x20Book','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','Courtyard','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','1186606HCHiYe','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','Holy\x20Grail','south','A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','MCT\x20Fly-Spy','Watch\x20Tower','A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.','Matrix\x20Data\x20Haven','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','Central\x20Chamber','A\x20book\x20containing\x20a\x20mysterious\x20riddle.','north','A\x20key\x20stained\x20with\x20old\x20blood.','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','secret123','Jackpoint\x20Login','Blood-stained\x20Key','key','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','disenchant','12AWsCyC','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','Central\x20Chamber\x20Key','A\x20long-range\x20weapon.','Ancient\x20Gem','Rigger\x27s\x20Workshop','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','Torture\x20Chamber','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','book','OUTSIDE','Study','insert\x20gem','A\x20creditstick\x20loaded\x20with\x20nuyen.','Amulet\x20of\x20Awakening','drone','inside','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','Chad\x20the\x20stupid\x20guard','west','6lvpKGz','open\x20sesame','EAST','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','shield','129092rnKZno','Corporate\x20Creditstick','gem','A\x20chalice\x20made\x20of\x20pure\x20gold.','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','An\x20old\x20and\x20rusted\x20sword.','search','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','8476990sXMamN','Rusted\x20Sword','Downtown\x20Seattle','document','down','Corp\x20Enclave','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','Mage\x27s\x20Lair','7OeBsLD','apply','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','sword','Sniper\x20Rifle'];a51c=function(){return j;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x133)]()[h(0x112)](h(0x141))[h(0x133)]()['constructor'](a51a)[h(0x112)](h(0x141));});a51a();export const rooms=[{'name':a51i(0x13c),'description':a51i(0x131),'isStartRoom':!![],'items':[{'type':'key','name':a51i(0x140),'description':a51i(0x13a)},{'type':a51i(0x174),'name':a51i(0x152),'description':'A\x20thin\x20log\x20book','content':a51i(0x17e)}],'exits':[{'direction':a51i(0x182),'targetRoom':a51i(0x13b)}]},{'name':a51i(0x13b),'description':a51i(0x11e),'exits':[{'direction':'NORTH','targetRoom':a51i(0x12b),'keyRequired':a51i(0x140)},{'direction':'SOUTH','targetRoom':'Courtyard'}]},{'name':'Treasure\x20Room','description':a51i(0x164),'items':[{'type':a51i(0x125),'name':a51i(0x158),'description':'The\x20legendary\x20Holy\x20Grail.'}]},{'name':a51i(0x154),'description':'A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','roomType':a51i(0x175),'exits':[{'direction':'UP','targetRoom':a51i(0x15c)}]},{'name':a51i(0x15c),'description':a51i(0x122),'roomType':'OUTSIDE','puzzle':{'requiredPhrase':a51i(0x165),'riddle':a51i(0x136),'rewardItem':{'type':'rifle','name':a51i(0x120),'description':a51i(0x16e)},'successMessage':a51i(0x132),'failureMessage':a51i(0x127)}}];export const dungeonConfig=[{'name':'Entrance\x20Hall','description':a51i(0x157),'isStartRoom':!![],'roomType':'inside','puzzle':{'requiredPhrase':a51i(0x181),'riddle':a51i(0x17c),'rewardItem':{'type':a51i(0x168),'name':a51i(0x16d),'description':a51i(0x123)},'successMessage':a51i(0x183),'failureMessage':a51i(0x139)},'exits':[{'direction':a51i(0x162),'targetRoom':a51i(0x176)},{'direction':a51i(0x12e),'targetRoom':a51i(0x160),'keyRequired':a51i(0x16d)}]},{'name':a51i(0x176),'description':a51i(0x173),'roomType':a51i(0x17b),'items':[{'type':a51i(0x174),'name':a51i(0x130),'description':a51i(0x161),'content':a51i(0x145)},{'type':'key','name':a51i(0x16d),'description':a51i(0x123)}],'exits':[{'direction':'south','targetRoom':'Entrance\x20Hall'},{'direction':'east','targetRoom':'Alchemy\x20Lab'}]},{'name':a51i(0x146),'description':a51i(0x12c),'roomType':'inside','items':[{'type':a51i(0x14d),'name':'Empty\x20vial','description':'A\x20clear\x20glass\x20vial.'}],'exits':[{'direction':a51i(0x17f),'targetRoom':a51i(0x176)},{'direction':a51i(0x162),'targetRoom':a51i(0x148)}]},{'name':a51i(0x148),'description':'Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','roomType':'inside','items':[{'type':a51i(0x184),'name':a51i(0x135),'description':a51i(0x10f)},{'type':a51i(0x11f),'name':a51i(0x115),'description':a51i(0x111)}],'exits':[{'direction':a51i(0x159),'targetRoom':'Alchemy\x20Lab'},{'direction':a51i(0x12e),'targetRoom':a51i(0x160)}]},{'name':a51i(0x160),'description':a51i(0x142),'roomType':a51i(0x17b),'exits':[{'direction':a51i(0x17f),'targetRoom':a51i(0x148)},{'direction':'south','targetRoom':'Entrance\x20Hall'},{'direction':a51i(0x162),'targetRoom':a51i(0x172)},{'direction':a51i(0x12e),'targetRoom':a51i(0x12b)}]},{'name':a51i(0x172),'description':a51i(0x171),'roomType':'inside','items':[{'type':a51i(0x168),'name':a51i(0x167),'description':a51i(0x163)}],'puzzle':{'requiredPhrase':'release','riddle':'Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','rewardItem':{'type':a51i(0x187),'name':a51i(0x16f),'description':a51i(0x14b)},'successMessage':a51i(0x150),'failureMessage':a51i(0x17d)},'exits':[{'direction':a51i(0x159),'targetRoom':a51i(0x160)}]},{'name':a51i(0x12b),'description':a51i(0x15f),'roomType':a51i(0x17b),'puzzle':{'requiredPhrase':a51i(0x177),'riddle':a51i(0x153),'rewardItem':{'type':'cup','name':'Golden\x20Chalice','description':a51i(0x188)},'successMessage':'The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','failureMessage':'The\x20chest\x20remains\x20firmly\x20shut.'},'exits':[{'direction':a51i(0x17f),'targetRoom':a51i(0x160)}]}];export const shadowrunConfig=[{'name':a51i(0x166),'description':'A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','isStartRoom':!![],'roomType':a51i(0x17b),'exits':[{'direction':'north','targetRoom':a51i(0x116)},{'direction':'up','targetRoom':a51i(0x15e)}]},{'name':a51i(0x15e),'description':a51i(0x11a),'roomType':a51i(0x17b),'puzzle':{'requiredPhrase':'decrypt','riddle':a51i(0x113),'rewardItem':{'type':a51i(0x168),'name':'Encrypted\x20Data\x20Key','description':a51i(0x10e)},'successMessage':a51i(0x16c),'failureMessage':'The\x20data\x20remains\x20encrypted.'},'exits':[{'direction':a51i(0x118),'targetRoom':a51i(0x166)}]},{'name':a51i(0x116),'description':a51i(0x121),'roomType':a51i(0x12a),'exits':[{'direction':a51i(0x159),'targetRoom':'Jackpoint\x20Login'},{'direction':a51i(0x12e),'targetRoom':a51i(0x138)},{'direction':'west','targetRoom':a51i(0x119)}]},{'name':a51i(0x138),'description':'The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','roomType':a51i(0x12a),'puzzle':{'requiredPhrase':a51i(0x12d),'riddle':a51i(0x143),'rewardItem':{'type':a51i(0x168),'name':a51i(0x128),'description':a51i(0x12f)},'successMessage':'The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','failureMessage':a51i(0x147)},'exits':[{'direction':'west','targetRoom':'Downtown\x20Seattle'},{'direction':'north','targetRoom':a51i(0x14a)}]},{'name':'Corp\x20Enclave','description':a51i(0x155),'roomType':a51i(0x17b),'items':[{'type':a51i(0x137),'name':a51i(0x186),'description':a51i(0x178)},{'type':a51i(0x117),'name':a51i(0x13f),'description':a51i(0x13d)}],'exits':[{'direction':a51i(0x12e),'targetRoom':a51i(0x116)}]},{'name':a51i(0x14a),'description':a51i(0x134),'roomType':a51i(0x12a),'items':[{'type':'weapon','name':a51i(0x14e),'description':a51i(0x129)}],'exits':[{'direction':a51i(0x159),'targetRoom':'Barrens\x20Entrance'},{'direction':'north','targetRoom':'Mage\x27s\x20Lair'},{'direction':a51i(0x12e),'targetRoom':'Rigger\x27s\x20Workshop'}]},{'name':a51i(0x11b),'description':a51i(0x15a),'roomType':a51i(0x17b),'puzzle':{'requiredPhrase':a51i(0x16a),'riddle':a51i(0x144),'rewardItem':{'type':a51i(0x149),'name':a51i(0x179),'description':a51i(0x15d)},'successMessage':'The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','failureMessage':a51i(0x169)},'exits':[{'direction':'south','targetRoom':a51i(0x14a)}]},{'name':a51i(0x170),'description':a51i(0x110),'roomType':'inside','items':[{'type':a51i(0x17a),'name':a51i(0x15b),'description':'A\x20small\x20surveillance\x20drone.'}],'exits':[{'direction':a51i(0x17f),'targetRoom':'Barrens\x20Hideout'}]}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xa7))/0x1*(-parseInt(f(0x9e))/0x2)+parseInt(f(0x88))/0x3*(parseInt(f(0x93))/0x4)+-parseInt(f(0x8f))/0x5*(-parseInt(f(0x8d))/0x6)+parseInt(f(0xa5))/0x7+parseInt(f(0x84))/0x8+-parseInt(f(0x9a))/0x9+-parseInt(f(0x96))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbdfc5));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xa8)]()[h(0x8c)](h(0x90))[h(0xa8)]()[h(0x94)](a52a)[h(0x8c)](h(0x90));});a52a();import{EventEmitter}from'events';export class AbstractScene{[a52i(0x86)];[a52i(0x8a)];[a52i(0x82)];[a52i(0x8e)];}function a52c(){var j=['6lbsEsO','characterLocations','4319685FxbGeo','(((.+)+)+)+$','description','name','11384pweYKC','constructor','shape','39285100bxuCUa','puzzle','_maxCarryingWeight','isLockable','5586975oheoeu','items','uuid','_currentLocation','170pDHeDY','texture','inventory','isStartRoom','exits','roomType','roomB','5977426EfNpVY','size','13014bBXlCV','toString','apply','logger','solved','11603208Lrgjcf','_inventory','rooms','weight','1110rpFQEk','_logger','player','color','search'];a52c=function(){return j;};return a52c();}export class AbstractRoom extends EventEmitter{[a52i(0x92)];[a52i(0x91)];[a52i(0xa2)];[a52i(0xa0)];[a52i(0x97)];[a52i(0xa3)];[a52i(0xa1)];}export class AbstractDoor{['roomA'];[a52i(0xa4)];['isLocked'];['unlockItemOrSolution'];[a52i(0x92)];[a52i(0x82)];[a52i(0x99)];}export class AbstractInventory{[a52i(0x9b)];[a52i(0x82)];}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x82;var f=c[d];return f;},a52d(a,b);}export class AbstractItem{[a52i(0x9c)];[a52i(0x92)];[a52i(0x91)];[a52i(0xa6)];['category'];[a52i(0x95)];[a52i(0x8b)];[a52i(0x9f)];['rating'];[a52i(0x87)];}export class AbstractPlayer{['_playerName'];[a52i(0x9d)];[a52i(0x85)];['_equipment'];[a52i(0x98)];[a52i(0x89)];}export class AbstractPuzzle{['logger'];[a52i(0x83)];}
|