@maka/maka-cli 4.5.36 → 4.5.40
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/ai.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/chz.sub.cmd.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/rdn.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/meteor/app/server/main.js +1 -1
- package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/server/main.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/app/server/main.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/options/options.class.js +1 -0
- 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 a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d
|
|
1
|
+
const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0x1fe))/0x1*(-parseInt(f(0x202))/0x2)+parseInt(f(0x1ec))/0x3+parseInt(f(0x1fa))/0x4*(-parseInt(f(0x1e6))/0x5)+parseInt(f(0x201))/0x6*(-parseInt(f(0x1e0))/0x7)+parseInt(f(0x204))/0x8*(parseInt(f(0x1ed))/0x9)+-parseInt(f(0x1fc))/0xa*(-parseInt(f(0x1f8))/0xb)+parseInt(f(0x208))/0xc*(parseInt(f(0x207))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xca806));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a['toString']()[g(0x1e9)](g(0x1f9))['toString']()[g(0x1f2)](a36a)['search']('(((.+)+)+)+$');});a36a();import{Command}from'./command.js';function a36c(){const k=['\x22\x20from\x20','258cqeUxj','name','There\x20is\x20no\x20item\x20\x22','6adcffc','11486pYtqeh','Error\x20during\x20\x27Take\x27\x20command:\x20','678288lcuWLw','\x22\x20not\x20retrieved\x20from\x20','join','13OfsbrH','22310868tMQAHX','write','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20in\x20this\x20room.','10789156YKYeQJ','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','inventory','addInventory','Successfully\x20added\x20\x22','take','1424030BGJnIp','logger','execute','search','\x22\x20not\x20found\x20in\x20','\x22\x20to\x20','3105426PQsAdW','108ZwgiEg','currentLocation','Item\x20\x22','toLowerCase','description','constructor','Successfully\x20removed\x20\x22','actor','message','The\x20item\x20\x22','Pick\x20up\x20an\x20item.','55NcbUjD','(((.+)+)+)+$','20vGDbEQ','hasItem','2729330bSaIVw'];a36c=function(){return k;};return a36c();}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1df;let f=c[d];return f;},a36d(a,b);}export class TakeCommand extends Command{static ['verb']='take';static [a36h(0x1f1)]=a36h(0x1f7);[a36h(0x1e8)](a){const i=a36h;return this[i(0x1e7)]['write'](i(0x20a)+a[i(0x206)]('\x20')),this[i(0x1e5)](a);}[a36h(0x1e5)](a){const j=a36h,b=a[j(0x206)]('\x20')[j(0x1f0)](),c=this['actor'][j(0x1ee)];if(!c[j(0x1e2)][j(0x1fb)](b))return this[j(0x1e7)]['write'](j(0x1ef)+b+j(0x1ea)+c[j(0x1ff)]+'\x20during\x20\x27Take\x27\x20command.'),j(0x200)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x1e2)]['getItem'](b);if(!d)return this[j(0x1e7)][j(0x209)]('Item\x20\x22'+b+j(0x205)+c[j(0x1ff)]+j(0x1e1)),j(0x200)+b+j(0x1df);try{return this['actor'][j(0x1e3)](d),this[j(0x1e7)][j(0x209)](j(0x1e4)+b+j(0x1eb)+this[j(0x1f4)][j(0x1ff)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0x1e2)]['removeItem'](b),this[j(0x1e7)][j(0x209)](j(0x1f3)+b+j(0x1fd)+c[j(0x1ff)]+j(0x1e1)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[j(0x1e7)][j(0x209)](j(0x203)+e[j(0x1f5)]),j(0x1f6)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d
|
|
1
|
+
const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x134;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x13d))/0x1+-parseInt(f(0x135))/0x2+parseInt(f(0x142))/0x3*(-parseInt(f(0x143))/0x4)+parseInt(f(0x13f))/0x5*(-parseInt(f(0x13b))/0x6)+-parseInt(f(0x134))/0x7*(-parseInt(f(0x149))/0x8)+parseInt(f(0x140))/0x9+parseInt(f(0x14d))/0xa*(parseInt(f(0x14c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5cec9));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x14b)]()['search'](h(0x145))[h(0x14b)]()[h(0x147)](a37a)[h(0x13e)](h(0x145));});a37a();import{Command}from'./command.js';function a37c(){const k=['130200aTpdfh','unequip','221550CdULrc','search','110IqVgLt','6729669fPsseO','join','630429aDFhxY','12XCGuHt','\x20unqeuiped\x20','(((.+)+)+)+$','logger','constructor','actor','381928JYmqVA','name','toString','67463FcTyII','820vQgRfZ','63FpawGA','826840jfYPfR','execute','apply','description','Unequip\x20an\x20item.','write'];a37c=function(){return k;};return a37c();}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a37i(0x138)]=a37i(0x139);[a37i(0x136)](a){const j=a37i,b=a[j(0x141)]('\x20')['toLowerCase'](),c=this[j(0x148)][j(0x13c)](b);return this[j(0x146)][j(0x13a)]('UnequipCommand:\x20'+this[j(0x148)][j(0x14a)]+j(0x144)+c),c;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38j=a38d;function a38c(){const m=['Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','toLowerCase','toString','221640qnuyqh','logger','\x22\x20here.','inventory','error','exits','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','906518ODWdXS','There\x27s\x20no\x20door\x20named\x20\x22','91tguudn','write','currentLocation','search','1220136YoyxFV','108vVKQIi','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','8506333xtjnpo','isValidDirection','unlock','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','unlockItemOrSolution','length','constructor','UnlockCommand:\x20','118744AMzPBe','actor','(((.+)+)+)+$','10GVUOoz','Unlock\x20a\x20door.','name','has','description','.\x20Result:\x20','2299915sgpNzL','4tiYHfx','257252MTgFUA','execute'];a38c=function(){return m;};return a38c();}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x1df))/0x1+parseInt(h(0x1fa))/0x2*(parseInt(h(0x1e5))/0x3)+-parseInt(h(0x1fb))/0x4+parseInt(h(0x1f9))/0x5+-parseInt(h(0x200))/0x6*(parseInt(h(0x1e1))/0x7)+parseInt(h(0x1f0))/0x8*(parseInt(h(0x1e6))/0x9)+parseInt(h(0x1f3))/0xa*(parseInt(h(0x1e8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xbce8f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const i=a38d;return a38a[i(0x1ff)]()[i(0x1e4)](i(0x1f2))['toString']()[i(0x1ee)](a38a)[i(0x1e4)](i(0x1f2));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1de;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a38j(0x1ea);static [a38j(0x1f7)]=a38j(0x1f4);[a38j(0x1fc)](a){const k=a38j;return this[k(0x1ea)](a);}[a38j(0x1ea)](a){const l=a38j;if(a[l(0x1ed)]===0x0)return this[l(0x201)][l(0x204)]('UnlockCommand:\x20No\x20target\x20specified.'),l(0x1fd);const b=a[0x0][l(0x1fe)](),c=this[l(0x1f1)][l(0x1e3)];if(this[l(0x1e9)](b)&&c[l(0x205)][l(0x1f6)](b)){const d=c[l(0x205)]['get'](b);if(d instanceof Door){const e=d[l(0x1ec)]?.[l(0x1fe)]();if(e&&this[l(0x1f1)]['inventory']['hasItem'](e)){const f=this[l(0x1f1)][l(0x203)]['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x1f5)]);return this[l(0x201)]['write'](l(0x1ef)+this['actor'][l(0x1f5)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+l(0x1f8)+g),g;}}return this[l(0x201)][l(0x1e2)](l(0x1ef)+this['actor'][l(0x1f5)]+l(0x1de)+b+'.'),l(0x1eb);}else return this[l(0x201)][l(0x1e2)](l(0x1ef)+b+l(0x1e7)+c[l(0x1f5)]+'.'),l(0x1e0)+b+l(0x202);}else return this['logger'][l(0x1e2)](l(0x1ef)+b+l(0x1e7)+c[l(0x1f5)]+'.'),l(0x1e0)+b+l(0x202);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d
|
|
1
|
+
const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1*(-parseInt(f(0x1bf))/0x2)+parseInt(f(0x1c5))/0x3*(-parseInt(f(0x1a2))/0x4)+-parseInt(f(0x1b3))/0x5*(-parseInt(f(0x1bc))/0x6)+-parseInt(f(0x1c0))/0x7*(parseInt(f(0x1b7))/0x8)+-parseInt(f(0x1c2))/0x9+-parseInt(f(0x1bb))/0xa+parseInt(f(0x1a8))/0xb*(parseInt(f(0x1b2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x82209));function a39c(){const l=['You\x20don\x27t\x20have\x20the\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','hasItem','name','(((.+)+)+)+$','2424jiXQNs','25WRTjvc','verb','\x20not\x20retrieved\x20from\x20','getItem','600sOceFG','\x20attempted\x20to\x20use\x20','join','logger','10057590WPSXxC','494358oDgEXH','search','use','874CQcMJV','31066FihzyG','toLowerCase','160893YINGLs','apply','constructor','1329ZupslP','UseCommand:\x20','inventory','\x20to\x20use.','write','1300HfaMgg',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x27s\x20inventory.','\x20used\x20','1529hAgIMs','You\x20can\x27t\x20use\x20the\x20','124685kFxTrv','function','execute','\x20in\x20this\x20way.','actor'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search'](h(0x1b1))['toString']()[h(0x1c4)](a39a)[h(0x1bd)](h(0x1b1));});a39a();import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x1b4)]='use';static ['description']='Use\x20an\x20item.';[a39i(0x1aa)](a){const j=a39i;return this[j(0x1be)](a);}[a39i(0x1be)](a){const k=a39i,b=a[k(0x1b9)]('\x20')[k(0x1c1)]();if(!this[k(0x1ac)][k(0x1c7)][k(0x1af)](b))return this['logger']['write'](k(0x1c6)+this['actor'][k(0x1b0)]+k(0x1b8)+b+k(0x1a3)),k(0x1ad)+b+k(0x1c8);const c=this[k(0x1ac)]['inventory'][k(0x1b6)](b);if(!c)return this['logger'][k(0x1c9)](k(0x1c6)+b+k(0x1b5)+this[k(0x1ac)]['name']+k(0x1a4)),k(0x1ad)+b+k(0x1c8);if(typeof c[k(0x1be)]===k(0x1a9)){const d=c[k(0x1be)]();return this[k(0x1ba)][k(0x1c9)](k(0x1c6)+this[k(0x1ac)]['name']+k(0x1a5)+b+'.'),d;}else return this[k(0x1ba)][k(0x1c9)](k(0x1c6)+b+k(0x1ae)),k(0x1a7)+b+k(0x1ab);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x149))/0x1+-parseInt(f(0x152))/0x2+parseInt(f(0x14e))/0x3*(-parseInt(f(0x147))/0x4)+parseInt(f(0x148))/0x5+parseInt(f(0x14a))/0x6+-parseInt(f(0x14f))/0x7+parseInt(f(0x146))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6646e));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x146;let f=c[d];return f;},a40d(a,b);}function a40c(){const l=['4TwowzE','32865hvAKVt','295848JlqkvJ','4748832UlxooX','toString','getAllRegisteredCommands','commandMap','569442OXJxNu','5002879CwVRZX','(((.+)+)+)+$','createCommand','901196qxCfig','registerCommand','search','10174704FEINep'];a40c=function(){return l;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x14b)]()[g(0x154)](g(0x150))['toString']()['constructor'](a40a)['search'](g(0x150));});a40a();export class CommandFactory{static ['commandMap']={};static[a40h(0x153)](a,b){const i=a40h;this[i(0x14d)][a]=b;}static[a40h(0x151)](a,b){const j=a40h,c=this[j(0x14d)][a];if(c)return new c(b);return null;}static[a40h(0x14c)](){const k=a40h;return this[k(0x14d)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1f3))/0x1*(-parseInt(f(0x207))/0x2)+parseInt(f(0x1f0))/0x3*(parseInt(f(0x1ef))/0x4)+-parseInt(f(0x1fd))/0x5+-parseInt(f(0x205))/0x6+-parseInt(f(0x1e7))/0x7+-parseInt(f(0x206))/0x8+-parseInt(f(0x1e8))/0x9*(-parseInt(f(0x203))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x790cc));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1f2)]()[h(0x1ff)]('(((.+)+)+)+$')[h(0x1f2)]()[h(0x1f7)](a41a)[h(0x1ff)](h(0x20b));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a41d(a,b);}a41a();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';export class RoomFactory{[a41i(0x1ea)](a){const j=a41i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x20c)]['forEach'](e=>{const k=j;d[k(0x1f9)](this[k(0x1f1)](e));}),c[j(0x209)]=d;}return a['puzzle']&&c[j(0x1fc)](this[j(0x1fe)](a[j(0x1eb)])),c;}[a41i(0x1f1)](a){const l=a41i;switch(a[l(0x1e6)]){case l(0x1fa):return new Key(a[l(0x1f4)],a[l(0x20d)]);case l(0x1f6):return new Book(a['name'],a[l(0x20d)],a[l(0x208)]);case l(0x200):return new Sword(a[l(0x1f4)],a['description']);case l(0x20a):return new Rifle(a[l(0x1f4)],a[l(0x20d)]);case l(0x202):return new Helmet(a[l(0x1f4)],a[l(0x20d)]);case l(0x1ec):return new BodyArmor(a['name'],a[l(0x20d)]);case l(0x1f5):return new LegArmor(a[l(0x1f4)],a[l(0x20d)]);case l(0x1e9):return new Boots(a[l(0x1f4)],a['description']);case'gloves':return new Gloves(a[l(0x1f4)],a[l(0x20d)]);case'gauntlets':return new Gauntlets(a[l(0x1f4)],a['description']);default:return new BasicItem(a[l(0x1f4)],a[l(0x20d)]);}}[a41i(0x1fe)](a){const m=a41i,b=this['createItem'](a[m(0x1ee)]);return new Puzzle({...a,'rewardItem':b});}[a41i(0x201)](a){const n=a41i,b=a[n(0x1f8)]&&RoomType[a['roomType'][n(0x204)]()]?RoomType[a[n(0x1f8)][n(0x204)]()]:RoomType[n(0x20e)];return{'name':a[n(0x1f4)],'description':a['description'],'isStartRoom':a[n(0x1fb)],'roomType':b};}}function a41c(){const o=['INSIDE','type','4488239aQWWqJ','23619825SmErUZ','boots','createRoom','puzzle','bodyarmor','apply','rewardItem','60JyDuEo','70242hXSWca','createItem','toString','29gARGKp','name','legarmor','book','constructor','roomType','addItem','key','isStartRoom','setPuzzle','2439210giFxhV','createPuzzle','search','sword','convertToRoomConfig','helmet','10kyPVeu','toUpperCase','606558JaFjZm','3813896gWUBFV','53308uUMxLl','content','inventory','rifle','(((.+)+)+)+$','items','description'];a41c=function(){return o;};return a41c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0x107))/0x1+parseInt(h(0xdb))/0x2*(-parseInt(h(0xef))/0x3)+parseInt(h(0xf2))/0x4+parseInt(h(0xdd))/0x5+-parseInt(h(0xf3))/0x6+parseInt(h(0xe9))/0x7+parseInt(h(0xda))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x3b814));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0xd8)]()[j(0xe5)]('(((.+)+)+)+$')[j(0xd8)]()['constructor'](a42a)[j(0xe5)](j(0xd9));});a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd8;let f=c[d];return f;},a42d(a,b);}import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';function a42c(){const s=['slice','name','currentRoom','apply','maka','getDescription','look','hasOwnProperty','unequip','getHelpMessage','Welcome,\x20','instance','Available\x20Commands:\x0a','unlock','handleInput','registerCommand','player','271903eUrrZB','toString','(((.+)+)+)+$','4796816mQtWVW','4clAtpu','createCommand','1171310TPkvba','help','currentLocation','drop','say','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getInstance','trim','search','registerCommands','execute','quit','3277589EyHfsr','clear','take','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','getRooms','use','585627CwJgrs','scene','initialize','122240GNaPZv','2559588dDIxQp','determineStartRoom','solve'];a42c=function(){return s;};return a42c();}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0x101)];[a42k(0xf0)];[a42k(0x106)];[a42k(0xf8)];['rooms'];constructor(a,b){const l=a42k;this[l(0x106)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0xf0)][l(0xf1)](),this[l(0x106)][l(0xdf)]=this[l(0xf4)](),this[l(0xe6)]();}[a42k(0xe6)](){const m=a42k;CommandFactory[m(0x105)](m(0xfc),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand'](m(0xeb),TakeCommand),CommandFactory[m(0x105)](m(0xee),UseCommand),CommandFactory[m(0x105)]('equip',EquipCommand),CommandFactory[m(0x105)](m(0xfe),UnequipCommand),CommandFactory[m(0x105)](m(0xf5),SolveCommand),CommandFactory[m(0x105)](m(0xe0),DropCommand),CommandFactory[m(0x105)](m(0x103),UnlockCommand),CommandFactory[m(0x105)]('lock',LockCommand),CommandFactory[m(0x105)](m(0xe5),SearchCommand),CommandFactory[m(0x105)](m(0xe1),SayCommand);}['determineStartRoom'](){const n=a42k;return this[n(0xf0)]['determineStartRoom']();}['getWelcomeMessage'](){const o=a42k;return o(0x100)+this[o(0x106)][o(0xf7)];}static[a42k(0xe3)](a,b){const p=a42k;return!Game[p(0x101)]&&(Game[p(0x101)]=new Game(a,b)),Game['instance'];}[a42k(0x104)](a){const q=a42k,b=a[q(0xe4)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0xf6)](0x1);if(c===q(0xe8))return null;if(c===q(0xfa))return q(0xec);if(c===q(0xde))return this[q(0xff)]();if(c===q(0xea))return'';const e={'actor':this['player'],'rooms':this['scene'][q(0xed)](),'scene':this[q(0xf0)]},f=CommandFactory[q(0xdc)](c,e);if(f){const g=f[q(0xe7)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a42k(0xff)](){const r=a42k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x102);for(const c in a){if(a[r(0xfd)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xfb)]()+'\x0a';}}return b+=r(0xe2),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x1d1))/0x1+-parseInt(f(0x1c8))/0x2*(parseInt(f(0x1cd))/0x3)+-parseInt(f(0x1ce))/0x4+-parseInt(f(0x1cf))/0x5+parseInt(f(0x1d2))/0x6*(parseInt(f(0x1ca))/0x7)+-parseInt(f(0x1c9))/0x8*(-parseInt(f(0x1cb))/0x9)+parseInt(f(0x1c6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa9b51));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x1d0)]()[h(0x1c7)](h(0x1cc))[h(0x1d0)]()[h(0x1d3)](a43a)[h(0x1c7)](h(0x1cc));});function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a43d(a,b);}function a43c(){var i=['constructor','apply','8380850dxNsZX','search','27396VLFBkO','40IMFRvo','59626wqRkYF','1926594WLbfzl','(((.+)+)+)+$','129hoNZsc','428708DxpaIB','4129185lncBWT','toString','108648OAjQMt','294mpaEhF'];a43c=function(){return i;};return a43c();}a43a();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
|
-
var
|
|
1
|
+
var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0x12a))/0x1+-parseInt(f(0x131))/0x2*(-parseInt(f(0x123))/0x3)+-parseInt(f(0x139))/0x4*(parseInt(f(0x122))/0x5)+-parseInt(f(0x127))/0x6+parseInt(f(0x13d))/0x7+parseInt(f(0x136))/0x8+-parseInt(f(0x135))/0x9*(parseInt(f(0x124))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x84257));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a['toString']()[h(0x12e)](h(0x12d))['toString']()[h(0x120)](a44a)[h(0x12e)](h(0x12d));});function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x120;var f=c[d];return f;},a44d(a,b);}a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a44c(){var o=['write','isLockable','6545644OwMxcZ','constructor','Door\x20created\x20between\x20','5jRfPKY','18kXldfS','32990UemAqN','logger','roomA','4134936ozLIiv','unlockItemOrSolution','checkIfLockable','758262gMUogf','Failed\x20to\x20unlock\x20door:\x20','roomB','(((.+)+)+)+$','search','getOtherSide','.\x20Used:\x20','291130yPDyDi','apply','\x20and\x20','isLocked','5706HomBgz','6112224sKcLdK','attemptUnlock','name','35116lLFpyC','.\x20Is\x20Locked:\x20'];a44c=function(){return o;};return a44c();}export class Door extends AbstractDoor{[a44i(0x126)];['roomB'];['isLocked'];[a44i(0x128)];[a44i(0x138)];[a44i(0x125)];[a44i(0x13c)];constructor(a){var j=a44i;super(),this[j(0x126)]=a[j(0x126)],this[j(0x12c)]=a[j(0x12c)],this[j(0x134)]=a[j(0x134)]||![],this[j(0x128)]=a[j(0x128)],this[j(0x138)]=a[j(0x138)]?capitalCase(a[j(0x138)]):'To\x20'+a[j(0x12c)][j(0x138)],this[j(0x125)]=Logger['getInstance'](),this['isLockable']=!!a[j(0x128)],this[j(0x125)][j(0x13b)](j(0x121)+this['roomA'][j(0x138)]+j(0x133)+this[j(0x12c)][j(0x138)]+j(0x13a)+this['isLocked']);}[a44i(0x12f)](a){var k=a44i;return this['roomA']===a?this[k(0x12c)]:this['roomA'];}[a44i(0x137)](a){var l=a44i;if(this['isLocked']&&this['unlockItemOrSolution']&&this[l(0x128)]===a)return this[l(0x134)]=![],this[l(0x125)]['write']('Door\x20unlocked:\x20'+this[l(0x138)]+l(0x130)+a),!![];return this[l(0x125)][l(0x13b)](l(0x12b)+this[l(0x138)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var m=a44i;return this[m(0x134)];}[a44i(0x129)](){var n=a44i;return this[n(0x13c)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x17d))/0x1+parseInt(f(0x178))/0x2+parseInt(f(0x182))/0x3*(parseInt(f(0x18b))/0x4)+parseInt(f(0x183))/0x5+-parseInt(f(0x180))/0x6+parseInt(f(0x17f))/0x7*(-parseInt(f(0x181))/0x8)+parseInt(f(0x17b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xe2016));function a45c(){const r=['apply','map','values','delete','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','\x20from\x20inventory.','toLowerCase','Failed\x20to\x20remove\x20item:\x20','.\x20Item\x20not\x20found.','getAllItems','logger','keys','weight','1250632WBMGzx','get','toString','15442578eVxlWt','(((.+)+)+)+$','895091xbfctS','hasItem','7dgbMOj','7259406tXHiKm','9830608fHkVSM','3kaAnHS','1927320rMpEFM','constructor','has','removeItem','addItem','getItem','search','name','6131656zSqnBs','Listed\x20items\x20in\x20inventory:\x20','write','getWeight','Checked\x20for\x20item:\x20','items','\x20to\x20inventory.','join','Retrieved\x20details\x20for\x20item:\x20'];a45c=function(){return r;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x17a)]()[h(0x189)](h(0x17c))['toString']()[h(0x184)](a45a)[h(0x189)]('(((.+)+)+)+$');});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x167;let f=c[d];return f;},a45d(a,b);}export class Inventory extends AbstractInventory{[a45i(0x167)];[a45i(0x175)];constructor(){const j=a45i;super(),this[j(0x167)]=new Map(),this[j(0x175)]=Logger['getInstance']();}[a45i(0x187)](a){const k=a45i;this[k(0x167)]['set'](a[k(0x18a)]['toLowerCase'](),a),this[k(0x175)]['write']('Added\x20item:\x20'+a['name']+k(0x168));}[a45i(0x186)](a){const l=a45i,b=this[l(0x188)](a);if(b)return this[l(0x167)][l(0x16e)](a['toLowerCase']()),this[l(0x175)][l(0x18d)]('Removed\x20item:\x20'+a+l(0x170)),b;return this[l(0x175)][l(0x18d)](l(0x172)+a+l(0x173)),null;}[a45i(0x17e)](a){const m=a45i,b=this[m(0x167)][m(0x185)](a[m(0x171)]()),c=[...this['items'][m(0x176)]()];return this[m(0x175)][m(0x18d)](m(0x18f)+a+'\x20in\x20'+c[m(0x169)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a45i(0x188)](a){const n=a45i,b=this[n(0x167)][n(0x179)](a[n(0x171)]())||null;return b?this[n(0x175)][n(0x18d)](n(0x16a)+a+'.'):this[n(0x175)]['write'](n(0x16f)+a+n(0x173)),b;}['listItems'](){const o=a45i,a=[...this[o(0x167)][o(0x176)]()],b=a[o(0x16c)](c=>capitalCase(c));return this[o(0x175)][o(0x18d)](o(0x18c)+b[o(0x169)](',\x20')+'.'),a;}[a45i(0x18e)](){const p=a45i;let a=0x0;for(const b of this['items'][p(0x16d)]()){a+=b[p(0x177)];}return a;}[a45i(0x174)](){const q=a45i;return[...this[q(0x167)][q(0x16d)]()];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d
|
|
1
|
+
function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x11d;var f=c[d];return f;},a46d(a,b);}var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x11d))/0x1*(parseInt(f(0x11e))/0x2)+parseInt(f(0x135))/0x3+parseInt(f(0x136))/0x4*(-parseInt(f(0x120))/0x5)+parseInt(f(0x125))/0x6*(-parseInt(f(0x12c))/0x7)+-parseInt(f(0x131))/0x8*(parseInt(f(0x122))/0x9)+parseInt(f(0x137))/0xa*(-parseInt(f(0x132))/0xb)+parseInt(f(0x133))/0xc*(parseInt(f(0x134))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xad4bc));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x121)]()[h(0x12a)](h(0x12b))[h(0x121)]()[h(0x11f)](a46a)['search'](h(0x12b));});a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x127)];[a46i(0x12f)];[a46i(0x130)];[a46i(0x123)];[a46i(0x139)];[a46i(0x126)];[a46i(0x138)];[a46i(0x124)];['rating'];['weight'];constructor(a){var j=a46i;super(),this[j(0x12f)]=a['name'],this[j(0x130)]=a[j(0x130)],this['size']=a[j(0x123)],this[j(0x139)]=a['category'],this[j(0x126)]=a[j(0x126)],this[j(0x138)]=a[j(0x138)],this[j(0x124)]=a[j(0x124)],this[j(0x128)]=a[j(0x128)],this['weight']=a[j(0x129)],this[j(0x127)]=a46e();}['use'](){var k=a46i;return'You\x20use\x20the\x20'+this[k(0x12f)]+k(0x12d);}}function a46c(){var l=['7XmCUxS','.\x20Nothing\x20special\x20happens.','apply','name','description','8KLwbmv','60126eRdGKj','12CKiFet','33118449yKarVw','847428mwAYcj','1164yYlGZP','230hWzXNK','color','category','1juvQTS','415438beRRvd','constructor','20220mvmgVe','toString','1382283HLpoHc','size','texture','2738406DiMaqp','shape','uuid','rating','weight','search','(((.+)+)+)+$'];a46c=function(){return l;};return a46c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a47c(){const n=['_name','autonomousMove','floor','9WGzDRh','247400AgOvyd','40wIRtky','search','moveTo','1241016pdgkJw','toString','181250pZjHFu','scene','constructor','41649LeMcIy','9942uuIwyR','length','43112OBSoFI','625FdafMj','1236088lBWGDl','rooms','(((.+)+)+)+$','_dialogue','speak'];a47c=function(){return n;};return a47c();}const a47h=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x182;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x191))/0x1+parseInt(f(0x18c))/0x2*(-parseInt(f(0x194))/0x3)+parseInt(f(0x18f))/0x4+parseInt(f(0x198))/0x5*(-parseInt(f(0x195))/0x6)+parseInt(f(0x182))/0x7+parseInt(f(0x197))/0x8*(parseInt(f(0x18a))/0x9)+-parseInt(f(0x18b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x28070));const a47b=(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;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0x190)]()[g(0x18d)](g(0x184))[g(0x190)]()[g(0x193)](a47a)[g(0x18d)]('(((.+)+)+)+$');});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47h(0x187)];[a47h(0x185)];[a47h(0x183)];[a47h(0x192)];constructor(a,b,c,d){const i=a47h;super(d),this[i(0x187)]=a,this[i(0x185)]=b,this[i(0x183)]=c;}get['name'](){const j=a47h;return this[j(0x187)];}[a47h(0x186)](){const k=a47h;return this['_dialogue'][Math[k(0x189)](Math['random']()*this['_dialogue'][k(0x196)])];}[a47h(0x188)](a){const l=a47h,b=a[Math[l(0x189)](Math['random']()*a['length'])];this[l(0x18e)](b['name']);}[a47h(0x18e)](a){const m=a47h,b={'actor':this,'rooms':this[m(0x183)],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a48c(){const B=['head','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','hasItem','write','bind','determineEquipmentSlot','currentWeight','getWeight','armarmor','toLowerCase','maxCarryingWeight','removeItem','speak','addInventory','Nexus','6260hOwnkq','A\x20featureless\x20room','BodyArmor','_inventory','torso','LegArmor','apply','149428hDNziW','20kfHNDp','_playerName','hear','constructor','ArmArmor','toString','\x20to\x20player\x27s\x20inventory.','weight','_maxCarryingWeight','logger','canEquip','Gloves','\x20slot.','playerName','10405241JGjgjn','32382ttuQIC','addItem','\x20is\x20now\x20listening\x20in\x20room\x20','weapon','840vMcgYr','16SGEioi','enterRoom','\x20in\x20your\x20inventory.','Removed\x20','values','_equipment','unequipBySlot','hat','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','equip','Shield','_currentLocation','bodyarmor','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','equipment','boots','category','You\x20unequipped\x20','Boots','\x20says:\x20\x22','\x20is\x20no\x20longer\x20listeng\x20in\x20','name','1084794UWSEAi','1149606rHlYNQ','You\x20can\x27t\x20equip\x20','(((.+)+)+)+$','arm\x20armor','shield','Weapon','removeInventory','Added\x20','.\x20You\x20must\x20unequip\x20it\x20first.','helmet','gloves','currentLocation','body\x20armor','feet','You\x20don\x27t\x20have\x20','search','arms','leaveRoom','leftHand','unequip','Helmet','log','error','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','58163TfyEGU','getInstance','Invalid\x20category\x20or\x20slot:\x20','off','2862zskAvi'];a48c=function(){return B;};return a48c();}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x16a))/0x1*(-parseInt(f(0x19a))/0x2)+-parseInt(f(0x151))/0x3+parseInt(f(0x185))/0x4*(parseInt(f(0x186))/0x5)+-parseInt(f(0x152))/0x6+parseInt(f(0x195))/0x7*(-parseInt(f(0x199))/0x8)+-parseInt(f(0x16e))/0x9*(parseInt(f(0x17e))/0xa)+parseInt(f(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x4ec6a));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x18b)]()['search'](h(0x154))[h(0x18b)]()[h(0x189)](a48a)[h(0x161)](h(0x154));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x145;let f=c[d];return f;},a48d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x187)];['_currentLocation'];[a48i(0x181)];[a48i(0x19f)];[a48i(0x18e)]=0x32;[a48i(0x18f)];constructor(a){const j=a48i;super(),this[j(0x187)]=a[j(0x193)],this[j(0x146)]=a['startLocation']||new Room({'name':j(0x17d),'description':j(0x17f)}),this['_inventory']=new Inventory(),this[j(0x18f)]=Logger[j(0x16b)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[j(0x181)][j(0x196)](b);}this[j(0x19f)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x150)](){return this['_playerName'];}get['currentLocation'](){const k=a48i;return this[k(0x146)];}set[a48i(0x15d)](a){const l=a48i;this[l(0x146)]!==a&&(this[l(0x163)](),this[l(0x19b)](a)),this[l(0x146)]=a;}get['inventory'](){const m=a48i;return this[m(0x181)];}get[a48i(0x149)](){return this['_equipment'];}set['equipment'](a){const n=a48i;this[n(0x19f)]=a;}get[a48i(0x179)](){const o=a48i;return this[o(0x18e)];}set['maxCarryingWeight'](a){const p=a48i;a>0x0?this['_maxCarryingWeight']=a:console[p(0x168)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const q=a48i;let a=this['_inventory'][q(0x176)]();for(const b in this[q(0x19f)]){const c=this[q(0x19f)][b];c&&(a+=c[q(0x18d)]);}return a;}[a48i(0x17c)](a){const r=a48i;if(this[r(0x175)]+a['weight']>this[r(0x179)]){this[r(0x18f)]['write'](r(0x148));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x181)][r(0x196)](a),this['logger']['write'](r(0x159)+a['name']+r(0x18c));}[a48i(0x158)](a){const s=a48i;if(this[s(0x181)][s(0x17a)](a[s(0x150)]))return this['logger'][s(0x172)](s(0x19d)+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger'][s(0x172)]('Failed\x20to\x20remove\x20'+a[s(0x150)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a48i(0x1a3)](a){const t=a48i;if(!this['_inventory'][t(0x171)](a[t(0x150)]))return t(0x160)+a[t(0x150)]+t(0x19c);if(!this[t(0x190)](a))return t(0x153)+a['name']+'.';const b=this[t(0x174)](a[t(0x14b)]);if(!b)return a[t(0x150)]+t(0x169);if(this[t(0x149)][b])return t(0x1a2)+b+t(0x15a);return this[t(0x149)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a[t(0x150)]+'.';}[a48i(0x165)](a){const u=a48i;let b=a;if(!this[u(0x149)][camelCase(b)]){b=this[u(0x174)](a);if(!b)return u(0x16c)+a+'.';}return this[u(0x1a0)](b);}[a48i(0x174)](a){const v=a48i;switch(a[v(0x178)]()){case Category[v(0x157)]['toLowerCase']():return'rightHand';case Category[v(0x145)][v(0x178)]():return v(0x164);case Category[v(0x191)][v(0x178)]():return v(0x15c);case Category[v(0x166)][v(0x178)]():case Category['Hat'][v(0x178)]():return'head';case Category[v(0x14d)][v(0x178)]():return v(0x15f);case Category[v(0x183)][v(0x178)]():return'legs';case Category[v(0x18a)][v(0x178)]():return v(0x162);case Category[v(0x180)][v(0x178)]():return v(0x182);case v(0x198):return'rightHand';case v(0x156):return'leftHand';case v(0x15c):return v(0x15c);case v(0x15b):case v(0x1a1):return v(0x16f);case v(0x14a):return v(0x15f);case'leg\x20armor':case'legarmor':return'legs';case v(0x155):case v(0x177):return v(0x162);case v(0x15e):case v(0x147):case v(0x182):return'torso';default:return null;}}[a48i(0x190)](a){const w=a48i;return Object[w(0x19e)](Category)['includes'](a['category']);}[a48i(0x1a0)](a){const x=a48i,b=this[x(0x149)][a];if(!b)return x(0x170)+a+x(0x192);return this[x(0x17c)](b),this['equipment'][a]=null,x(0x14c)+b[x(0x150)]+'.';}[a48i(0x188)](a,b){const y=a48i;a!==this&&this[y(0x18f)][y(0x167)](a['name']+y(0x14e)+b+'\x22');}[a48i(0x19b)](a){const z=a48i;this[z(0x146)]=a,a['on'](z(0x17b),this[z(0x188)]['bind'](this)),this[z(0x18f)][z(0x172)](this['name']+z(0x197)+a['name']);}['leaveRoom'](){const A=a48i;this[A(0x146)]&&(this[A(0x146)][A(0x16d)]('speak',this[A(0x188)][A(0x173)](this)),this[A(0x18f)][A(0x172)](this['name']+A(0x14f)+this[A(0x146)]['name']));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a49i=a49d;function a49c(){var n=['2meZMFo','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','4718628MLJQHs','logger','10596xHkpeJ','matchesRequiredPhrase','requiredPhrase','751730nViloT','70Gcfunf','22ocJQCm','getInstance','1119cBIhxK','You\x20have\x20already\x20solved\x20this\x20puzzle.','solved','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','apply','constructor','Puzzle:\x20Correct\x20solution\x20provided.','hasRequiredItem','riddle','869214vwwVZM','requiredItem','rewardItem','3271050IDoyMY','514639KwfWur','(((.+)+)+)+$','hasItem','You\x20solved\x20the\x20puzzle!','search','99CMDPwo','1271272RVrYNz','failureMessage','toString','successMessage','write'];a49c=function(){return n;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1f2))/0x1*(-parseInt(f(0x1fd))/0x2)+parseInt(f(0x208))/0x3*(parseInt(f(0x201))/0x4)+parseInt(f(0x1f1))/0x5+parseInt(f(0x1ee))/0x6*(parseInt(f(0x205))/0x7)+parseInt(f(0x1f8))/0x8*(-parseInt(f(0x1f7))/0x9)+-parseInt(f(0x204))/0xa+parseInt(f(0x206))/0xb*(-parseInt(f(0x1ff))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xf32a6));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x20d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1fa)]()[h(0x1f6)](h(0x1f3))[h(0x1fa)]()[h(0x20e)](a49a)[h(0x1f6)](h(0x1f3));});a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a49d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a49i(0x207)]();[a49i(0x20a)]=![];[a49i(0x1ef)];['requiredPhrase'];[a49i(0x1ed)];[a49i(0x1f0)];[a49i(0x1fb)];[a49i(0x1f9)];constructor(a){var j=a49i;super(),this['requiredItem']=a[j(0x1ef)],this[j(0x203)]=a[j(0x203)],this['riddle']=a[j(0x1ed)],this[j(0x1f0)]=a[j(0x1f0)],this['successMessage']=a[j(0x1fb)]||j(0x1f5),this['failureMessage']=a[j(0x1f9)]||j(0x20c);}[a49i(0x210)](a){var k=a49i;if(this[k(0x1ef)])return a[k(0x1f4)](this[k(0x1ef)]);return![];}[a49i(0x202)](a){var l=a49i;return this[l(0x203)]===a;}['solve'](a,b){var m=a49i;if(this['solved'])return this[m(0x200)]['write'](m(0x1fe)),{'success':![],'message':m(0x209)};return this[m(0x210)](b)||this['matchesRequiredPhrase'](a)?(this[m(0x20a)]=!![],this[m(0x200)][m(0x1fc)](m(0x20f)),{'success':!![],'message':this[m(0x1fb)]}):(this[m(0x200)]['write'](m(0x20b)),{'success':![],'message':this[m(0x1f9)]});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d
|
|
1
|
+
const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x171))/0x1+parseInt(f(0x182))/0x2*(-parseInt(f(0x155))/0x3)+-parseInt(f(0x17f))/0x4*(parseInt(f(0x184))/0x5)+-parseInt(f(0x172))/0x6*(parseInt(f(0x16c))/0x7)+parseInt(f(0x15a))/0x8+-parseInt(f(0x175))/0x9+parseInt(f(0x178))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x34fb1));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x157)](h(0x151))[h(0x14a)]()[h(0x14d)](a50a)[h(0x157)](h(0x151));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x149;let f=c[d];return f;},a50d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a50i(0x15d)]();[a50i(0x16b)];[a50i(0x16e)];[a50i(0x169)]=new Map();[a50i(0x18d)];['isStartRoom'];[a50i(0x17d)]=new Inventory();constructor(a){const j=a50i;super(),this[j(0x16b)]=a[j(0x16b)],this['description']=a[j(0x16e)],this[j(0x18d)]=a[j(0x18d)]||RoomType[j(0x15f)],a[j(0x169)]&&(this[j(0x169)]=a[j(0x169)]||new Map()),a[j(0x17d)]&&(this['inventory']=a[j(0x17d)]),a['puzzle']&&(this[j(0x153)]=a['puzzle']),this[j(0x15e)]=a[j(0x15e)]||![],this[j(0x17a)]['write'](j(0x181)+this[j(0x16b)]);}[a50i(0x16a)](a,b){const k=a50i;this[k(0x177)](k(0x152),a,b);}[a50i(0x14c)](a,b,c){const l=a50i;let d=this[l(0x15c)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x169)][l(0x162)](a,d),b[l(0x169)][l(0x162)](this[l(0x183)](a),d);}[a50i(0x170)](a,b){const m=a50i,c=this[m(0x169)][m(0x16d)](a);if(c instanceof Door){const d=c[m(0x156)](b);return this[m(0x17a)][m(0x167)](m(0x154)+a+m(0x179)+d),d?'The\x20'+c[m(0x16b)]+m(0x18a):m(0x186)+c[m(0x16b)]+m(0x14f);}return this[m(0x17a)][m(0x167)](m(0x150)+a),m(0x160);}[a50i(0x18c)](a){const n=a50i;return this[n(0x17a)][n(0x167)](n(0x161)+a),this[n(0x169)][n(0x16d)](a);}[a50i(0x17c)](a){const o=a50i,b=this[o(0x169)][o(0x16d)](a),c=b instanceof Door&&b[o(0x164)]();return this[o(0x17a)][o(0x167)](o(0x158)+a+o(0x14e)+c),c;}[a50i(0x187)](a){const p=a50i;this[p(0x17d)]['addItem'](a),this[p(0x17a)][p(0x167)](p(0x17b)+this['name']+':\x20'+a[p(0x16b)]);}[a50i(0x159)](a){const q=a50i;this[q(0x17d)][q(0x174)](a[q(0x16b)])?(this[q(0x17d)]['removeItem'](a[q(0x16b)]),this[q(0x17a)][q(0x167)](q(0x165)+this[q(0x16b)]+':\x20'+a[q(0x16b)])):this[q(0x17a)][q(0x167)](q(0x17e)+this[q(0x16b)]+':\x20'+a[q(0x16b)]);}[a50i(0x173)](a){const r=a50i;this[r(0x153)]=a,this[r(0x17a)][r(0x167)](r(0x18b)+this[r(0x16b)]+':\x20'+a[r(0x16f)]);}[a50i(0x183)](a){const s=a50i;switch(a){case s(0x176):return Direction['SOUTH'];case s(0x166):return Direction[s(0x189)];case s(0x15b):return Direction['WEST'];case'west':return Direction[s(0x163)];case'up':return Direction[s(0x185)];case s(0x168):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a50i(0x15c)](a){const t=a50i;for(const b of this[t(0x169)][t(0x188)]()){if(b instanceof Door){if(b[t(0x180)]===this&&b[t(0x149)]===a||b[t(0x149)]===this&&b[t(0x180)]===a)return b;}}return undefined;}}function a50c(){const u=['Item\x20added\x20to\x20room\x20','isExitLocked','inventory','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','428JRfqXy','roomA','Room\x20created:\x20','70366KVGpNn','getOppositeDirection','10145DOLJQD','DOWN','The\x20','addItem','values','NORTH','\x20unlocked!','Puzzle\x20set\x20for\x20room\x20','getExit','roomType','roomB','toString','apply','addExit','constructor','\x20is\x20locked.\x20Result:\x20','\x20remains\x20locked.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','(((.+)+)+)+$','speak','puzzle','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','33qaRoia','attemptUnlock','search','Checking\x20if\x20exit\x20in\x20direction\x20','removeItem','624288bziaVS','east','findExistingDoor','getInstance','isStartRoom','INSIDE','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Fetching\x20exit\x20in\x20direction:\x20','set','EAST','checkIfLocked','Item\x20removed\x20from\x20room\x20','south','write','down','exits','say','name','231pyZRhQ','get','description','riddle','attemptUnlockExit','127903pYpEPP','26034gcCNXH','setPuzzle','hasItem','3032766WKsYMZ','north','emit','13511530qoeipF','.\x20Success:\x20','logger'];a50c=function(){return u;};return a50c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a51c(){const D=['allActors','1689heWbql','actors','search','createExitsFromConfig','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','935945jOffJG','get','\x20found\x20in\x20the\x20scene.','roomConfiguration','removeActor','characterLocations','keys','30978470VzdqWz','\x27s\x20location.\x20Room\x20','\x22\x20does\x20not\x20exist.','values','Room\x20\x22','11828wTQuPF','1393616znAapE','generateRoomsFromConfig','1954981qLKiuW','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','targetRoom','.\x20Room\x20','toString','(((.+)+)+)+$','keyRequired','getRooms','setPuzzle','Actor\x20with\x20name\x20','\x20already\x20exists\x20in\x20the\x20scene.','createRoom','toUpperCase','rooms','9MTUKNw','48tnUciQ','addPuzzleToRoom','hasOwnProperty','player','length','1026200ZvgiWo','delete','has','currentLocation','2550512SdxBBC','roomFactory','\x20not\x20found\x20in\x20scene.','No\x20actor\x20with\x20name\x20','Scene\x20initialized\x20with\x20rooms:\x20','initialize','push','warn','from','removeRoom','\x20is\x20now\x20in\x20room\x20','getInstance','setCharacterLocation','Failed\x20to\x20add\x20puzzle.\x20Room\x20','name','logger','Added\x20item\x20','Removed\x20room\x20from\x20scene:\x20','Failed\x20to\x20set\x20','Added\x20room\x20to\x20scene:\x20','Added\x20puzzle\x20to\x20room\x20','addExit','determineStartRoom','write','connectRooms'];a51c=function(){return D;};return a51c();}const a51k=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0x143))/0x1+-parseInt(i(0x159))/0x2+-parseInt(i(0x131))/0x3*(-parseInt(i(0x142))/0x4)+-parseInt(i(0x136))/0x5*(-parseInt(i(0x154))/0x6)+parseInt(i(0x145))/0x7+-parseInt(i(0x15d))/0x8*(parseInt(i(0x153))/0x9)+-parseInt(i(0x13d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdd0e1));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 j=a51d;return a51a[j(0x149)]()[j(0x133)]('(((.+)+)+)+$')[j(0x149)]()['constructor'](a51a)['search'](j(0x14a));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x12b;let f=c[d];return f;},a51d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a51k(0x16c)];['actors'];[a51k(0x13b)]=new Map();[a51k(0x15e)];constructor(a){const l=a51k;super(),this['roomFactory']=new RoomFactory(),this['player']=a[l(0x157)],this['rooms']=this[l(0x144)](a[l(0x139)]),this['logger']=Logger[l(0x168)](),this[l(0x132)]=new Map(),this['createExitsFromConfig'](a[l(0x139)]),this[l(0x16c)][l(0x12e)](l(0x161)+Object[l(0x13c)](this['rooms'])['join'](',\x20'));}[a51k(0x162)](){const m=a51k;this[m(0x157)][m(0x15c)]=this[m(0x12d)]();}[a51k(0x144)](a){const n=a51k;if(!this[n(0x15e)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0x15e)][n(0x150)](c);b[c['name']]=d;}return b;}[a51k(0x134)](a){const o=a51k;for(const b of a){const c=this[o(0x152)][b[o(0x16b)]];if(b['exits'])for(const d of b['exits']){const e=d['direction'][o(0x151)](),f=d[o(0x147)],g=d[o(0x14b)],h=this[o(0x152)][f];h&&c[o(0x12c)](Direction[e],h,g);}}}['addActor'](a){const p=a51k;if(this[p(0x132)][p(0x15b)](a[p(0x16b)]))throw new Error(p(0x14e)+a[p(0x16b)]+p(0x14f));this[p(0x132)]['set'](a['name'],a);}[a51k(0x13a)](a){const q=a51k;if(!this[q(0x132)][q(0x15b)](a))throw new Error(q(0x160)+a+q(0x138));this[q(0x132)][q(0x15a)](a);}['getActor'](a){const r=a51k;return this[r(0x132)][r(0x137)](a);}get[a51k(0x130)](){const s=a51k;return Array[s(0x165)](this[s(0x132)][s(0x140)]());}['addRoom'](a){const t=a51k;this[t(0x152)][a[t(0x16b)]]=a,this[t(0x16c)][t(0x12e)](t(0x170)+a[t(0x16b)]);}[a51k(0x166)](a){const u=a51k;return this[u(0x152)][a]?(delete this['rooms'][a],this[u(0x16c)][u(0x12e)](u(0x16e)+a),!![]):(this[u(0x16c)][u(0x12e)](u(0x146)+a),![]);}['addItemToRoom'](a,b){const v=a51k,c=this['rooms'][b];c?(c['addItem'](a),this[v(0x16c)]['write'](v(0x16d)+a[v(0x16b)]+'\x20to\x20room\x20'+c[v(0x16b)])):this[v(0x16c)]['write']('Failed\x20to\x20add\x20item\x20'+a['name']+v(0x148)+b+v(0x15f));}[a51k(0x155)](a,b){const w=a51k,c=this[w(0x152)][b];c?(c[w(0x14d)](a),this['logger']['write'](w(0x12b)+c[w(0x16b)])):this[w(0x16c)][w(0x12e)](w(0x16a)+b+w(0x15f));}[a51k(0x169)](a,b){const x=a51k,c=this['rooms'][b];c?(this['characterLocations']['set'](a[x(0x16b)],c),this['logger']['write'](a[x(0x16b)]+x(0x167)+c[x(0x16b)])):this[x(0x16c)][x(0x12e)](x(0x16f)+a[x(0x16b)]+x(0x13e)+b+x(0x15f));}['getCharacterLocation'](a){const y=a51k;return this[y(0x13b)]['get'](a[y(0x16b)]);}[a51k(0x12d)](){const z=a51k,a=[];for(const c in this[z(0x152)]){if(this[z(0x152)][z(0x156)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[z(0x163)](d);}}if(a[z(0x158)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a['length']===0x1)return a[0x0];const b=Object[z(0x13c)](this['rooms']);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0x164)](z(0x135)),this[z(0x152)][b[0x0]];}['getPlayer'](){const A=a51k;return this[A(0x157)];}[a51k(0x14c)](){const B=a51k;return this[B(0x152)];}[a51k(0x12f)](a,b,c,d){const C=a51k,e=this[C(0x152)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x141)+a+C(0x13f));if(!f)throw new Error(C(0x141)+c+C(0x13f));e[C(0x12c)](b,f,d);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xc0))/0x1*(-parseInt(f(0xb8))/0x2)+parseInt(f(0xc9))/0x3*(-parseInt(f(0xd5))/0x4)+-parseInt(f(0xc4))/0x5+parseInt(f(0xdb))/0x6+parseInt(f(0xda))/0x7+-parseInt(f(0xbb))/0x8*(parseInt(f(0xc7))/0x9)+-parseInt(f(0xb4))/0xa*(-parseInt(f(0xb3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x5ccb3));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0xc2)]('(((.+)+)+)+$')[h(0xc6)]()[h(0xd9)](a52a)[h(0xc2)](h(0xa6));});a52a();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=a52d;super({'name':a,'description':b,'size':Size[i(0xa8)],'category':Category[i(0xd3)],'shape':Shape['Rectangle'],'color':Color[i(0xd2)],'texture':Texture[i(0xc8)],'rating':Rating[i(0xc3)],'weight':0x1});}[a52j(0xdc)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var k=a52j;super({'name':a,'description':b,'size':Size[k(0xa8)],'category':Category[k(0xd6)],'shape':Shape[k(0xab)],'color':Color[k(0xcb)],'texture':Texture[k(0xd0)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0xb0)],'category':Category['Weapon'],'shape':Shape[l(0xc5)],'color':Color[l(0xcf)],'texture':Texture['Metallic'],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0xa8)],'category':Category[m(0xd1)],'shape':Shape['Circle'],'color':Color[m(0xcb)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0xb0)],'category':Category[n(0xc1)],'shape':Shape['Rectangle'],'color':Color[n(0xcb)],'texture':Texture[n(0xd0)],'rating':Rating[n(0xc3)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0xa8)],'category':Category[o(0xa5)],'shape':Shape[o(0xbc)],'color':Color[o(0xcb)],'texture':Texture[o(0xd0)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0xa8)],'category':Category[p(0xcd)],'shape':Shape[p(0xb6)],'color':Color[p(0xcf)],'texture':Texture['Smooth'],'rating':Rating[p(0xc3)],'weight':0x2});}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xa5;var f=c[d];return f;},a52d(a,b);}export class Gloves extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0xae)],'category':Category[q(0xa7)],'shape':Shape[q(0xb6)],'color':Color[q(0xcf)],'texture':Texture[q(0xc8)],'rating':Rating[q(0xc3)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0xa8)],'category':Category['ArmArmor'],'shape':Shape[r(0xbc)],'color':Color[r(0xcb)],'texture':Texture[r(0xd0)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0xd8)],'category':Category[s(0xb7)],'shape':Shape[s(0xbc)],'color':Color['Yellow'],'texture':Texture[s(0xc8)],'rating':Rating[s(0xc3)],'weight':0x0});}[a52j(0xdc)](){var t=a52j;return t(0xb5);}}export class Weapon extends Item{constructor(a,b){var u=a52j;super({'name':a,'description':b,'size':Size[u(0xa8)],'category':Category['Weapon'],'shape':Shape[u(0xab)],'color':Color[u(0xcb)],'texture':Texture[u(0xd0)],'rating':Rating[u(0xc3)],'weight':0x3});}[a52j(0xdc)](){var v=a52j;return v(0xb9);}}function a52c(){var C=['constructor','3871168dXrURs','2281722VyjrPO','use','LegArmor','(((.+)+)+)+$','Gloves','Medium','Legendary','apply','Blade','name','pageCount','Small','A\x20mysterious\x20book.','Large','Unknown\x20Author','Gold','6017xRHZLo','14260RHWpJZ','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Circle','Key','1402tHuFQn','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Holy\x20Grail','337448cBsTPu','Rectangle','publishDate','Short\x20Sword','Book','218yoFYSJ','BodyArmor','search','Common','2648630HDGzqH','Rifle','toString','9ptVTlM','Smooth','365115kdHknf','You\x20hold\x20the\x20','Grey','author','Boots','Cup','Brown','Metallic','Helmet','Yellow','Unknown','\x20aloft,\x20feeling\x20its\x20immense\x20power.','20WqFmkW','Weapon','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Tiny'];a52c=function(){return C;};return a52c();}export class Book extends Item{['author'];[a52j(0xbd)];[a52j(0xad)];constructor(a,b=a52j(0xaf),c=a52j(0xb1)){var w=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[w(0xbf)],'shape':Shape[w(0xbc)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1}),this[w(0xcc)]=c,this[w(0xbd)]=new Date(),this[w(0xad)]=0x64;}[a52j(0xdc)](){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=a52j;super({'name':x(0xbe),'description':x(0xd7),'size':Size[x(0xa8)],'category':Category[x(0xd6)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[x(0xd0)],'rating':Rating[x(0xc3)],'weight':0x3});}['use'](){var y=a52j;return y(0xb9);}}export class SniperRifle extends Item{constructor(){var z=a52j;super({'name':'Sniper\x20Rifle','description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0xb0)],'category':Category[z(0xd6)],'shape':Shape['Rifle'],'color':Color[z(0xcf)],'texture':Texture['Smooth'],'rating':Rating[z(0xc3)],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var A=a52j;super({'name':A(0xba),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[A(0xae)],'category':Category[A(0xce)],'shape':Shape[A(0xb6)],'color':Color[A(0xb2)],'texture':Texture[A(0xd0)],'rating':Rating[A(0xa9)],'weight':0x1});}[a52j(0xdc)](){var B=a52j;return B(0xca)+this[B(0xac)]+B(0xd4);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x111;let f=c[d];return f;},a54d(a,b);}const a54i=a54d;function a54c(){const j=['Blood-stained\x20Key','shield','south','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','Courtyard','15512UTTuTq','Emblem\x20Shield','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','Mage\x27s\x20Lair','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','Matrix\x20Data\x20Haven','Rusted\x20Sword','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','disenchant','Amulet\x20of\x20Awakening','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','decrypt','An\x20old\x20and\x20rusted\x20sword.','open\x20sesame','Guard\x27s\x20Log\x20Book','west','Golden\x20Key','amulet','Barrens\x20Hideout','Chad\x20the\x20stupid\x20guard','Central\x20Chamber','EAST','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','CorpSec\x20Plans','Central\x20Chamber\x20Key','The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','toString','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','Corp\x20Enclave','Nothing\x20happens.','Secret\x20Passage','Treasure\x20Room','The\x20chest\x20remains\x20firmly\x20shut.','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','A\x20long-range\x20weapon.','basic','Jackpoint\x20Login','A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.','319736Yxvspt','To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','(((.+)+)+)+$','Corporate\x20Creditstick','inside','Encrypted\x20Data\x20Key','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','Study','A\x20clear\x20glass\x20vial.','down','book','The\x20data\x20remains\x20encrypted.','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','Downtown\x20Seattle','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','63Bwfkqr','Torture\x20Chamber','Rigger\x27s\x20Workshop','east','32ofAYXA','Riddle\x20Book','Ares\x20Predator','search','132520SjwLhp','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','cup','Library','Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','OUTSIDE','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','Alchemy\x20Lab','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','17184DnEGQq','18370shXpQZ','A\x20small\x20surveillance\x20drone.','show\x20loyalty','Ancient\x20Gem','The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','insert\x20gem','The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','release','That\x20passcode\x20is\x20incorrect','outside','750946IJHZOB','Barrens\x20Entrance','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','north','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','Watch\x20Tower','MCT\x20Fly-Spy','A\x20key\x20stained\x20with\x20old\x20blood.','The\x20legendary\x20Holy\x20Grail.','apply','3UQZOsx','NORTH','Entrance\x20Hall','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','A\x20creditstick\x20loaded\x20with\x20nuyen.','key','166570FRRXIs','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','Gang\x20Insignia'];a54c=function(){return j;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x156))/0x1*(parseInt(f(0x126))/0x2)+-parseInt(f(0x148))/0x3*(-parseInt(f(0x111))/0x4)+parseInt(f(0x14e))/0x5+parseInt(f(0x133))/0x6+-parseInt(f(0x13e))/0x7+parseInt(f(0x12a))/0x8*(-parseInt(f(0x122))/0x9)+-parseInt(f(0x134))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x21fe2));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x171)]()['search'](h(0x113))['toString']()['constructor'](a54a)[h(0x129)](h(0x113));});a54a();export const rooms=[{'name':a54i(0x12d),'description':a54i(0x142),'isStartRoom':!![],'items':[{'type':a54i(0x14d),'name':a54i(0x167),'description':a54i(0x130)},{'type':a54i(0x11d),'name':a54i(0x165),'description':'A\x20thin\x20log\x20book','content':a54i(0x16a)}],'exits':[{'direction':a54i(0x16c),'targetRoom':a54i(0x175)}]},{'name':a54i(0x175),'description':a54i(0x132),'exits':[{'direction':a54i(0x149),'targetRoom':a54i(0x176),'keyRequired':a54i(0x167)},{'direction':'SOUTH','targetRoom':a54i(0x155)}]},{'name':a54i(0x176),'description':a54i(0x161),'items':[{'type':'holyGrail','name':'Holy\x20Grail','description':a54i(0x146)}]},{'name':a54i(0x155),'description':a54i(0x15e),'roomType':a54i(0x12f),'exits':[{'direction':'UP','targetRoom':a54i(0x143)}]},{'name':a54i(0x143),'description':a54i(0x11f),'roomType':a54i(0x12f),'puzzle':{'requiredPhrase':'secret123','riddle':'A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','rewardItem':{'type':'rifle','name':'Sniper\x20Rifle','description':a54i(0x179)},'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':a54i(0x13c)}}];export const dungeonConfig=[{'name':a54i(0x14a),'description':a54i(0x121),'isStartRoom':!![],'roomType':a54i(0x115),'puzzle':{'requiredPhrase':a54i(0x164),'riddle':'Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','rewardItem':{'type':a54i(0x14d),'name':a54i(0x16f),'description':a54i(0x140)},'successMessage':'The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','failureMessage':a54i(0x174)},'exits':[{'direction':a54i(0x141),'targetRoom':a54i(0x11a)},{'direction':'east','targetRoom':a54i(0x16b),'keyRequired':a54i(0x16f)}]},{'name':a54i(0x11a),'description':a54i(0x158),'roomType':a54i(0x115),'items':[{'type':a54i(0x11d),'name':a54i(0x127),'description':'A\x20book\x20containing\x20a\x20mysterious\x20riddle.','content':a54i(0x15b)},{'type':a54i(0x14d),'name':a54i(0x16f),'description':'A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.'}],'exits':[{'direction':a54i(0x153),'targetRoom':'Entrance\x20Hall'},{'direction':a54i(0x125),'targetRoom':a54i(0x131)}]},{'name':a54i(0x131),'description':a54i(0x16d),'roomType':a54i(0x115),'items':[{'type':a54i(0x17a),'name':'Empty\x20vial','description':a54i(0x11b)}],'exits':[{'direction':a54i(0x166),'targetRoom':a54i(0x11a)},{'direction':a54i(0x141),'targetRoom':'Armory'}]},{'name':'Armory','description':a54i(0x12e),'roomType':'inside','items':[{'type':a54i(0x152),'name':a54i(0x157),'description':'A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.'},{'type':'sword','name':a54i(0x15d),'description':a54i(0x163)}],'exits':[{'direction':a54i(0x153),'targetRoom':'Alchemy\x20Lab'},{'direction':a54i(0x125),'targetRoom':a54i(0x16b)}]},{'name':a54i(0x16b),'description':a54i(0x14b),'roomType':'inside','exits':[{'direction':a54i(0x166),'targetRoom':'Armory'},{'direction':a54i(0x153),'targetRoom':a54i(0x14a)},{'direction':'north','targetRoom':a54i(0x123)},{'direction':a54i(0x125),'targetRoom':a54i(0x176)}]},{'name':a54i(0x123),'description':'Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','roomType':a54i(0x115),'items':[{'type':a54i(0x14d),'name':a54i(0x151),'description':a54i(0x145)}],'puzzle':{'requiredPhrase':a54i(0x13b),'riddle':a54i(0x119),'rewardItem':{'type':'gem','name':a54i(0x137),'description':a54i(0x14f)},'successMessage':a54i(0x13a),'failureMessage':'The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.'},'exits':[{'direction':'south','targetRoom':'Central\x20Chamber'}]},{'name':a54i(0x176),'description':a54i(0x118),'roomType':a54i(0x115),'puzzle':{'requiredPhrase':a54i(0x139),'riddle':a54i(0x154),'rewardItem':{'type':a54i(0x12c),'name':'Golden\x20Chalice','description':'A\x20chalice\x20made\x20of\x20pure\x20gold.'},'successMessage':'The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','failureMessage':a54i(0x177)},'exits':[{'direction':a54i(0x166),'targetRoom':a54i(0x16b)}]}];export const shadowrunConfig=[{'name':a54i(0x17b),'description':a54i(0x159),'isStartRoom':!![],'roomType':a54i(0x115),'exits':[{'direction':'north','targetRoom':a54i(0x120)},{'direction':'up','targetRoom':a54i(0x15c)}]},{'name':'Matrix\x20Data\x20Haven','description':'A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','roomType':a54i(0x115),'puzzle':{'requiredPhrase':a54i(0x162),'riddle':'Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','rewardItem':{'type':'key','name':a54i(0x116),'description':'A\x20key\x20made\x20of\x20pure\x20digital\x20energy.'},'successMessage':'The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','failureMessage':a54i(0x11e)},'exits':[{'direction':a54i(0x11c),'targetRoom':'Jackpoint\x20Login'}]},{'name':a54i(0x120),'description':a54i(0x138),'roomType':a54i(0x13d),'exits':[{'direction':a54i(0x153),'targetRoom':a54i(0x17b)},{'direction':a54i(0x125),'targetRoom':a54i(0x13f)},{'direction':a54i(0x166),'targetRoom':a54i(0x173)}]},{'name':a54i(0x13f),'description':a54i(0x12b),'roomType':a54i(0x13d),'puzzle':{'requiredPhrase':a54i(0x136),'riddle':a54i(0x112),'rewardItem':{'type':a54i(0x14d),'name':a54i(0x150),'description':'A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.'},'successMessage':a54i(0x117),'failureMessage':'The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.'},'exits':[{'direction':a54i(0x166),'targetRoom':'Downtown\x20Seattle'},{'direction':a54i(0x141),'targetRoom':a54i(0x169)}]},{'name':a54i(0x173),'description':a54i(0x178),'roomType':a54i(0x115),'items':[{'type':'creditstick','name':a54i(0x114),'description':a54i(0x14c)},{'type':'document','name':a54i(0x16e),'description':'Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.'}],'exits':[{'direction':'east','targetRoom':a54i(0x120)}]},{'name':'Barrens\x20Hideout','description':'A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','roomType':'outside','items':[{'type':'weapon','name':a54i(0x128),'description':'A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.'}],'exits':[{'direction':a54i(0x153),'targetRoom':a54i(0x13f)},{'direction':a54i(0x141),'targetRoom':a54i(0x15a)},{'direction':a54i(0x125),'targetRoom':a54i(0x124)}]},{'name':a54i(0x15a),'description':'A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','roomType':a54i(0x115),'puzzle':{'requiredPhrase':a54i(0x15f),'riddle':'Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','rewardItem':{'type':a54i(0x168),'name':a54i(0x160),'description':a54i(0x17c)},'successMessage':a54i(0x170),'failureMessage':'The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.'},'exits':[{'direction':'south','targetRoom':a54i(0x169)}]},{'name':a54i(0x124),'description':a54i(0x172),'roomType':'inside','items':[{'type':'drone','name':a54i(0x144),'description':a54i(0x135)}],'exits':[{'direction':'west','targetRoom':'Barrens\x20Hideout'}]}];
|
|
1
|
+
function a54c(){const j=['2845615vOqyTW','The\x20data\x20remains\x20encrypted.','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','Corp\x20Enclave','The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','1715YyHUJW','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','2uHZSeO','OUTSIDE','open\x20sesame','Ares\x20Predator','1020954AQJUBT','basic','drone','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','rifle','Treasure\x20Room','52tEqaFU','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','Barrens\x20Entrance','amulet','apply','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','61995BoIVkj','outside','Mage\x27s\x20Lair','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','key','1049652QTbiPa','Library','sword','EAST','north','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','Entrance\x20Hall','shield','Golden\x20Chalice','Emblem\x20Shield','Jackpoint\x20Login','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','A\x20book\x20containing\x20a\x20mysterious\x20riddle.','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','The\x20chest\x20remains\x20firmly\x20shut.','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','Courtyard','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','Gang\x20Insignia','show\x20loyalty','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','That\x20passcode\x20is\x20incorrect','Corporate\x20Creditstick','insert\x20gem','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','east','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','A\x20creditstick\x20loaded\x20with\x20nuyen.','NORTH','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','Downtown\x20Seattle','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','Blood-stained\x20Key','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','(((.+)+)+)+$','creditstick','Guard\x27s\x20Log\x20Book','Watch\x20Tower','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','south','Barrens\x20Hideout','An\x20old\x20and\x20rusted\x20sword.','10ueSMao','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','A\x20clear\x20glass\x20vial.','Empty\x20vial','cup','Alchemy\x20Lab','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','Rusted\x20Sword','Secret\x20Passage','Torture\x20Chamber','MCT\x20Fly-Spy','Nothing\x20happens.','Matrix\x20Data\x20Haven','CorpSec\x20Plans','Central\x20Chamber\x20Key','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','disenchant','A\x20small\x20surveillance\x20drone.','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','inside','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','gem','toString','Central\x20Chamber','search','3680MYymxm','book','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','The\x20legendary\x20Holy\x20Grail.','Armory','Chad\x20the\x20stupid\x20guard','Golden\x20Key','Amulet\x20of\x20Awakening','Study','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','3796551MsVpIt','west','down','399551biQomS','holyGrail','constructor','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.'];a54c=function(){return j;};return a54c();}const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x16b))/0x1*(parseInt(f(0x177))/0x2)+parseInt(f(0x187))/0x3*(-parseInt(f(0x181))/0x4)+parseInt(f(0x16f))/0x5+parseInt(f(0x18d))/0x6+parseInt(f(0x174))/0x7*(parseInt(f(0x15d))/0x8)+-parseInt(f(0x168))/0x9+parseInt(f(0x1ba))/0xa*(-parseInt(f(0x17b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x737ba));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x14c;let f=c[d];return f;},a54d(a,b);}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x15a)]()[h(0x15c)](h(0x1b2))[h(0x15a)]()[h(0x16d)](a54a)[h(0x15c)](h(0x1b2));});a54a();export const rooms=[{'name':a54i(0x18e),'description':a54i(0x160),'isStartRoom':!![],'items':[{'type':a54i(0x18c),'name':'Golden\x20Key','description':a54i(0x1a3)},{'type':'book','name':a54i(0x1b4),'description':'A\x20thin\x20log\x20book','content':a54i(0x163)}],'exits':[{'direction':a54i(0x190),'targetRoom':a54i(0x1c3)}]},{'name':a54i(0x1c3),'description':a54i(0x18a),'exits':[{'direction':a54i(0x1ab),'targetRoom':a54i(0x180),'keyRequired':a54i(0x164)},{'direction':'SOUTH','targetRoom':a54i(0x19e)}]},{'name':a54i(0x180),'description':a54i(0x1ac),'items':[{'type':a54i(0x16c),'name':'Holy\x20Grail','description':a54i(0x161)}]},{'name':a54i(0x19e),'description':a54i(0x1c1),'roomType':a54i(0x178),'exits':[{'direction':'UP','targetRoom':a54i(0x1b5)}]},{'name':a54i(0x1b5),'description':'A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','roomType':a54i(0x178),'puzzle':{'requiredPhrase':'secret123','riddle':'A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','rewardItem':{'type':a54i(0x17f),'name':'Sniper\x20Rifle','description':'A\x20long-range\x20weapon.'},'successMessage':a54i(0x186),'failureMessage':a54i(0x1a4)}}];export const dungeonConfig=[{'name':a54i(0x194),'description':a54i(0x155),'isStartRoom':!![],'roomType':a54i(0x156),'puzzle':{'requiredPhrase':a54i(0x179),'riddle':'Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','rewardItem':{'type':a54i(0x18c),'name':a54i(0x151),'description':'A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.'},'successMessage':a54i(0x1a0),'failureMessage':a54i(0x14e)},'exits':[{'direction':a54i(0x191),'targetRoom':a54i(0x166)},{'direction':a54i(0x1a8),'targetRoom':'Central\x20Chamber','keyRequired':a54i(0x151)}]},{'name':a54i(0x166),'description':'A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','roomType':a54i(0x156),'items':[{'type':a54i(0x15e),'name':'Riddle\x20Book','description':a54i(0x19a),'content':a54i(0x19f)},{'type':'key','name':a54i(0x151),'description':a54i(0x15f)}],'exits':[{'direction':'south','targetRoom':a54i(0x194)},{'direction':a54i(0x1a8),'targetRoom':a54i(0x1c0)}]},{'name':a54i(0x1c0),'description':a54i(0x1ae),'roomType':a54i(0x156),'items':[{'type':a54i(0x17c),'name':a54i(0x1be),'description':a54i(0x1bd)}],'exits':[{'direction':a54i(0x169),'targetRoom':a54i(0x166)},{'direction':a54i(0x191),'targetRoom':a54i(0x162)}]},{'name':a54i(0x162),'description':'Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','roomType':a54i(0x156),'items':[{'type':a54i(0x195),'name':a54i(0x197),'description':a54i(0x1b0)},{'type':a54i(0x18f),'name':a54i(0x1c2),'description':a54i(0x1b9)}],'exits':[{'direction':a54i(0x1b7),'targetRoom':a54i(0x1c0)},{'direction':'east','targetRoom':a54i(0x15b)}]},{'name':a54i(0x15b),'description':a54i(0x1a9),'roomType':a54i(0x156),'exits':[{'direction':a54i(0x169),'targetRoom':a54i(0x162)},{'direction':a54i(0x1b7),'targetRoom':a54i(0x194)},{'direction':a54i(0x191),'targetRoom':a54i(0x14c)},{'direction':a54i(0x1a8),'targetRoom':a54i(0x180)}]},{'name':a54i(0x14c),'description':a54i(0x1bc),'roomType':a54i(0x156),'items':[{'type':'key','name':a54i(0x1af),'description':'A\x20key\x20stained\x20with\x20old\x20blood.'}],'puzzle':{'requiredPhrase':'release','riddle':a54i(0x17e),'rewardItem':{'type':a54i(0x159),'name':'Ancient\x20Gem','description':a54i(0x175)},'successMessage':'The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','failureMessage':a54i(0x19b)},'exits':[{'direction':a54i(0x1b7),'targetRoom':'Central\x20Chamber'}]},{'name':a54i(0x180),'description':'Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','roomType':a54i(0x156),'puzzle':{'requiredPhrase':a54i(0x1a6),'riddle':a54i(0x19d),'rewardItem':{'type':a54i(0x1bf),'name':a54i(0x196),'description':'A\x20chalice\x20made\x20of\x20pure\x20gold.'},'successMessage':a54i(0x1b6),'failureMessage':a54i(0x19c)},'exits':[{'direction':'west','targetRoom':'Central\x20Chamber'}]}];export const shadowrunConfig=[{'name':a54i(0x198),'description':'A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','isStartRoom':!![],'roomType':'inside','exits':[{'direction':'north','targetRoom':a54i(0x1ad)},{'direction':'up','targetRoom':'Matrix\x20Data\x20Haven'}]},{'name':a54i(0x14f),'description':a54i(0x176),'roomType':a54i(0x156),'puzzle':{'requiredPhrase':'decrypt','riddle':a54i(0x157),'rewardItem':{'type':a54i(0x18c),'name':'Encrypted\x20Data\x20Key','description':a54i(0x193)},'successMessage':a54i(0x16e),'failureMessage':a54i(0x170)},'exits':[{'direction':a54i(0x16a),'targetRoom':a54i(0x198)}]},{'name':a54i(0x1ad),'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':a54i(0x188),'exits':[{'direction':'south','targetRoom':a54i(0x198)},{'direction':a54i(0x1a8),'targetRoom':a54i(0x183)},{'direction':a54i(0x169),'targetRoom':a54i(0x172)}]},{'name':a54i(0x183),'description':a54i(0x1a7),'roomType':a54i(0x188),'puzzle':{'requiredPhrase':a54i(0x1a2),'riddle':'To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','rewardItem':{'type':a54i(0x18c),'name':a54i(0x1a1),'description':a54i(0x199)},'successMessage':a54i(0x1b1),'failureMessage':a54i(0x1bb)},'exits':[{'direction':'west','targetRoom':'Downtown\x20Seattle'},{'direction':'north','targetRoom':a54i(0x1b8)}]},{'name':a54i(0x172),'description':a54i(0x152),'roomType':a54i(0x156),'items':[{'type':a54i(0x1b3),'name':a54i(0x1a5),'description':a54i(0x1aa)},{'type':'document','name':a54i(0x150),'description':a54i(0x182)}],'exits':[{'direction':'east','targetRoom':'Downtown\x20Seattle'}]},{'name':a54i(0x1b8),'description':a54i(0x18b),'roomType':a54i(0x188),'items':[{'type':'weapon','name':a54i(0x17a),'description':a54i(0x171)}],'exits':[{'direction':a54i(0x1b7),'targetRoom':'Barrens\x20Entrance'},{'direction':a54i(0x191),'targetRoom':a54i(0x189)},{'direction':a54i(0x1a8),'targetRoom':'Rigger\x27s\x20Workshop'}]},{'name':a54i(0x189),'description':'A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','roomType':a54i(0x156),'puzzle':{'requiredPhrase':a54i(0x153),'riddle':a54i(0x167),'rewardItem':{'type':a54i(0x184),'name':a54i(0x165),'description':'A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.'},'successMessage':a54i(0x173),'failureMessage':a54i(0x158)},'exits':[{'direction':a54i(0x1b7),'targetRoom':a54i(0x1b8)}]},{'name':'Rigger\x27s\x20Workshop','description':a54i(0x192),'roomType':a54i(0x156),'items':[{'type':a54i(0x17d),'name':a54i(0x14d),'description':a54i(0x154)}],'exits':[{'direction':a54i(0x169),'targetRoom':a54i(0x1b8)}]}];
|