@maka/maka-cli 4.5.25 → 4.5.26
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/templates/react/hook/hook.js.jsx +1 -1
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +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
|
-
const
|
|
1
|
+
function a34c(){const k=['write','6973746CVnqqp','72feYVXM','actor','675180jnMIIl','search','unqeuip','toLowerCase','748827FGhEgi','description','1800495haVtEe','73768bwDifX','5PdRPiS','toString','execute','verb','UnequipCommand:\x20','7060249KYvFoI','78326uOkeZI','Unequip\x20an\x20item.','apply'];a34c=function(){return k;};return a34c();}const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1*(parseInt(f(0x13a))/0x2)+parseInt(f(0x141))/0x3+-parseInt(f(0x133))/0x4+-parseInt(f(0x147))/0x5+parseInt(f(0x13e))/0x6+-parseInt(f(0x139))/0x7+parseInt(f(0x13f))/0x8*(parseInt(f(0x145))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xe6acd));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x135)]()[h(0x142)]('(((.+)+)+)+$')[h(0x135)]()['constructor'](a34a)['search']('(((.+)+)+)+$');});a34a();import{Command}from'./command.js';class UnequipCommand extends Command{static [a34i(0x137)]=a34i(0x143);static [a34i(0x146)]=a34i(0x13b);[a34i(0x136)](a){const j=a34i,b=a['join']('\x20')[j(0x144)](),c=this[j(0x140)]['unequip'](b);return this['logger'][j(0x13d)](j(0x138)+this[j(0x140)]['name']+'\x20unqeuiped\x20'+c),c;}}function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x133;let f=c[d];return f;},a34d(a,b);}export{UnequipCommand};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a35k=a35d;(function(a,b){const h=a35d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a35k=a35d;function a35c(){const m=['14RsxrIT','inventory','execute','hasItem','length','681704jDJpEP','logger','unlock','\x20is\x20attempted\x20to\x20unlock\x20','90ehYTcx','1425716qymFtt','error','constructor','\x22\x20here.','apply','attemptUnlockExit','exits','(((.+)+)+)+$','search','878nBrmUs','getItem','description','458133TJlVUw','toString','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','3860898IRbxoq','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','779560iLBsKi','actor','unlockItemOrSolution','verb','write','toLowerCase','UnlockCommand:\x20','3801DMZkvC','has','1751607aAzmwL','There\x27s\x20no\x20door\x20named\x20\x22','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','Unlock\x20a\x20door.','name'];a35c=function(){return m;};return a35c();}(function(a,b){const h=a35d,c=a();while(!![]){try{const d=parseInt(h(0x167))/0x1+-parseInt(h(0x164))/0x2*(parseInt(h(0x174))/0x3)+-parseInt(h(0x15b))/0x4+parseInt(h(0x16d))/0x5+-parseInt(h(0x16b))/0x6+parseInt(h(0x17b))/0x7*(-parseInt(h(0x180))/0x8)+parseInt(h(0x176))/0x9*(parseInt(h(0x15a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x9c07d));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a35d;if(c){const e=c[i(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const j=a35d;return a35a[j(0x168)]()[j(0x163)](j(0x162))[j(0x168)]()[j(0x15d)](a35a)['search']('(((.+)+)+)+$');});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x157;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(0x170)]=a35k(0x158);static [a35k(0x166)]=a35k(0x179);[a35k(0x17d)](a){return this['unlock'](a);}['unlock'](a){const l=a35k;if(a[l(0x17f)]===0x0)return this[l(0x157)][l(0x15c)]('UnlockCommand:\x20No\x20target\x20specified.'),l(0x16a);const b=a[0x0][l(0x172)](),c=this[l(0x16e)]['currentLocation'];if(this['isValidDirection'](b)&&c[l(0x161)][l(0x175)](b)){const d=c[l(0x161)]['get'](b);if(d instanceof Door){const e=d[l(0x16f)]?.[l(0x172)]();if(e&&this[l(0x16e)]['inventory'][l(0x17e)](e)){const f=this['actor'][l(0x17c)][l(0x165)](e);if(f){const g=c[l(0x160)](b,f[l(0x17a)]);return this[l(0x157)][l(0x171)](l(0x173)+this['actor']['name']+l(0x159)+b+'.\x20Result:\x20'+g),g;}}return this[l(0x157)]['write'](l(0x173)+this[l(0x16e)][l(0x17a)]+l(0x16c)+b+'.'),l(0x169);}else return this[l(0x157)]['write'](l(0x173)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x17a)]+'.'),l(0x177)+b+l(0x15e);}else return this['logger'][l(0x171)](l(0x173)+b+l(0x178)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x15e);}}export{UnlockCommand};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d
|
|
1
|
+
const a36i=a36d;function a36c(){const l=['name','\x20used\x20','description','verb','constructor','204265yUDUbF','actor','8HVqDjx','getItem','17545627tJrnXe','UseCommand:\x20','\x20attempted\x20to\x20use\x20','apply','\x20not\x20retrieved\x20from\x20','12523509TXQzls','\x27s\x20inventory.','toString','\x20doesn\x27t\x20have\x20a\x20use\x20method.','search','\x20to\x20use.','join','6STwrtQ','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20','114wpmsHk','7088250FiDCbK','write','hasItem','114661fGQYsd','3270596wOyYtp','\x20in\x20this\x20way.','63303yeKdAl','execute','function',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','logger','inventory','148ssqyoS','toLowerCase','use','Use\x20an\x20item.'];a36c=function(){return l;};return a36c();}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0x99))/0x1+-parseInt(f(0x95))/0x2*(-parseInt(f(0x9c))/0x3)+parseInt(f(0xa2))/0x4*(-parseInt(f(0x82))/0x5)+-parseInt(f(0x92))/0x6*(-parseInt(f(0x9a))/0x7)+parseInt(f(0x84))/0x8*(parseInt(f(0x8b))/0x9)+parseInt(f(0x96))/0xa+-parseInt(f(0x86))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbe072));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x8d)]()[h(0x8f)]('(((.+)+)+)+$')[h(0x8d)]()[h(0x81)](a36a)['search'](h(0x93));});a36a();import{Command}from'./command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x7d;let f=c[d];return f;},a36d(a,b);}class UseCommand extends Command{static [a36i(0x80)]=a36i(0xa4);static [a36i(0x7f)]=a36i(0xa5);[a36i(0x9d)](a){const j=a36i;return this[j(0xa4)](a);}[a36i(0xa4)](a){const k=a36i,b=a[k(0x91)]('\x20')[k(0xa3)]();if(!this[k(0x83)][k(0xa1)][k(0x98)](b))return this['logger'][k(0x97)](k(0x87)+this['actor'][k(0x7d)]+k(0x88)+b+k(0x9f)),k(0x94)+b+k(0x90);const c=this['actor']['inventory'][k(0x85)](b);if(!c)return this[k(0xa0)]['write'](k(0x87)+b+k(0x8a)+this['actor']['name']+k(0x8c)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x90);if(typeof c[k(0xa4)]===k(0x9e)){const d=c[k(0xa4)]();return this[k(0xa0)][k(0x97)]('UseCommand:\x20'+this[k(0x83)][k(0x7d)]+k(0x7e)+b+'.'),d;}else return this[k(0xa0)][k(0x97)](k(0x87)+b+k(0x8e)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x9b);}}export{UseCommand};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d
|
|
1
|
+
const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x18c))/0x1+parseInt(f(0x188))/0x2*(-parseInt(f(0x193))/0x3)+-parseInt(f(0x192))/0x4+-parseInt(f(0x186))/0x5+parseInt(f(0x184))/0x6+parseInt(f(0x191))/0x7+parseInt(f(0x187))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x3baac));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x18d)]()[h(0x189)](h(0x18b))[h(0x18d)]()[h(0x190)](a37a)[h(0x189)](h(0x18b));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x184;let f=c[d];return f;},a37d(a,b);}class CommandFactory{static ['commandMap']={};static[a37i(0x18e)](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const j=a37i,c=this[j(0x18a)][a];if(c)return new c(b);return null;}static[a37i(0x18f)](){const k=a37i;return this[k(0x18a)];}}export{CommandFactory};function a37c(){const l=['commandMap','(((.+)+)+)+$','360640XNxjVV','toString','registerCommand','getAllRegisteredCommands','constructor','245182TwxBhk','1299248VDiJwa','232473aGUEHn','2891658xtUCWL','apply','1488140FKpWAl','3013456RHzODM','10mTCPMy','search'];a37c=function(){return l;};return a37c();}
|
|
@@ -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(0x173))/0x1+-parseInt(f(0x16e))/0x2+-parseInt(f(0x183))/0x3*(parseInt(f(0x166))/0x4)+parseInt(f(0x17e))/0x5*(parseInt(f(0x17a))/0x6)+parseInt(f(0x16c))/0x7+parseInt(f(0x17c))/0x8*(parseInt(f(0x176))/0x9)+-parseInt(f(0x180))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x341dd));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x162;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x179)]()['search']('(((.+)+)+)+$')['toString']()[h(0x163)](a38a)['search']('(((.+)+)+)+$');});a38a();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 a38c(){const o=['items','168jJKgMT','createPuzzle','815gdMpzn','apply','1509340FfbhBC','setPuzzle','forEach','12FzUPIp','puzzle','boots','constructor','description','createItem','152332flABgK','gauntlets','INSIDE','key','name','roomType','2913729qconun','createRoom','674920RCSPDj','addItem','content','helmet','legarmor','148980yiZBIX','convertToRoomConfig','toUpperCase','52659JZaDyp','rewardItem','sword','toString','6114ecAkLx'];a38c=function(){return o;};return a38c();}export class RoomFactory{[a38i(0x16d)](a){const j=a38i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0x17b)]){const d=new Inventory();a[j(0x17b)][j(0x182)](e=>{const k=j;d[k(0x16f)](this[k(0x165)](e));}),c['inventory']=d;}return a['puzzle']&&c[j(0x181)](this[j(0x17d)](a[j(0x184)])),c;}['createItem'](a){const l=a38i;switch(a['type']){case l(0x169):return new Key(a['name'],a[l(0x164)]);case'book':return new Book(a['name'],a[l(0x164)],a[l(0x170)]);case l(0x178):return new Sword(a[l(0x16a)],a[l(0x164)]);case'rifle':return new Rifle(a['name'],a[l(0x164)]);case l(0x171):return new Helmet(a[l(0x16a)],a['description']);case'bodyarmor':return new BodyArmor(a[l(0x16a)],a[l(0x164)]);case l(0x172):return new LegArmor(a[l(0x16a)],a[l(0x164)]);case l(0x162):return new Boots(a['name'],a[l(0x164)]);case'gloves':return new Gloves(a[l(0x16a)],a[l(0x164)]);case l(0x167):return new Gauntlets(a[l(0x16a)],a[l(0x164)]);default:return new BasicItem(a[l(0x16a)],a['description']);}}['createPuzzle'](a){const m=a38i,b=this[m(0x165)](a[m(0x177)]);return new Puzzle({...a,'rewardItem':b});}[a38i(0x174)](a){const n=a38i,b=a[n(0x16b)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0x16b)][n(0x175)]()]:RoomType[n(0x168)];return{'name':a[n(0x16a)],'description':a[n(0x164)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39k=a39d;(function(a,b){const h=a39d,c=a();while(!![]){try{const d=parseInt(h(0xf7))/0x1*(-parseInt(h(0xfd))/0x2)+parseInt(h(0x101))/0x3*(-parseInt(h(0x104))/0x4)+-parseInt(h(0x105))/0x5+parseInt(h(0xf1))/0x6*(parseInt(h(0xfb))/0x7)+-parseInt(h(0xdc))/0x8+parseInt(h(0xe9))/0x9+-parseInt(h(0xf3))/0xa*(-parseInt(h(0x108))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xade33));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a39d;if(c){const e=c[i(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const j=a39d;return a39a['toString']()[j(0xdb)](j(0xf0))[j(0xe3)]()[j(0xe5)](a39a)['search'](j(0xf0));});a39a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';function a39c(){const s=['6715845HaRokQ','player','handleInput','230725YoFBSl','toLowerCase','maka','instance','registerCommand','hasOwnProperty','-\x20quit:\x20Exit\x20the\x20game.\x0a','currentRoom','take','-\x20clear:\x20Clear\x20the\x20screen.\x0a','help','search','10347760mBmQjX','getAllRegisteredCommands','lock','getRooms','say','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','getHelpMessage','toString','initialize','constructor','slice','getInstance','quit','3482280DMvmtL','Welcome,\x20','determineStartRoom','name','drop','execute','apply','(((.+)+)+)+$','6IBVpTd','scene','1770UkJWxJ','getWelcomeMessage','unequip','rooms','1037155doCLCq','look','getDescription','split','6018481RAFLgH','registerCommands','2tDzPMX','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','clear','solve','46479DxnZfq','currentLocation','trim','148iihDoU'];a39c=function(){return s;};return a39c();}import{EquipCommand}from'./commands/equip.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xd8;let f=c[d];return f;},a39d(a,b);}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(0x10b)];['scene'];['player'];[a39k(0x10f)];[a39k(0xf6)];constructor(a,b){const l=a39k;this[l(0x106)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0xf2)][l(0xe4)](),this[l(0x106)][l(0x102)]=this[l(0xeb)](),this[l(0xfc)]();}[a39k(0xfc)](){const m=a39k;CommandFactory[m(0x10c)](m(0xf8),LookCommand),CommandFactory[m(0x10c)]('go',GoCommand),CommandFactory[m(0x10c)](m(0xd8),TakeCommand),CommandFactory[m(0x10c)]('use',UseCommand),CommandFactory[m(0x10c)]('equip',EquipCommand),CommandFactory['registerCommand'](m(0xf5),UnequipCommand),CommandFactory[m(0x10c)](m(0x100),SolveCommand),CommandFactory[m(0x10c)](m(0xed),DropCommand),CommandFactory[m(0x10c)]('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0xde),LockCommand),CommandFactory[m(0x10c)](m(0xdb),SearchCommand),CommandFactory[m(0x10c)](m(0xe0),SayCommand);}[a39k(0xeb)](){const n=a39k;return this[n(0xf2)][n(0xeb)]();}[a39k(0xf4)](){const o=a39k;return o(0xea)+this[o(0x106)][o(0xec)];}static[a39k(0xe7)](a,b){const p=a39k;return!Game[p(0x10b)]&&(Game[p(0x10b)]=new Game(a,b)),Game[p(0x10b)];}[a39k(0x107)](a){const q=a39k,b=a[q(0x103)]()[q(0xfa)]('\x20'),c=b[0x0][q(0x109)](),d=b[q(0xe6)](0x1);if(c===q(0xe8))return null;if(c===q(0x10a))return q(0xe1);if(c===q(0xda))return this[q(0xe2)]();if(c===q(0xff))return'';const e={'actor':this[q(0x106)],'rooms':this['scene'][q(0xdf)](),'scene':this[q(0xf2)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0xee)](d);return g;}return q(0xfe)+c+'\x22.';}[a39k(0xe2)](){const r=a39k,a=CommandFactory[r(0xdd)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x10d)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xf9)]()+'\x0a';}}return b+=r(0xd9),b+=r(0x10e),b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a40d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0xfb))/0x1+-parseInt(f(0x107))/0x2+-parseInt(f(0x100))/0x3+parseInt(f(0xfe))/0x4*(parseInt(f(0xf9))/0x5)+parseInt(f(0x104))/0x6*(parseInt(f(0x103))/0x7)+parseInt(f(0xfd))/0x8*(-parseInt(f(0xff))/0x9)+parseInt(f(0x101))/0xa*(parseInt(f(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc781b));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0xfc)]()[h(0x105)](h(0x106))[h(0xfc)]()[h(0xf8)](a40a)[h(0x105)](h(0x106));});a40a();export*from'./door.js';function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0xf8;var f=c[d];return f;},a40d(a,b);}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a40c(){var i=['14184LTJOxu','153VnFXOO','398892QSnSgr','13366350yWychg','11rjbqpe','399wzbPrL','38238UDklNq','search','(((.+)+)+)+$','2926524wNDesT','constructor','935bSxkbT','apply','436409bHLtpR','toString','181648cYiGYg'];a40c=function(){return i;};return a40c();}export*from'./room.js';export*from'./scene.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a41h=a41d;function a41c(){var n=['\x20and\x20','Door\x20unlocked:\x20','checkIfLocked','.\x20Is\x20Locked:\x20','roomA','getInstance','checkIfLockable','200fZsppI','unlockItemOrSolution','roomB','write','77620fvUBGN','2531736LWqjJO','logger','attemptUnlock','Failed\x20to\x20unlock\x20door:\x20','isLockable','175250ANXaWB','(((.+)+)+)+$','Door\x20created\x20between\x20','toString','586158NsIIbK','.\x20Used:\x20','To\x20','name','568LZyWuv','10260CNvLNV','9WdgcCZ','13461mnzRXs','isLocked','6094010jhjMxC'];a41c=function(){return n;};return a41c();}(function(a,b){var f=a41d,c=a();while(!![]){try{var d=-parseInt(f(0x106))/0x1+parseInt(f(0x10a))/0x2+parseInt(f(0x10f))/0x3*(parseInt(f(0x11b))/0x4)+-parseInt(f(0x11f))/0x5+parseInt(f(0x120))/0x6+-parseInt(f(0x111))/0x7*(-parseInt(f(0x10e))/0x8)+-parseInt(f(0x110))/0x9*(parseInt(f(0x113))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x364b9));var a41b=(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;};}()),a41a=a41b(this,function(){var g=a41d;return a41a['toString']()['search'](g(0x107))[g(0x109)]()['constructor'](a41a)['search'](g(0x107));});function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x102;var f=c[d];return f;},a41d(a,b);}a41a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a41h(0x118)];[a41h(0x11d)];['isLocked'];[a41h(0x11c)];[a41h(0x10d)];[a41h(0x102)];[a41h(0x105)];constructor(a){var i=a41h;super(),this['roomA']=a[i(0x118)],this[i(0x11d)]=a[i(0x11d)],this[i(0x112)]=a[i(0x112)]||![],this[i(0x11c)]=a[i(0x11c)],this[i(0x10d)]=a[i(0x10d)]?capitalCase(a[i(0x10d)]):i(0x10c)+a[i(0x11d)]['name'],this[i(0x102)]=Logger[i(0x119)](),this[i(0x105)]=!!a[i(0x11c)],this[i(0x102)][i(0x11e)](i(0x108)+this[i(0x118)]['name']+i(0x114)+this[i(0x11d)]['name']+i(0x117)+this[i(0x112)]);}['getOtherSide'](a){var j=a41h;return this[j(0x118)]===a?this['roomB']:this[j(0x118)];}[a41h(0x103)](a){var k=a41h;if(this['isLocked']&&this[k(0x11c)]&&this['unlockItemOrSolution']===a)return this[k(0x112)]=![],this[k(0x102)]['write'](k(0x115)+this['name']+'.\x20Used:\x20'+a),!![];return this[k(0x102)][k(0x11e)](k(0x104)+this[k(0x10d)]+k(0x10b)+a),![];}[a41h(0x116)](){var l=a41h;return this[l(0x112)];}[a41h(0x11a)](){var m=a41h;return this[m(0x105)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x70))/0x1+-parseInt(f(0x6b))/0x2*(-parseInt(f(0x85))/0x3)+parseInt(f(0x6e))/0x4*(parseInt(f(0x7b))/0x5)+parseInt(f(0x83))/0x6+parseInt(f(0x69))/0x7*(parseInt(f(0x68))/0x8)+parseInt(f(0x78))/0x9+-parseInt(f(0x6f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x495a5));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(0x81)]('(((.+)+)+)+$')[g(0x84)]()[g(0x6a)](a42a)[g(0x81)]('(((.+)+)+)+$');});a42a();function a42c(){const q=['weight','getInstance','\x20in\x20','logger','map','\x20from\x20inventory.','toLowerCase','getItem','set','listItems','5584ZGIlTR','4991dhQvcv','constructor','64948EmCOlQ','.\x20Item\x20not\x20found.','name','4NdMnpk','17620470IpMqQz','187708hLeIUa','values','removeItem','Removed\x20item:\x20','has','Added\x20item:\x20','items','keys','5108184lueIJa','write','addItem','1106115YGxfrf','getWeight','.\x20Exists:\x20','getAllItems','join','delete','search','Failed\x20to\x20remove\x20item:\x20','1386630XsjaDz','toString','33eOhwjF'];a42c=function(){return q;};return a42c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x68;let f=c[d];return f;},a42d(a,b);}export class Inventory extends AbstractInventory{[a42h(0x76)];[a42h(0x89)];constructor(){const i=a42h;super(),this[i(0x76)]=new Map(),this[i(0x89)]=Logger[i(0x87)]();}[a42h(0x7a)](a){const j=a42h;this[j(0x76)][j(0x8e)](a['name'][j(0x8c)](),a),this[j(0x89)]['write'](j(0x75)+a[j(0x6d)]+'\x20to\x20inventory.');}[a42h(0x72)](a){const k=a42h,b=this[k(0x8d)](a);if(b)return this[k(0x76)][k(0x80)](a['toLowerCase']()),this['logger'][k(0x79)](k(0x73)+a+k(0x8b)),b;return this[k(0x89)][k(0x79)](k(0x82)+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const l=a42h,b=this[l(0x76)][l(0x74)](a['toLowerCase']()),c=[...this[l(0x76)][l(0x77)]()];return this[l(0x89)][l(0x79)]('Checked\x20for\x20item:\x20'+a+l(0x88)+c['join'](',\x20')+l(0x7d)+b+'.'),b;}[a42h(0x8d)](a){const m=a42h,b=this[m(0x76)]['get'](a[m(0x8c)]())||null;return b?this[m(0x89)][m(0x79)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][m(0x79)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0x6c)),b;}[a42h(0x8f)](){const n=a42h,a=[...this[n(0x76)]['keys']()],b=a[n(0x8a)](c=>capitalCase(c));return this[n(0x89)][n(0x79)]('Listed\x20items\x20in\x20inventory:\x20'+b[n(0x7f)](',\x20')+'.'),a;}[a42h(0x7c)](){const o=a42h;let a=0x0;for(const b of this[o(0x76)][o(0x71)]()){a+=b[o(0x86)];}return a;}[a42h(0x7e)](){const p=a42h;return[...this[p(0x76)]['values']()];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a43h=a43d;function
|
|
1
|
+
var a43h=a43d;function a43c(){var k=['748116OnNbna','category','58650kQZuUY','search','weight','488380UXMivK','203744ZasOAm','208002OxMljB','shape','texture','toString','name','7012264giwhoq','color','rating','size','.\x20Nothing\x20special\x20happens.','description','(((.+)+)+)+$','constructor','766180QWoGRL'];a43c=function(){return k;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x124))/0x1+-parseInt(f(0x123))/0x2+parseInt(f(0x135))/0x3+-parseInt(f(0x133))/0x4+-parseInt(f(0x132))/0x5+-parseInt(f(0x125))/0x6+parseInt(f(0x12a))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x30724));var a43b=(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;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x128)]()[g(0x136)]('(((.+)+)+)+$')[g(0x128)]()[g(0x131)](a43a)[g(0x136)](g(0x130));});a43a();import{v4 as a43e}from'uuid';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x123;var f=c[d];return f;},a43d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];['name'];[a43h(0x12f)];[a43h(0x12d)];[a43h(0x134)];[a43h(0x126)];[a43h(0x12b)];['texture'];[a43h(0x12c)];[a43h(0x137)];constructor(a){var i=a43h;super(),this[i(0x129)]=a[i(0x129)],this[i(0x12f)]=a[i(0x12f)],this['size']=a['size'],this[i(0x134)]=a[i(0x134)],this[i(0x126)]=a['shape'],this['color']=a['color'],this[i(0x127)]=a['texture'],this[i(0x12c)]=a[i(0x12c)],this[i(0x137)]=a[i(0x137)],this['uuid']=a43e();}['use'](){var j=a43h;return'You\x20use\x20the\x20'+this[j(0x129)]+j(0x12e);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x13f))/0x1+-parseInt(f(0x13b))/0x2*(-parseInt(f(0x130))/0x3)+parseInt(f(0x136))/0x4*(-parseInt(f(0x144))/0x5)+parseInt(f(0x138))/0x6*(parseInt(f(0x12c))/0x7)+parseInt(f(0x13a))/0x8+-parseInt(f(0x139))/0x9*(-parseInt(f(0x145))/0xa)+-parseInt(f(0x133))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1b190));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x141)](h(0x12e))[h(0x134)]()[h(0x13c)](a44a)[h(0x141)](h(0x12e));});a44a();import{Player}from'./player.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x12c;let f=c[d];return f;},a44d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a44i(0x135)];[a44i(0x12d)];[a44i(0x142)];[a44i(0x13d)];constructor(a,b,c,d){const j=a44i;super(d),this[j(0x135)]=a,this[j(0x12d)]=b,this[j(0x142)]=c;}get[a44i(0x137)](){const k=a44i;return this[k(0x135)];}['speak'](){const l=a44i;return this[l(0x12d)][Math[l(0x132)](Math[l(0x13e)]()*this[l(0x12d)][l(0x140)])];}[a44i(0x143)](a){const m=a44i,b=a[Math[m(0x132)](Math[m(0x13e)]()*a['length'])];this[m(0x12f)](b[m(0x137)]);}[a44i(0x12f)](a){const n=a44i,b={'actor':this,'rooms':this[n(0x142)],'scene':this[n(0x13d)]},c=new GoCommand(b);c['execute']([a]);}}function a44c(){const o=['random','74386DRKAKE','length','search','rooms','autonomousMove','10wwzYhw','60ErhpWV','826063njtdtz','_dialogue','(((.+)+)+)+$','moveTo','3xSxQlA','apply','floor','4728141CVgVuc','toString','_name','26440YOMbhm','name','6gqqQYl','79209SaSwcr','1022056pcgHoQ','362170SvoTMt','constructor','scene'];a44c=function(){return o;};return a44c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a45c(){const z=['gloves','log','A\x20featureless\x20room','7txZJXW','3920QMgQzb','_playerName','speak','enterRoom','torso','startLocation','toLowerCase','_equipment','leftHand','hasItem','unequip','838608JyItQP','(((.+)+)+)+$','toString','maxCarryingWeight','\x20says:\x20\x22','756046GFPbpn','2062705pcWOEh','1585800vJUAxj','name','values','_inventory','constructor','inventory','4050CcQubS','bodyarmor','addItem','playerName','\x20from\x20player\x27s\x20inventory.','write','weight','weapon','Invalid\x20category\x20or\x20slot:\x20','unequipBySlot','\x20slot.','_maxCarryingWeight','off','determineEquipmentSlot','arms','head','\x20is\x20no\x20longer\x20listeng\x20in\x20','legs','logger','You\x20unequipped\x20','\x20is\x20now\x20listening\x20in\x20room\x20','category','BodyArmor','Gloves','3gmJkzw','ArmArmor','helmet','496512nBUNer','search','Removed\x20','You\x20can\x27t\x20equip\x20','armarmor','leg\x20armor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Added\x20','Nexus','rightHand','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','_currentLocation','legarmor','bind','removeItem','currentWeight','feet','Failed\x20to\x20remove\x20','hat','arm\x20armor','addInventory','Shield','currentLocation','boots','equipment','Hat','removeInventory','body\x20armor','equip','leaveRoom','You\x20equipped\x20','inventoryItems','hear','288924NUyPCG','Boots'];a45c=function(){return z;};return a45c();}const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x92))/0x1+parseInt(f(0xc9))/0x2*(-parseInt(f(0x8f))/0x3)+parseInt(f(0xcb))/0x4+parseInt(f(0xca))/0x5+-parseInt(f(0xb3))/0x6*(-parseInt(f(0xb8))/0x7)+parseInt(f(0xc4))/0x8+parseInt(f(0xd1))/0x9*(parseInt(f(0xb9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4069c));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(0xc6)]()[g(0x93)]('(((.+)+)+)+$')['toString']()[g(0xcf)](a45a)[g(0x93)](g(0xc5));});a45a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x83;let f=c[d];return f;},a45d(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{['_playerName'];[a45h(0x9d)];['_inventory'];[a45h(0xc0)];[a45h(0xdc)]=0x32;['logger'];constructor(a){const i=a45h;super(),this['_playerName']=a[i(0xd4)],this[i(0x9d)]=a[i(0xbe)]||new Room({'name':i(0x9a),'description':i(0xb7)}),this[i(0xce)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[i(0xb1)])for(const b of a[i(0xb1)]){this[i(0xce)][i(0xd3)](b);}this[i(0xc0)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a45h(0xcc)](){const j=a45h;return this[j(0xba)];}get[a45h(0xa8)](){return this['_currentLocation'];}set[a45h(0xa8)](a){const k=a45h;this[k(0x9d)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[k(0x9d)]=a;}get[a45h(0xd0)](){const l=a45h;return this[l(0xce)];}get[a45h(0xaa)](){return this['_equipment'];}set[a45h(0xaa)](a){const m=a45h;this[m(0xc0)]=a;}get[a45h(0xc7)](){const n=a45h;return this[n(0xdc)];}set[a45h(0xc7)](a){a>0x0?this['_maxCarryingWeight']=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a45h(0xa1)](){const o=a45h;let a=this[o(0xce)]['getWeight']();for(const b in this[o(0xc0)]){const c=this[o(0xc0)][b];c&&(a+=c[o(0xd7)]);}return a;}[a45h(0xa6)](a){const p=a45h;if(this['currentWeight']+a[p(0xd7)]>this['maxCarryingWeight']){this[p(0x89)][p(0xd6)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory'][p(0xd3)](a),this[p(0x89)][p(0xd6)](p(0x99)+a[p(0xcc)]+'\x20to\x20player\x27s\x20inventory.');}[a45h(0xac)](a){const q=a45h;if(this[q(0xce)][q(0xa0)](a[q(0xcc)]))return this['logger'][q(0xd6)](q(0x94)+a['name']+q(0xd5)),!![];return this[q(0x89)][q(0xd6)](q(0xa3)+a[q(0xcc)]+q(0xd5)),![];}[a45h(0xae)](a){const r=a45h;if(!this[r(0xce)][r(0xc2)](a[r(0xcc)]))return'You\x20don\x27t\x20have\x20'+a[r(0xcc)]+'\x20in\x20your\x20inventory.';if(!this['canEquip'](a))return r(0x95)+a[r(0xcc)]+'.';const b=this['determineEquipmentSlot'](a[r(0x8c)]);if(!b)return a[r(0xcc)]+r(0x98);if(this[r(0xaa)][b])return r(0x9c)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[r(0xaa)][b]=a,this[r(0xac)](a),r(0xb0)+a[r(0xcc)]+'.';}[a45h(0xc3)](a){const s=a45h;let b=a;if(!this[s(0xaa)][camelCase(b)]){b=this[s(0x84)](a);if(!b)return s(0xd9)+a+'.';}return this['unequipBySlot'](b);}[a45h(0x84)](a){const t=a45h;switch(a[t(0xbf)]()){case Category['Weapon'][t(0xbf)]():return'rightHand';case Category[t(0xa7)][t(0xbf)]():return'leftHand';case Category[t(0x8e)][t(0xbf)]():return t(0xb5);case Category['Helmet'][t(0xbf)]():case Category[t(0xab)][t(0xbf)]():return t(0x86);case Category[t(0xb4)][t(0xbf)]():return'feet';case Category['LegArmor'][t(0xbf)]():return t(0x88);case Category[t(0x90)][t(0xbf)]():return t(0x85);case Category[t(0x8d)]['toLowerCase']():return t(0xbd);case t(0xd8):return t(0x9b);case'shield':return t(0xc1);case t(0xb5):return t(0xb5);case t(0x91):case t(0xa4):return'head';case t(0xa9):return t(0xa2);case t(0x97):case t(0x9e):return'legs';case t(0xa5):case t(0x96):return t(0x85);case t(0xad):case t(0xd2):case t(0xbd):return t(0xbd);default:return null;}}['canEquip'](a){const u=a45h;return Object[u(0xcd)](Category)['includes'](a[u(0x8c)]);}[a45h(0xda)](a){const v=a45h,b=this[v(0xaa)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+v(0xdb);return this[v(0xa6)](b),this['equipment'][a]=null,v(0x8a)+b[v(0xcc)]+'.';}[a45h(0xb2)](a,b){const w=a45h;a!==this&&this[w(0x89)][w(0xb6)](a[w(0xcc)]+w(0xc8)+b+'\x22');}[a45h(0xbc)](a){const x=a45h;this[x(0x9d)]=a,a['on'](x(0xbb),this[x(0xb2)][x(0x9f)](this)),this[x(0x89)][x(0xd6)](this[x(0xcc)]+x(0x8b)+a[x(0xcc)]);}[a45h(0xaf)](){const y=a45h;this['_currentLocation']&&(this[y(0x9d)][y(0x83)]('speak',this[y(0xb2)]['bind'](this)),this[y(0x89)][y(0xd6)](this[y(0xcc)]+y(0x87)+this[y(0x9d)][y(0xcc)]));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x95))/0x1*(-parseInt(f(0xa1))/0x2)+parseInt(f(0x9d))/0x3*(-parseInt(f(0xa7))/0x4)+-parseInt(f(0xaf))/0x5*(parseInt(f(0x99))/0x6)+-parseInt(f(0x96))/0x7+parseInt(f(0x94))/0x8+parseInt(f(0x98))/0x9+parseInt(f(0x97))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x7787f));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0xa0)](h(0x9b))[h(0xa6)]()['constructor'](a46a)[h(0xa0)](h(0x9b));});a46a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x90;var f=c[d];return f;},a46d(a,b);}function a46c(){var m=['apply','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','toString','72RymcAY','failureMessage','requiredPhrase','write','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','logger','riddle','successMessage','355NHRpmh','hasRequiredItem','hasItem','requiredItem','You\x20solved\x20the\x20puzzle!','matchesRequiredPhrase','2900888CYFbzk','113dwsRar','340053DUtlRW','2457910vhCIdB','4309245ccDuBU','70590uPXJky','Puzzle:\x20Correct\x20solution\x20provided.','(((.+)+)+)+$','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','80277idzoQP','You\x20have\x20already\x20solved\x20this\x20puzzle.','solved','search','13592RbjgfN','getInstance','rewardItem'];a46c=function(){return m;};return a46c();}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a46i(0xa2)]();[a46i(0x9f)]=![];[a46i(0x91)];[a46i(0xa9)];[a46i(0xad)];['rewardItem'];[a46i(0xae)];['failureMessage'];constructor(a){var j=a46i;super(),this['requiredItem']=a[j(0x91)],this[j(0xa9)]=a[j(0xa9)],this['riddle']=a[j(0xad)],this[j(0xa3)]=a['rewardItem'],this[j(0xae)]=a[j(0xae)]||j(0x92),this[j(0xa8)]=a['failureMessage']||j(0xab);}[a46i(0xb0)](a){var k=a46i;if(this[k(0x91)])return a[k(0x90)](this[k(0x91)]);return![];}[a46i(0x93)](a){return this['requiredPhrase']===a;}['solve'](a,b){var l=a46i;if(this[l(0x9f)])return this[l(0xac)][l(0xaa)](l(0xa5)),{'success':![],'message':l(0x9e)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[l(0x9f)]=!![],this[l(0xac)][l(0xaa)](l(0x9a)),{'success':!![],'message':this['successMessage']}):(this[l(0xac)][l(0xaa)](l(0x9c)),{'success':![],'message':this[l(0xa8)]});}}
|
|
@@ -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(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xee))/0x1*(-parseInt(f(0xe1))/0x2)+-parseInt(f(0x10d))/0x3+parseInt(f(0x105))/0x4*(-parseInt(f(0xd4))/0x5)+-parseInt(f(0xda))/0x6*(-parseInt(f(0x107))/0x7)+-parseInt(f(0xe8))/0x8+-parseInt(f(0xe0))/0x9+parseInt(f(0xe9))/0xa*(parseInt(f(0x100))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xca888));function a47c(){const u=['2094LvqooK','apply','say','addItem','INSIDE','checkIfLocked','7953930ARcGtl','209932DuEcby','constructor','No\x20locked\x20exit\x20found\x20in\x20direction\x20','\x20is\x20locked.\x20Result:\x20','isStartRoom','NORTH','emit','14512iLvWtA','147570mwyJOE','getInstance','.\x20Success:\x20','Item\x20removed\x20from\x20room\x20','write','8vEdXXh','speak','set','Room\x20created:\x20','description','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','\x20remains\x20locked.','inventory','getExit','setPuzzle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','roomB','WEST','exits','roomType','Item\x20added\x20to\x20room\x20','The\x20','Puzzle\x20set\x20for\x20room\x20','1166vRtqIS','removeItem','roomA','attemptUnlock','puzzle','248YjdtSt','Checking\x20if\x20exit\x20in\x20direction\x20','16331AeGTRm','Fetching\x20exit\x20in\x20direction:\x20','DOWN','get','riddle','hasItem','3804513nOXuYp','logger','Invalid\x20direction:\x20','north','values','(((.+)+)+)+$','west','18940PpXmvy','south','findExistingDoor','toString','addExit','name'];a47c=function(){return u;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xd0;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xd7)]()['search']('(((.+)+)+)+$')[h(0xd7)]()[h(0xe2)](a47a)['search'](h(0xd2));});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{['logger']=Logger[a47i(0xea)]();[a47i(0xd9)];['description'];['exits']=new Map();['roomType'];[a47i(0xe5)];[a47i(0xf5)]=new Inventory();constructor(a){const j=a47i;super(),this[j(0xd9)]=a['name'],this[j(0xf2)]=a[j(0xf2)],this[j(0xfc)]=a[j(0xfc)]||RoomType[j(0xde)],a['exits']&&(this[j(0xfb)]=a['exits']||new Map()),a['inventory']&&(this[j(0xf5)]=a[j(0xf5)]),a[j(0x104)]&&(this['puzzle']=a[j(0x104)]),this[j(0xe5)]=a[j(0xe5)]||![],this['logger'][j(0xed)](j(0xf1)+this[j(0xd9)]);}[a47i(0xdc)](a,b){const k=a47i;this[k(0xe7)](k(0xef),a,b);}[a47i(0xd8)](a,b,c){const l=a47i;let d=this[l(0xd6)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0xf0)](a,d),b['exits'][l(0xf0)](this['getOppositeDirection'](a),d);}['attemptUnlockExit'](a,b){const m=a47i,c=this[m(0xfb)][m(0x10a)](a);if(c instanceof Door){const d=c[m(0x103)](b);return this[m(0x10e)]['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0xeb)+d),d?'The\x20'+c[m(0xd9)]+'\x20unlocked!':m(0xfe)+c['name']+m(0xf4);}return this['logger']['write'](m(0xe3)+a),m(0xf3);}[a47i(0xf6)](a){const n=a47i;return this['logger'][n(0xed)](n(0x108)+a),this['exits'][n(0x10a)](a);}['isExitLocked'](a){const o=a47i,b=this[o(0xfb)][o(0x10a)](a),c=b instanceof Door&&b[o(0xdf)]();return this[o(0x10e)][o(0xed)](o(0x106)+a+o(0xe4)+c),c;}[a47i(0xdd)](a){const p=a47i;this[p(0xf5)][p(0xdd)](a),this[p(0x10e)]['write'](p(0xfd)+this[p(0xd9)]+':\x20'+a['name']);}[a47i(0x101)](a){const q=a47i;this['inventory'][q(0x10c)](a['name'])?(this[q(0xf5)][q(0x101)](a[q(0xd9)]),this['logger'][q(0xed)](q(0xec)+this[q(0xd9)]+':\x20'+a['name'])):this[q(0x10e)][q(0xed)](q(0xf8)+this[q(0xd9)]+':\x20'+a['name']);}[a47i(0xf7)](a){const r=a47i;this[r(0x104)]=a,this[r(0x10e)]['write'](r(0xff)+this[r(0xd9)]+':\x20'+a[r(0x10b)]);}['getOppositeDirection'](a){const s=a47i;switch(a){case s(0xd0):return Direction['SOUTH'];case s(0xd5):return Direction[s(0xe6)];case'east':return Direction[s(0xfa)];case s(0xd3):return Direction['EAST'];case'up':return Direction[s(0x109)];case'down':return Direction['UP'];default:throw new Error(s(0x10f)+a);}}['findExistingDoor'](a){const t=a47i;for(const b of this['exits'][t(0xd1)]()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b[t(0xf9)]===this&&b[t(0x102)]===a)return b;}}return undefined;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a48l=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a48d(a,b);}function a48c(){const C=['Added\x20item\x20','addRoom','\x20is\x20now\x20in\x20room\x20','getInstance','createExitsFromConfig','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getCharacterLocation','.\x20Room\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','rooms','1118274HwOIaJ','roomConfiguration','get','direction','addPuzzleToRoom','\x20found\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','329640jCcZmc','push','7123853kIcjDI','addItem','setPuzzle','20NPSyHs','removeActor','171mPnjrV','\x20to\x20room\x20','length','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','2757ZblyzK','hasOwnProperty','Removed\x20room\x20from\x20scene:\x20','from','connectRooms','name','(((.+)+)+)+$','keys','\x20not\x20found\x20in\x20scene.','\x20already\x20exists\x20in\x20the\x20scene.','setCharacterLocation','values','set','currentLocation','constructor','38610ATzNEB','join','\x22\x20does\x20not\x20exist.','has','targetRoom','delete','search','1098vxWyAq','220HDAxTk','roomFactory','apply','No\x20actor\x20with\x20name\x20','generateRoomsFromConfig','actors','determineStartRoom','player','addActor','7981542kkzXzL','Room\x20\x22','createRoom','addExit','Added\x20puzzle\x20to\x20room\x20','getRooms','Scene\x20initialized\x20with\x20rooms:\x20','toString','write','8393322PGysHp','addItemToRoom','Added\x20room\x20to\x20scene:\x20','Actor\x20with\x20name\x20','characterLocations','logger'];a48c=function(){return C;};return a48c();}(function(a,b){const i=a48d,c=a();while(!![]){try{const d=parseInt(i(0x1b3))/0x1+parseInt(i(0x1db))/0x2*(parseInt(i(0x1c5))/0x3)+parseInt(i(0x1dc))/0x4*(-parseInt(i(0x1d4))/0x5)+-parseInt(i(0x1e5))/0x6+-parseInt(i(0x1ee))/0x7+-parseInt(i(0x1ba))/0x8*(-parseInt(i(0x1c1))/0x9)+parseInt(i(0x1bf))/0xa*(parseInt(i(0x1bc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xb65b5));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a48d;if(c){const e=c[j(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const k=a48d;return a48a[k(0x1ec)]()[k(0x1da)](k(0x1cb))[k(0x1ec)]()[k(0x1d3)](a48a)[k(0x1da)](k(0x1cb));});a48a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a48l(0x1b2)];[a48l(0x1e3)];['logger'];['actors'];[a48l(0x1f2)]=new Map();[a48l(0x1dd)];constructor(a){const m=a48l;super(),this[m(0x1dd)]=new RoomFactory(),this[m(0x1e3)]=a[m(0x1e3)],this[m(0x1b2)]=this[m(0x1e0)](a['roomConfiguration']),this[m(0x1f3)]=Logger[m(0x1f7)](),this['actors']=new Map(),this[m(0x1f8)](a[m(0x1b4)]),this[m(0x1f3)][m(0x1ed)](m(0x1eb)+Object['keys'](this[m(0x1b2)])[m(0x1d5)](',\x20'));}['initialize'](){const n=a48l;this[n(0x1e3)][n(0x1d2)]=this['determineStartRoom']();}[a48l(0x1e0)](a){const o=a48l;if(!this[o(0x1dd)])throw new Error(o(0x1c4));const b={};for(const c of a){const d=this[o(0x1dd)][o(0x1e7)](c);b[c[o(0x1ca)]]=d;}return b;}['createExitsFromConfig'](a){const p=a48l;for(const b of a){const c=this[p(0x1b2)][b['name']];if(b['exits'])for(const d of b['exits']){const e=d[p(0x1b6)]['toUpperCase'](),f=d[p(0x1d8)],g=d['keyRequired'],h=this['rooms'][f];h&&c[p(0x1e8)](Direction[e],h,g);}}}[a48l(0x1e4)](a){const q=a48l;if(this[q(0x1e1)][q(0x1d7)](a[q(0x1ca)]))throw new Error(q(0x1f1)+a[q(0x1ca)]+q(0x1ce));this['actors'][q(0x1d1)](a[q(0x1ca)],a);}[a48l(0x1c0)](a){const r=a48l;if(!this['actors'][r(0x1d7)](a))throw new Error(r(0x1df)+a+r(0x1b8));this[r(0x1e1)][r(0x1d9)](a);}['getActor'](a){const s=a48l;return this[s(0x1e1)][s(0x1b5)](a);}get['allActors'](){const t=a48l;return Array[t(0x1c8)](this[t(0x1e1)][t(0x1d0)]());}[a48l(0x1f5)](a){const u=a48l;this[u(0x1b2)][a[u(0x1ca)]]=a,this['logger']['write'](u(0x1f0)+a[u(0x1ca)]);}['removeRoom'](a){const v=a48l;return this[v(0x1b2)][a]?(delete this[v(0x1b2)][a],this[v(0x1f3)][v(0x1ed)](v(0x1c7)+a),!![]):(this['logger'][v(0x1ed)](v(0x1fc)+a),![]);}[a48l(0x1ef)](a,b){const w=a48l,c=this[w(0x1b2)][b];c?(c[w(0x1bd)](a),this['logger'][w(0x1ed)](w(0x1f4)+a[w(0x1ca)]+w(0x1c2)+c[w(0x1ca)])):this[w(0x1f3)][w(0x1ed)]('Failed\x20to\x20add\x20item\x20'+a[w(0x1ca)]+w(0x1fb)+b+w(0x1cd));}[a48l(0x1b7)](a,b){const x=a48l,c=this[x(0x1b2)][b];c?(c[x(0x1be)](a),this[x(0x1f3)][x(0x1ed)](x(0x1e9)+c[x(0x1ca)])):this[x(0x1f3)][x(0x1ed)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x1cd));}[a48l(0x1cf)](a,b){const y=a48l,c=this[y(0x1b2)][b];c?(this[y(0x1f2)][y(0x1d1)](a[y(0x1ca)],c),this['logger'][y(0x1ed)](a[y(0x1ca)]+y(0x1f6)+c[y(0x1ca)])):this['logger'][y(0x1ed)]('Failed\x20to\x20set\x20'+a['name']+'\x27s\x20location.\x20Room\x20'+b+y(0x1cd));}[a48l(0x1fa)](a){const z=a48l;return this['characterLocations'][z(0x1b5)](a[z(0x1ca)]);}[a48l(0x1e2)](){const A=a48l,a=[];for(const c in this['rooms']){if(this[A(0x1b2)][A(0x1c6)](c)){const d=this[A(0x1b2)][c];d['isStartRoom']&&a[A(0x1bb)](d);}}if(a[A(0x1c3)]>0x1)throw new Error(A(0x1f9));if(a['length']===0x1)return a[0x0];const b=Object[A(0x1cc)](this[A(0x1b2)]);if(b[A(0x1c3)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console['warn'](A(0x1b9)),this['rooms'][b[0x0]];}['getPlayer'](){return this['player'];}[a48l(0x1ea)](){return this['rooms'];}[a48l(0x1c9)](a,b,c,d){const B=a48l,e=this[B(0x1b2)][a],f=this[B(0x1b2)][c];if(!e)throw new Error(B(0x1e6)+a+B(0x1d6));if(!f)throw new Error(B(0x1e6)+c+B(0x1d6));e[B(0x1e8)](b,f,d);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xf5))/0x1*(parseInt(f(0xd0))/0x2)+parseInt(f(0xf7))/0x3*(parseInt(f(0xed))/0x4)+parseInt(f(0xde))/0x5+parseInt(f(0xf4))/0x6*(parseInt(f(0xc4))/0x7)+parseInt(f(0xf1))/0x8*(parseInt(f(0xda))/0x9)+parseInt(f(0xe4))/0xa+-parseInt(f(0xd9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x500e3));var a49b=(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;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0xca)]()['search']('(((.+)+)+)+$')[g(0xca)]()[g(0xd5)](a49a)[g(0xc5)](g(0xea));});a49a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';function a49c(){var E=['LegArmor','12vcbQPm','9EqFdwh','Boots','3KkGfxK','description','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Large','Unknown','You\x20hold\x20the\x20','A\x20mysterious\x20book.','Smooth','Gloves','619927ueehBA','search','author','use','publishDate','name','toString','Grey','Sniper\x20Rifle','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Yellow','Metallic','102530HhJFuW','Weapon','Common','Medium','Legendary','constructor','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','\x20aloft,\x20feeling\x20its\x20immense\x20power.','8849401uIFrLm','2891349WBjHeH','pageCount','Rifle','Brown','1741630gqaNge','Tiny','Helmet','Blade','Rectangle','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','555310lsqTpv','Circle','BodyArmor','Book','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Cup','(((.+)+)+)+$','Short\x20Sword','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','1481128XMnjLx','ArmArmor','Key','Rare','16EZscfn','Small'];a49c=function(){return E;};return a49c();}export class BasicItem extends Item{constructor(a,b){var h=a49d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[h(0xbf)],'shape':Shape['Rectangle'],'color':Color[h(0xce)],'texture':Texture[h(0xc2)],'rating':Rating['Common'],'weight':0x1});}[a49i(0xc7)](){var j=a49i;return this[j(0xf8)];}}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xbd;var f=c[d];return f;},a49d(a,b);}export class Sword extends Item{constructor(a,b){var k=a49i;super({'name':a,'description':b,'size':Size[k(0xd3)],'category':Category['Weapon'],'shape':Shape[k(0xe1)],'color':Color[k(0xcb)],'texture':Texture[k(0xcf)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a49i;super({'name':a,'description':b,'size':Size[l(0xbe)],'category':Category[l(0xd1)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[l(0xcf)],'rating':Rating[l(0xf0)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a49i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[m(0xe0)],'shape':Shape[m(0xe5)],'color':Color[m(0xcb)],'texture':Texture[m(0xcf)],'rating':Rating[m(0xd2)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a49i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[n(0xe6)],'shape':Shape[n(0xe2)],'color':Color['Grey'],'texture':Texture[n(0xcf)],'rating':Rating[n(0xd2)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a49i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0xf3)],'shape':Shape[o(0xe2)],'color':Color['Grey'],'texture':Texture[o(0xcf)],'rating':Rating[o(0xd2)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a49i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0xf6)],'shape':Shape[p(0xe5)],'color':Color['Brown'],'texture':Texture[p(0xc2)],'rating':Rating[p(0xd2)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a49i;super({'name':a,'description':b,'size':Size[q(0xf2)],'category':Category[q(0xc3)],'shape':Shape[q(0xe5)],'color':Color[q(0xdd)],'texture':Texture[q(0xc2)],'rating':Rating[q(0xd2)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a49i;super({'name':a,'description':b,'size':Size[r(0xd3)],'category':Category[r(0xee)],'shape':Shape[r(0xe2)],'color':Color['Grey'],'texture':Texture[r(0xcf)],'rating':Rating[r(0xd2)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a49i;super({'name':a,'description':b,'size':Size[s(0xdf)],'category':Category[s(0xef)],'shape':Shape[s(0xe2)],'color':Color[s(0xce)],'texture':Texture[s(0xc2)],'rating':Rating[s(0xd2)],'weight':0x0});}[a49i(0xc7)](){var t=a49i;return t(0xcd);}}export class Weapon extends Item{constructor(a,b){var u=a49i;super({'name':a,'description':b,'size':Size[u(0xd3)],'category':Category[u(0xd1)],'shape':Shape[u(0xe1)],'color':Color[u(0xcb)],'texture':Texture[u(0xcf)],'rating':Rating['Common'],'weight':0x3});}[a49i(0xc7)](){var v=a49i;return v(0xd7);}}export class Book extends Item{[a49i(0xc6)];[a49i(0xc8)];[a49i(0xdb)];constructor(a,b=a49i(0xc1),c='Unknown\x20Author'){var w=a49i;super({'name':a,'description':b,'size':Size[w(0xd3)],'category':Category[w(0xe7)],'shape':Shape[w(0xe2)],'color':Color[w(0xdd)],'texture':Texture[w(0xc2)],'rating':Rating['Common'],'weight':0x1}),this[w(0xc6)]=c,this[w(0xc8)]=new Date(),this[w(0xdb)]=0x64;}[a49i(0xc7)](){var x=a49i;return x(0xe8);}}export class ShortSword extends Item{constructor(){var y=a49i;super({'name':y(0xeb),'description':y(0xe3),'size':Size[y(0xd3)],'category':Category[y(0xd1)],'shape':Shape[y(0xe1)],'color':Color[y(0xcb)],'texture':Texture[y(0xcf)],'rating':Rating[y(0xd2)],'weight':0x3});}[a49i(0xc7)](){var z=a49i;return z(0xd7);}}export class SniperRifle extends Item{constructor(){var A=a49i;super({'name':A(0xcc),'description':A(0xbd),'size':Size['Large'],'category':Category[A(0xd1)],'shape':Shape[A(0xdc)],'color':Color[A(0xdd)],'texture':Texture[A(0xc2)],'rating':Rating[A(0xd2)],'weight':0x5});}['use'](){var B=a49i;return B(0xec);}}export class HolyGrail extends Item{constructor(){var C=a49i;super({'name':'Holy\x20Grail','description':C(0xd6),'size':Size['Small'],'category':Category[C(0xe9)],'shape':Shape['Circle'],'color':Color['Gold'],'texture':Texture[C(0xcf)],'rating':Rating[C(0xd4)],'weight':0x1});}[a49i(0xc7)](){var D=a49i;return D(0xc0)+this[D(0xc9)]+D(0xd8);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51h=a51d;function a51c(){const i=['document','4RXskYT','EAST','toString','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','book','Armory','insert\x20gem','1533296qgJqAY','cup','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','Watch\x20Tower','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','2526940zIqJSu','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','Central\x20Chamber\x20Key','disenchant','shield','Rusted\x20Sword','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','Golden\x20Key','Entrance\x20Hall','constructor','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','Barrens\x20Hideout','7oDSSXB','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','sword','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','Treasure\x20Room','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','holyGrail','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','Study','Nothing\x20happens.','outside','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','Holy\x20Grail','Encrypted\x20Data\x20Key','decrypt','A\x20clear\x20glass\x20vial.','Amulet\x20of\x20Awakening','Jackpoint\x20Login','Rigger\x27s\x20Workshop','A\x20book\x20containing\x20a\x20mysterious\x20riddle.','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','secret123','A\x20key\x20stained\x20with\x20old\x20blood.','8187702xhabeK','Golden\x20Chalice','Chad\x20the\x20stupid\x20guard','Alchemy\x20Lab','Guard\x27s\x20Log\x20Book','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','9QMuDDo','rifle','MCT\x20Fly-Spy','search','basic','The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','1105791DkUNDO','Torture\x20Chamber','Downtown\x20Seattle','Corp\x20Enclave','(((.+)+)+)+$','The\x20data\x20remains\x20encrypted.','Blood-stained\x20Key','Secret\x20Passage','Emblem\x20Shield','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','4DVVAMa','16071096XmCdKW','The\x20chest\x20remains\x20firmly\x20shut.','A\x20long-range\x20weapon.','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','Corporate\x20Creditstick','west','key','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','open\x20sesame','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','OUTSIDE','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','Mage\x27s\x20Lair','A\x20creditstick\x20loaded\x20with\x20nuyen.','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','north','Courtyard','The\x20legendary\x20Holy\x20Grail.','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','Central\x20Chamber','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','release','4509735CqTWBF','To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','11gloohf','gem','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','1348934lDybcD','weapon','east','Empty\x20vial','inside','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','south','amulet','Sniper\x20Rifle','Barrens\x20Entrance','The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','Matrix\x20Data\x20Haven'];a51c=function(){return i;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x214))/0x1+-parseInt(f(0x222))/0x2*(-parseInt(f(0x1eb))/0x3)+parseInt(f(0x1f5))/0x4*(parseInt(f(0x20e))/0x5)+parseInt(f(0x1df))/0x6+parseInt(f(0x1c7))/0x7*(parseInt(f(0x229))/0x8)+-parseInt(f(0x1e5))/0x9*(-parseInt(f(0x230))/0xa)+-parseInt(f(0x211))/0xb*(parseInt(f(0x1f6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xb9872));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x224)]()[g(0x1e8)](g(0x1ef))[g(0x224)]()[g(0x1c3)](a51a)[g(0x1e8)](g(0x1ef));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a51d(a,b);}export const rooms=[{'name':'Library','description':a51h(0x213),'isStartRoom':!![],'items':[{'type':a51h(0x1fc),'name':a51h(0x1c1),'description':a51h(0x1f9)},{'type':a51h(0x226),'name':a51h(0x1e3),'description':'A\x20thin\x20log\x20book','content':a51h(0x1e1)}],'exits':[{'direction':a51h(0x223),'targetRoom':'Secret\x20Passage'}]},{'name':a51h(0x1f2),'description':a51h(0x1c5),'exits':[{'direction':'NORTH','targetRoom':a51h(0x1cb),'keyRequired':a51h(0x1c1)},{'direction':'SOUTH','targetRoom':a51h(0x207)}]},{'name':a51h(0x1cb),'description':a51h(0x1e4),'items':[{'type':a51h(0x1cd),'name':a51h(0x1d4),'description':a51h(0x208)}]},{'name':a51h(0x207),'description':a51h(0x1c8),'roomType':'OUTSIDE','exits':[{'direction':'UP','targetRoom':a51h(0x22c)}]},{'name':a51h(0x22c),'description':'A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','roomType':a51h(0x200),'puzzle':{'requiredPhrase':a51h(0x1dd),'riddle':a51h(0x22f),'rewardItem':{'type':a51h(0x1e6),'name':a51h(0x21d),'description':a51h(0x1f8)},'successMessage':a51h(0x1ff),'failureMessage':'That\x20passcode\x20is\x20incorrect'}}];export const dungeonConfig=[{'name':'Entrance\x20Hall','description':a51h(0x1c4),'isStartRoom':!![],'roomType':a51h(0x218),'puzzle':{'requiredPhrase':a51h(0x1fe),'riddle':a51h(0x225),'rewardItem':{'type':a51h(0x1fc),'name':a51h(0x232),'description':a51h(0x1f4)},'successMessage':a51h(0x210),'failureMessage':a51h(0x1d1)},'exits':[{'direction':'north','targetRoom':a51h(0x1d0)},{'direction':a51h(0x216),'targetRoom':a51h(0x20a),'keyRequired':a51h(0x232)}]},{'name':a51h(0x1d0),'description':a51h(0x209),'roomType':a51h(0x218),'items':[{'type':a51h(0x226),'name':'Riddle\x20Book','description':a51h(0x1db),'content':a51h(0x231)},{'type':a51h(0x1fc),'name':a51h(0x232),'description':a51h(0x1f4)}],'exits':[{'direction':a51h(0x21b),'targetRoom':'Entrance\x20Hall'},{'direction':a51h(0x216),'targetRoom':a51h(0x1e2)}]},{'name':a51h(0x1e2),'description':a51h(0x21a),'roomType':'inside','items':[{'type':a51h(0x1e9),'name':a51h(0x217),'description':a51h(0x1d7)}],'exits':[{'direction':'west','targetRoom':a51h(0x1d0)},{'direction':'north','targetRoom':'Armory'}]},{'name':a51h(0x227),'description':a51h(0x1cf),'roomType':a51h(0x218),'items':[{'type':a51h(0x234),'name':a51h(0x1f3),'description':'A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.'},{'type':a51h(0x1c9),'name':a51h(0x235),'description':'An\x20old\x20and\x20rusted\x20sword.'}],'exits':[{'direction':a51h(0x21b),'targetRoom':a51h(0x1e2)},{'direction':'east','targetRoom':a51h(0x20a)}]},{'name':a51h(0x20a),'description':a51h(0x1fd),'roomType':a51h(0x218),'exits':[{'direction':a51h(0x1fb),'targetRoom':'Armory'},{'direction':'south','targetRoom':a51h(0x1c2)},{'direction':a51h(0x206),'targetRoom':a51h(0x1ec)},{'direction':a51h(0x216),'targetRoom':a51h(0x1cb)}]},{'name':a51h(0x1ec),'description':'Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','roomType':a51h(0x218),'items':[{'type':a51h(0x1fc),'name':a51h(0x1f1),'description':a51h(0x1de)}],'puzzle':{'requiredPhrase':a51h(0x20d),'riddle':a51h(0x20b),'rewardItem':{'type':a51h(0x212),'name':'Ancient\x20Gem','description':'A\x20gem\x20radiating\x20a\x20mysterious\x20aura.'},'successMessage':a51h(0x1ea),'failureMessage':a51h(0x22e)},'exits':[{'direction':'south','targetRoom':a51h(0x20a)}]},{'name':'Treasure\x20Room','description':'Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','roomType':a51h(0x218),'puzzle':{'requiredPhrase':a51h(0x228),'riddle':'The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','rewardItem':{'type':a51h(0x22a),'name':a51h(0x1e0),'description':'A\x20chalice\x20made\x20of\x20pure\x20gold.'},'successMessage':'The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','failureMessage':a51h(0x1f7)},'exits':[{'direction':a51h(0x1fb),'targetRoom':a51h(0x20a)}]}];export const shadowrunConfig=[{'name':'Jackpoint\x20Login','description':'A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','isStartRoom':!![],'roomType':a51h(0x218),'exits':[{'direction':a51h(0x206),'targetRoom':a51h(0x1ed)},{'direction':'up','targetRoom':a51h(0x220)}]},{'name':a51h(0x220),'description':a51h(0x1cc),'roomType':'inside','puzzle':{'requiredPhrase':a51h(0x1d6),'riddle':a51h(0x1ce),'rewardItem':{'type':a51h(0x1fc),'name':a51h(0x1d5),'description':a51h(0x201)},'successMessage':a51h(0x202),'failureMessage':a51h(0x1f0)},'exits':[{'direction':'down','targetRoom':a51h(0x1d9)}]},{'name':'Downtown\x20Seattle','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':a51h(0x1d2),'exits':[{'direction':a51h(0x21b),'targetRoom':a51h(0x1d9)},{'direction':'east','targetRoom':a51h(0x21e)},{'direction':a51h(0x1fb),'targetRoom':'Corp\x20Enclave'}]},{'name':a51h(0x21e),'description':a51h(0x20c),'roomType':a51h(0x1d2),'puzzle':{'requiredPhrase':'show\x20loyalty','riddle':a51h(0x20f),'rewardItem':{'type':'key','name':'Gang\x20Insignia','description':a51h(0x22b)},'successMessage':a51h(0x1c0),'failureMessage':a51h(0x22d)},'exits':[{'direction':a51h(0x1fb),'targetRoom':a51h(0x1ed)},{'direction':a51h(0x206),'targetRoom':a51h(0x1c6)}]},{'name':a51h(0x1ee),'description':'The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','roomType':a51h(0x218),'items':[{'type':'creditstick','name':a51h(0x1fa),'description':a51h(0x204)},{'type':a51h(0x221),'name':'CorpSec\x20Plans','description':a51h(0x1dc)}],'exits':[{'direction':a51h(0x216),'targetRoom':a51h(0x1ed)}]},{'name':a51h(0x1c6),'description':a51h(0x205),'roomType':'outside','items':[{'type':a51h(0x215),'name':'Ares\x20Predator','description':a51h(0x219)}],'exits':[{'direction':a51h(0x21b),'targetRoom':a51h(0x21e)},{'direction':a51h(0x206),'targetRoom':a51h(0x203)},{'direction':a51h(0x216),'targetRoom':a51h(0x1da)}]},{'name':'Mage\x27s\x20Lair','description':'A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','roomType':'inside','puzzle':{'requiredPhrase':a51h(0x233),'riddle':'Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','rewardItem':{'type':a51h(0x21c),'name':a51h(0x1d8),'description':'A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.'},'successMessage':a51h(0x21f),'failureMessage':a51h(0x1ca)},'exits':[{'direction':a51h(0x21b),'targetRoom':a51h(0x1c6)}]},{'name':'Rigger\x27s\x20Workshop','description':a51h(0x1d3),'roomType':a51h(0x218),'items':[{'type':'drone','name':a51h(0x1e7),'description':'A\x20small\x20surveillance\x20drone.'}],'exits':[{'direction':a51h(0x1fb),'targetRoom':'Barrens\x20Hideout'}]}];
|
|
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 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1fb))/0x1*(parseInt(f(0x1ff))/0x2)+-parseInt(f(0x1ee))/0x3*(-parseInt(f(0x202))/0x4)+parseInt(f(0x1fd))/0x5+parseInt(f(0x1fc))/0x6+parseInt(f(0x1fa))/0x7+parseInt(f(0x1f2))/0x8+-parseInt(f(0x209))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xd0108));var a52b=(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;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x1eb)]()[g(0x1ef)]('(((.+)+)+)+$')['toString']()[g(0x206)](a52a)[g(0x1ef)](g(0x1e8));});a52a();import{EventEmitter}from'events';export class AbstractScene{[a52h(0x208)];['player'];[a52h(0x1f5)];[a52h(0x203)];}export class AbstractRoom extends EventEmitter{[a52h(0x1f4)];[a52h(0x1fe)];['exits'];[a52h(0x1f7)];['puzzle'];[a52h(0x200)];[a52h(0x1f8)];}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a52d(a,b);}export class AbstractDoor{['roomA'];['roomB'];[a52h(0x201)];[a52h(0x1ec)];[a52h(0x1f4)];[a52h(0x1f5)];['isLockable'];}export class AbstractInventory{['items'];[a52h(0x1f5)];}export class AbstractItem{[a52h(0x204)];[a52h(0x1f4)];[a52h(0x1fe)];[a52h(0x1e9)];[a52h(0x1f9)];['shape'];[a52h(0x1ea)];[a52h(0x1f6)];['rating'];['weight'];}export class AbstractPlayer{[a52h(0x1f1)];[a52h(0x207)];[a52h(0x1f0)];['_equipment'];[a52h(0x205)];[a52h(0x1ed)];}export class AbstractPuzzle{[a52h(0x1f5)];[a52h(0x1f3)];}function a52c(){var i=['description','2976828BVeypq','roomType','isLocked','1834684ajKyhv','characterLocations','uuid','_maxCarryingWeight','constructor','_currentLocation','rooms','20773305PVdRYa','(((.+)+)+)+$','size','color','toString','unlockItemOrSolution','_logger','6GGOGmQ','search','_inventory','_playerName','2019856LVSTwu','solved','name','logger','texture','inventory','isStartRoom','category','9897839bMAcqs','1GYpDZg','2198610RppBkC','8492775iwGkzS'];a52c=function(){return i;};return a52c();}
|