@maka/maka-cli 5.1.8 → 5.1.9
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/cecr.sub.cmd.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/decr.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/lecr.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/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.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/install.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/profile.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/register.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/_index.js +1 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.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
|
+
const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1c4))/0x1*(parseInt(f(0x1cf))/0x2)+parseInt(f(0x1b7))/0x3*(-parseInt(f(0x1b4))/0x4)+-parseInt(f(0x1c5))/0x5+parseInt(f(0x1d2))/0x6*(-parseInt(f(0x1ca))/0x7)+-parseInt(f(0x1db))/0x8+-parseInt(f(0x1c0))/0x9+parseInt(f(0x1c3))/0xa*(parseInt(f(0x1c2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xd771c));const a37b=(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;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x1d5)]()[g(0x1d7)](g(0x1bc))[g(0x1d5)]()[g(0x1cc)](a37a)[g(0x1d7)]('(((.+)+)+)+$');});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['10585712EuRRKw','description','There\x27s\x20no\x20door\x20named\x20\x22','isValidDirection','5516564tGwSiv','get','\x22\x20is\x20already\x20locked.','3dlAkBF','\x20Locked\x20the\x20','error','logger','\x20door.','(((.+)+)+)+$','You\x20locked\x20the\x20door\x20named\x20\x22','lock','hasItem','7945920KNICbn','The\x20door\x20named\x20\x22','65224214YXZFje','10Yzcbye','3yqnQCy','8316765XHFoRi','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','execute','verb','3004799KyAqzY','LockCommand:\x20No\x20target\x20specified.','constructor','exits','write','420554TiSkUC','toLowerCase','\x22\x20here.','6XVqwnv','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','isLocked','toString','LockCommand:\x20','search','unlockItemOrSolution','name','actor'];a37c=function(){return k;};return a37c();}import{Command}from'./command.js';export class LockCommand extends Command{static [a37h(0x1c9)]=a37h(0x1be);static [a37h(0x1b1)]='Lock\x20a\x20door.';[a37h(0x1c8)](a){const i=a37h;return this[i(0x1be)](a);}[a37h(0x1be)](a){const j=a37h;if(a['length']===0x0)return this['logger'][j(0x1b9)](j(0x1cb)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.';const b=a[0x0][j(0x1d0)](),c=this['actor']['currentLocation'];if(this[j(0x1b3)](b)&&c[j(0x1cd)]['has'](b)){const d=c[j(0x1cd)][j(0x1b5)](b);if(d[j(0x1d4)])return j(0x1c1)+b+j(0x1b6);const e=d[j(0x1d8)]?.[j(0x1d0)]();return e&&this['actor']['inventory'][j(0x1bf)](e)?(d[j(0x1d4)]=!![],this[j(0x1ba)][j(0x1ce)](j(0x1d6)+this[j(0x1da)][j(0x1d9)]+j(0x1b8)+b+j(0x1bb)),j(0x1bd)+b+'\x22.'):(this[j(0x1ba)]['write'](j(0x1d6)+this[j(0x1da)][j(0x1d9)]+j(0x1d3)+b+'.'),j(0x1c6));}else return this[j(0x1ba)][j(0x1ce)](j(0x1d6)+b+j(0x1c7)),j(0x1b2)+b+j(0x1d1);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38i=a38d;
|
|
1
|
+
const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x88))/0x1+-parseInt(f(0x72))/0x2+parseInt(f(0x8b))/0x3*(-parseInt(f(0xa0))/0x4)+-parseInt(f(0xa1))/0x5+parseInt(f(0x92))/0x6+-parseInt(f(0x83))/0x7*(-parseInt(f(0x97))/0x8)+parseInt(f(0x78))/0x9*(-parseInt(f(0x93))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x5447e));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x95)]()[h(0x9e)](h(0x9c))[h(0x95)]()[h(0xa2)](a38a)[h(0x9e)](h(0x9c));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x6c;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';function a38c(){const n=['Above\x20you,\x20','To\x20the\x20','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','(((.+)+)+)+$','It\x27s\x20just\x20a\x20regular\x20','search','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','4XehInS','178345DFUcZH','constructor','actor',',\x20you\x20see\x20','\x20here.','inspectItem','inventory','\x27\x20in\x20','505322uIHlcp','execute','\x20inventory.','\x20is\x20looking\x20around\x20the\x20current\x20room.','Looking\x20at\x20item\x20\x27','lookOutside','9cfLKtc','join','puzzle','Executing\x20\x27Look\x27\x20command.','string','Examine\x20your\x20surroundings','isValidDirection','logger','verb','look','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','56idVBpe','write','hasItem','apply','get','530588DnFFXL','down','rooms','44439kRsrbJ','error','currentLocation','You\x20cannot\x20see\x20through','Below\x20you,\x20','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','name','1828776DlrNSN','8387310QeJtBT','You\x27re\x20not\x20in\x20a\x20valid\x20room.','toString','description','651704BtbXfZ'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x80)]='look';static [a38i(0x96)]=a38i(0x7d);[a38i(0x73)](a=[]){const j=a38i;this[j(0x7f)]['write'](j(0x7b));const b=a[j(0x79)]('\x20');if(b){if(this[j(0x6c)][j(0x70)]['hasItem'](b))return this[j(0x7f)][j(0x84)](j(0x76)+b+j(0x71)+this[j(0x6c)]['name']+j(0x74)),this[j(0x6f)](b,this[j(0x6c)]['inventory']);else{if(this['actor'][j(0x8d)]['inventory'][j(0x85)](b))return this[j(0x7f)]['write'](j(0x76)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x6f)](b,this[j(0x6c)][j(0x8d)][j(0x70)]);else return this[j(0x7e)](b)?(this[j(0x7f)][j(0x84)](j(0x9b)+b+'\x27.'),this[j(0x77)](b)):'You\x20cannot\x20see\x20'+b;}}else return this[j(0x7f)][j(0x84)](this[j(0x6c)][j(0x91)]+j(0x75)),this[j(0x81)]();}[a38i(0x81)](){const k=a38i,a=this[k(0x6c)][k(0x8d)];if(!a)return this['logger'][k(0x8c)](this[k(0x6c)][k(0x91)]+k(0x9a)),k(0x94);let b=a[k(0x96)];return a['puzzle']&&(b+='\x0a'+a[k(0x7a)]['riddle']),b;}[a38i(0x77)](a){const l=a38i,b=this[l(0x6c)][l(0x8d)];if(!b)return this[l(0x7f)][l(0x8c)](this[l(0x6c)]['name']+l(0x9a)),l(0x94);const c=b['exits'][l(0x87)](a);if(!c)return l(0x9f)+a+'\x22.';let d;if(c instanceof Door)d=c['getOtherSide'](b);else{if(typeof c===l(0x7c)){d=this[l(0x8a)]&&this[l(0x8a)][c];if(!d)return l(0x82)+a+'\x22.';}else return l(0x90)+a+'\x22.';}if(d['roomType']===RoomType['OUTSIDE']){if(a==='up')return l(0x98)+d[l(0x96)];else return a===l(0x89)?l(0x8f)+d[l(0x96)]:l(0x99)+a+l(0x6d)+d['description'];}else return l(0x8e);}[a38i(0x6f)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x6e);return c[m(0x96)]||m(0x9d)+a+'.';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d
|
|
1
|
+
const a39i=a39d;function a39c(){const k=['\x20says\x20to\x20','search','321kTNoFk','filter','scene','An\x20error\x20occurred.','653944Iyqxho','constructor','log','execute','1946wSlCxx','currentLocation','name','319753pleOKr','length','140asbJnv','628758VtINsW','1496202kyPkKn','8rZxdmb','say','context',':\x20\x22','toString','logger','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','description','verb','308600OMuslD','allActors','Scene\x20is\x20missing\x20from\x20context.','actor','(((.+)+)+)+$','554158UpFGjY','join','5eJtBld'];a39c=function(){return k;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x181))/0x1+parseInt(g(0x170))/0x2*(-parseInt(g(0x18b))/0x3)+parseInt(g(0x16c))/0x4*(parseInt(g(0x188))/0x5)+-parseInt(g(0x177))/0x6+parseInt(g(0x173))/0x7+parseInt(g(0x178))/0x8*(-parseInt(g(0x176))/0x9)+-parseInt(g(0x175))/0xa*(-parseInt(g(0x186))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2c8f5));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x17c)]()[h(0x18a)](h(0x185))[h(0x17c)]()[h(0x16d)](a39a)[h(0x18a)](h(0x185));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x16b;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x180)]=a39i(0x179);static [a39i(0x17f)]=a39i(0x17e);[a39i(0x17a)];constructor(a){super(a),this['context']=a;}[a39i(0x16f)](a){const j=a39i;if(a[j(0x174)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[j(0x187)]('\x20'),c=this[j(0x184)],d=this[j(0x17a)][j(0x18d)];if(!d)return this['logger'][j(0x16e)](j(0x183)),j(0x16b);const e=d[j(0x182)][j(0x18c)](f=>f[j(0x171)]===c['currentLocation']);for(const f of e){this[j(0x17d)][j(0x16e)](c[j(0x172)]+j(0x189)+f['name']+j(0x17b)+b+'\x22'),this[j(0x184)]['currentLocation'][j(0x179)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x6a;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x6f))/0x1+-parseInt(f(0x78))/0x2*(-parseInt(f(0x71))/0x3)+-parseInt(f(0x7d))/0x4*(-parseInt(f(0x83))/0x5)+-parseInt(f(0x7b))/0x6+-parseInt(f(0x7f))/0x7+parseInt(f(0x75))/0x8+-parseInt(f(0x7a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb20f6));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x6c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x6e)]()[h(0x82)](h(0x79))[h(0x6e)]()['constructor'](a40a)[h(0x82)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';function a40c(){const k=['actor','386508gnQgbZ','(((.+)+)+)+$','11601639griowY','5698116TjFDMz','verb','4NhwYAy','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','7173978aEzlxR','SearchCommand:\x20','logger','search','6764265HuvBMb','write','length','\x20found\x20the\x20following\x20items:\x20','apply','You\x20search\x20the\x20area\x20and\x20find:\x20','toString','623437xparEj','listItems','21SUuJPb','Search\x20for\x20items\x20in\x20your\x20area','description','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','5311016TnpEXS','name'];a40c=function(){return k;};return a40c();}export class SearchCommand extends Command{static [a40i(0x7c)]=a40i(0x82);static [a40i(0x73)]=a40i(0x72);['execute'](){const j=a40i,a=this[j(0x77)]['currentLocation']['inventory'][j(0x70)]();if(a[j(0x6a)]===0x0)return this[j(0x81)][j(0x84)](j(0x80)+this[j(0x77)][j(0x76)]+j(0x74)),j(0x7e);const b=a['join'](',\x20');return this[j(0x81)][j(0x84)]('SearchCommand:\x20'+this[j(0x77)]['name']+j(0x6b)+b),j(0x6d)+b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d
|
|
1
|
+
const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xa4;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xbb))/0x1*(parseInt(f(0xbe))/0x2)+-parseInt(f(0xc1))/0x3*(-parseInt(f(0xae))/0x4)+parseInt(f(0xb6))/0x5+-parseInt(f(0xb7))/0x6*(-parseInt(f(0xac))/0x7)+parseInt(f(0xb5))/0x8*(-parseInt(f(0xc5))/0x9)+-parseInt(f(0xa6))/0xa*(parseInt(f(0xa5))/0xb)+parseInt(f(0xab))/0xc*(-parseInt(f(0xa9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xdd11b));function a41c(){const k=['10nJGhFY','join','solve','11713HrLMsJ','apply','5244YwczNF','3913938TaloRG','verb','140WxoIuh','(((.+)+)+)+$','currentLocation','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','search','success','SolveCommand:\x20','8TjoMqK','8099440ERxiyB','6YAuxZq','rewardItem','toString','execute','25943BcfUVE','inventory','toLowerCase','88zcLvEM','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','Attempt\x20to\x20solve\x20a\x20puzzle.','54534OVVYrw','message','write','puzzle','14763159twMlOc','logger','11188727UvgCts'];a41c=function(){return k;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0xb9)]()['search'](h(0xaf))[h(0xb9)]()['constructor'](a41a)[h(0xb2)](h(0xaf));});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0xad)]=a41i(0xa8);static ['description']=a41i(0xc0);[a41i(0xba)](a){const j=a41i,b=a[j(0xa7)]('\x20')[j(0xbd)](),c=this['actor'][j(0xb0)];if(!c||!c[j(0xc4)])return this['logger'][j(0xc3)](j(0xbf)),j(0xb1);const d=c[j(0xc4)][j(0xa8)](b,this['actor'][j(0xbc)]);return d[j(0xb3)]&&c[j(0xc4)][j(0xb8)]&&this['actor']['inventory']['addItem'](c[j(0xc4)][j(0xb8)]),this[j(0xa4)][j(0xc3)](j(0xb4)+d['message']),d[j(0xc2)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a42i=a42d;function a42c(){const l=['take','Error\x20during\x20\x27Take\x27\x20command:\x20','join','260166XDzjWp','There\x20is\x20no\x20item\x20\x22','14484uCRxOF','inventory','toLowerCase','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20in\x20this\x20room.','647523COGcdk','1465odWoxG','description','2CxtKRL','14143536XTwxYI','4034706srZUnS','Pick\x20up\x20an\x20item.','(((.+)+)+)+$','execute','search','logger','verb','\x22\x20not\x20retrieved\x20from\x20','7841840nmDYBr','\x22\x20not\x20found\x20in\x20','Item\x20\x22','The\x20item\x20\x22','name','6271482ZXhhKr','\x22\x20from\x20','You\x20have\x20taken\x20the\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','currentLocation','removeItem','Successfully\x20removed\x20\x22','message','getItem','apply','toString','write','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x20during\x20\x27Take\x27\x20command.'];a42c=function(){return l;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xca))/0x1+parseInt(f(0xcd))/0x2*(-parseInt(f(0xc3))/0x3)+parseInt(f(0xc5))/0x4*(parseInt(f(0xcb))/0x5)+parseInt(f(0xcf))/0x6+-parseInt(f(0xb2))/0x7+-parseInt(f(0xd7))/0x8+parseInt(f(0xce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa98eb));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xbc)]()[h(0xd3)](h(0xd1))[h(0xbc)]()['constructor'](a42a)[h(0xd3)](h(0xd1));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xae;let f=c[d];return f;},a42d(a,b);}export class TakeCommand extends Command{static [a42i(0xd5)]='take';static [a42i(0xcc)]=a42i(0xd0);[a42i(0xd2)](a){const j=a42i;return this['logger']['write']('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0xc2)]('\x20')),this[j(0xc0)](a);}[a42i(0xc0)](a){const k=a42i,b=a[k(0xc2)]('\x20')[k(0xc7)](),c=this['actor'][k(0xb6)];if(!c['inventory']['hasItem'](b))return this[k(0xd4)][k(0xbd)](k(0xaf)+b+k(0xae)+c[k(0xb1)]+k(0xbf)),k(0xc4)+b+k(0xc9);const d=c[k(0xc6)][k(0xba)](b);if(!d)return this[k(0xd4)][k(0xbd)](k(0xaf)+b+k(0xd6)+c[k(0xb1)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xc4)+b+k(0xc9);try{return this['actor']['addInventory'](d),this[k(0xd4)][k(0xbd)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this['actor']['name']+k(0xbe)),c['inventory'][k(0xb7)](b),this[k(0xd4)][k(0xbd)](k(0xb8)+b+k(0xb3)+c['name']+k(0xb5)),k(0xb4)+b+'.';}catch(e){return this[k(0xd4)][k(0xbd)](k(0xc1)+e[k(0xb9)]),k(0xb0)+b+k(0xc8);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['5571013Uuhosb','apply','logger','write','toString','\x20unqeuiped\x20','execute','242zeHAEd','1527327kFKFgE','7317nSHutL','2583927hTBZes','4cJiZcH','Unequip\x20an\x20item.','actor','66CUiZVX','search','unequip','unqeuip','UnequipCommand:\x20','verb','3314965hbwbvD','constructor','1552330oNxflh','description','6XPxNhW','300Oqsnoz','24gmpzil','2112487ckoQqm','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1d8))/0x1*(-parseInt(f(0x1d6))/0x2)+parseInt(f(0x1d7))/0x3+-parseInt(f(0x1da))/0x4*(-parseInt(f(0x1c6))/0x5)+-parseInt(f(0x1ca))/0x6*(-parseInt(f(0x1cf))/0x7)+parseInt(f(0x1cc))/0x8*(parseInt(f(0x1d9))/0x9)+-parseInt(f(0x1c8))/0xa*(-parseInt(f(0x1dd))/0xb)+-parseInt(f(0x1cb))/0xc*(parseInt(f(0x1cd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x8e77e));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1d3)]()[h(0x1de)](h(0x1ce))['toString']()[h(0x1c7)](a43a)[h(0x1de)](h(0x1ce));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x1c5)]=a43i(0x1c3);static [a43i(0x1c9)]=a43i(0x1db);[a43i(0x1d5)](a){const j=a43i,b=a['join']('\x20')['toLowerCase'](),c=this['actor'][j(0x1c2)](b);return this[j(0x1d1)][j(0x1d2)](j(0x1c4)+this[j(0x1dc)]['name']+j(0x1d4)+c),c;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a44c(){const
|
|
1
|
+
const a44j=a44d;function a44c(){const l=['description','actor','UnlockCommand:\x20No\x20target\x20specified.','10IpFkGx','write','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','getItem','1538386TXRdPK','27LRtLiO','verb','logger','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','length','(((.+)+)+)+$','20GqKTis','1ElKFKY','exits','get','name','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','isValidDirection','.\x20Result:\x20','2512749mUvwZT','search','toLowerCase','has','There\x27s\x20no\x20door\x20named\x20\x22','inventory','currentLocation','attemptUnlockExit','1953743CLYBuB','unlock','UnlockCommand:\x20','85336GHptKC','\x22\x20here.','toString','3085516WCaOca','5122974Kkjxif','execute','error','constructor','605924ODvznX'];a44c=function(){return l;};return a44c();}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x1f0))/0x1*(parseInt(h(0x1e8))/0x2)+parseInt(h(0x1f7))/0x3+parseInt(h(0x1e0))/0x4*(parseInt(h(0x1ef))/0x5)+-parseInt(h(0x1dc))/0x6+parseInt(h(0x1db))/0x7+parseInt(h(0x1d8))/0x8*(parseInt(h(0x1e9))/0x9)+-parseInt(h(0x1e4))/0xa*(-parseInt(h(0x1ff))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x72f67));const a44b=(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;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0x1da)]()[i(0x1f8)](i(0x1ee))['toString']()[i(0x1df)](a44a)[i(0x1f8)]('(((.+)+)+)+$');});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44j(0x1ea)]=a44j(0x200);static [a44j(0x1e1)]='Unlock\x20a\x20door.';[a44j(0x1dd)](a){return this['unlock'](a);}[a44j(0x200)](a){const k=a44j;if(a[k(0x1ed)]===0x0)return this[k(0x1eb)][k(0x1de)](k(0x1e3)),k(0x1ec);const b=a[0x0][k(0x1f9)](),c=this[k(0x1e2)][k(0x1fd)];if(this[k(0x1f5)](b)&&c[k(0x1f1)][k(0x1fa)](b)){const d=c[k(0x1f1)][k(0x1f2)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.['toLowerCase']();if(e&&this['actor'][k(0x1fc)]['hasItem'](e)){const f=this['actor'][k(0x1fc)][k(0x1e7)](e);if(f){const g=c[k(0x1fe)](b,f['name']);return this[k(0x1eb)][k(0x1e5)](k(0x1d7)+this[k(0x1e2)]['name']+'\x20is\x20attempted\x20to\x20unlock\x20'+b+k(0x1f6)+g),g;}}return this[k(0x1eb)][k(0x1e5)](k(0x1d7)+this[k(0x1e2)][k(0x1f3)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),k(0x1f4);}else return this['logger'][k(0x1e5)](k(0x1d7)+b+k(0x1e6)+c[k(0x1f3)]+'.'),k(0x1fb)+b+k(0x1d9);}else return this['logger'][k(0x1e5)](k(0x1d7)+b+k(0x1e6)+c[k(0x1f3)]+'.'),k(0x1fb)+b+k(0x1d9);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a45i=a45d;
|
|
1
|
+
const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x152))/0x1*(-parseInt(f(0x146))/0x2)+parseInt(f(0x14d))/0x3*(-parseInt(f(0x13d))/0x4)+parseInt(f(0x154))/0x5+parseInt(f(0x15b))/0x6*(parseInt(f(0x143))/0x7)+parseInt(f(0x14b))/0x8*(parseInt(f(0x144))/0x9)+parseInt(f(0x159))/0xa+-parseInt(f(0x142))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3ade6));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x158)]()[h(0x14a)]('(((.+)+)+)+$')[h(0x158)]()[h(0x150)](a45a)[h(0x14a)]('(((.+)+)+)+$');});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x13c;let f=c[d];return f;},a45d(a,b);}a45a();import{Command}from'./command.js';function a45c(){const k=['search','1380904cKbMVY','name','18141FjGhNP','\x20in\x20this\x20way.','\x20to\x20use.','constructor','UseCommand:\x20','83MbVkOr','inventory','1514200aaAYDB','description','actor','You\x20don\x27t\x20have\x20the\x20','toString','3776910VKKGmU','join','6jBKOeS','verb','\x27s\x20inventory.','apply','\x20attempted\x20to\x20use\x20','write','20vPXMZK','hasItem','use','function','logger','7143862sklPwN','1129562mZfTXd','9vCtJzK','execute','2258sMglDB','Use\x20an\x20item.','You\x20can\x27t\x20use\x20the\x20','getItem'];a45c=function(){return k;};return a45c();}export class UseCommand extends Command{static [a45i(0x15c)]='use';static [a45i(0x155)]=a45i(0x147);[a45i(0x145)](a){return this['use'](a);}['use'](a){const j=a45i,b=a[j(0x15a)]('\x20')['toLowerCase']();if(!this[j(0x156)][j(0x153)][j(0x13e)](b))return this['logger']['write'](j(0x151)+this[j(0x156)][j(0x14c)]+j(0x15f)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x157)+b+j(0x14f);const c=this[j(0x156)]['inventory'][j(0x149)](b);if(!c)return this[j(0x141)][j(0x13c)](j(0x151)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x156)][j(0x14c)]+j(0x15d)),j(0x157)+b+j(0x14f);if(typeof c[j(0x13f)]===j(0x140)){const d=c['use']();return this[j(0x141)]['write']('UseCommand:\x20'+this['actor'][j(0x14c)]+'\x20used\x20'+b+'.'),d;}else return this['logger'][j(0x13c)](j(0x151)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0x148)+b+j(0x14e);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a46h=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x1f9))/0x1*(parseInt(f(0x201))/0x2)+-parseInt(f(0x1f0))/0x3+-parseInt(f(0x1fc))/0x4+-parseInt(f(0x1fe))/0x5*(-parseInt(f(0x1f6))/0x6)+parseInt(f(0x203))/0x7*(-parseInt(f(0x1f7))/0x8)+parseInt(f(0x1fb))/0x9*(parseInt(f(0x1fa))/0xa)+-parseInt(f(0x200))/0xb*(-parseInt(f(0x1ff))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xbd313));const a46b=(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;};}()),a46a=a46b(this,function(){const g=a46d;return a46a[g(0x1f4)]()[g(0x1f5)](g(0x1f8))[g(0x1f4)]()[g(0x1f3)](a46a)['search'](g(0x1f8));});a46a();export class CommandFactory{static ['commandMap']={};static[a46h(0x1fd)](a,b){const i=a46h;this[i(0x1f2)][a]=b;}static[a46h(0x1f1)](a,b){const j=a46h,c=this[j(0x1f2)][a];if(c)return new c(b);return null;}static[a46h(0x202)](){const k=a46h;return this[k(0x1f2)];}}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a46d(a,b);}function a46c(){const l=['3124473MTxaKI','createCommand','commandMap','constructor','toString','search','78waWYsE','384aFyLKm','(((.+)+)+)+$','492028GxkFeL','2380kFNkSq','37242QEbZkz','125896EZmCEW','registerCommand','431265qORLlG','36jkIrZR','7802047pyhsSU','6DCVUWS','getAllRegisteredCommands','132706GSrClA'];a46c=function(){return l;};return a46c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a47i=a47d;function a47c(){const o=['5955952KWNhEO','rifle','setPuzzle','304955rfAIOb','rewardItem','inventory','search','toUpperCase','6qlhEKG','createRoom','apply','gauntlets','931986ONIlRv','helmet','addItem','description','convertToRoomConfig','564069HspVTE','bodyarmor','constructor','4628463rIkJfd','toString','forEach','puzzle','boots','3172xhVMhM','book','955WyJOCp','createItem','sword','content','INSIDE','(((.+)+)+)+$','300aObfVX','17092xknbEn','items','roomType','isStartRoom','30mvRwBP','legarmor','name'];a47c=function(){return o;};return a47c();}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x119))/0x1+-parseInt(f(0x106))/0x2*(parseInt(f(0x10e))/0x3)+-parseInt(f(0x10f))/0x4*(-parseInt(f(0x108))/0x5)+parseInt(f(0x11e))/0x6*(-parseInt(f(0x101))/0x7)+parseInt(f(0x116))/0x8+-parseInt(f(0xf9))/0x9+-parseInt(f(0x113))/0xa*(-parseInt(f(0xfe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x76b0c));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x102)]()[h(0x11c)](h(0x10d))['toString']()[h(0x100)](a47a)[h(0x11c)](h(0x10d));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xf7;let f=c[d];return f;},a47d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x11f)](a){const j=a47i,b=this[j(0xfd)](a),c=new Room(b);if(a[j(0x110)]){const d=new Inventory();a[j(0x110)][j(0x103)](e=>{const k=j;d[k(0xfb)](this[k(0x109)](e));}),c[j(0x11b)]=d;}return a[j(0x104)]&&c[j(0x118)](this['createPuzzle'](a[j(0x104)])),c;}['createItem'](a){const l=a47i;switch(a['type']){case'key':return new Key(a[l(0x115)],a['description']);case l(0x107):return new Book(a['name'],a[l(0xfc)],a[l(0x10b)]);case l(0x10a):return new Sword(a[l(0x115)],a[l(0xfc)]);case l(0x117):return new Rifle(a['name'],a['description']);case l(0xfa):return new Helmet(a[l(0x115)],a[l(0xfc)]);case l(0xff):return new BodyArmor(a[l(0x115)],a['description']);case l(0x114):return new LegArmor(a[l(0x115)],a['description']);case l(0x105):return new Boots(a[l(0x115)],a[l(0xfc)]);case'gloves':return new Gloves(a[l(0x115)],a[l(0xfc)]);case l(0xf8):return new Gauntlets(a[l(0x115)],a['description']);default:return new BasicItem(a[l(0x115)],a[l(0xfc)]);}}['createPuzzle'](a){const m=a47i,b=this[m(0x109)](a[m(0x11a)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0xfd)](a){const n=a47i,b=a['roomType']&&RoomType[a[n(0x111)][n(0x11d)]()]?RoomType[a[n(0x111)][n(0x11d)]()]:RoomType[n(0x10c)];return{'name':a['name'],'description':a[n(0xfc)],'isStartRoom':a[n(0x112)],'roomType':b};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d
|
|
1
|
+
const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x149))/0x1+-parseInt(h(0x148))/0x2+-parseInt(h(0x156))/0x3+parseInt(h(0x159))/0x4*(-parseInt(h(0x139))/0x5)+-parseInt(h(0x136))/0x6*(-parseInt(h(0x12c))/0x7)+-parseInt(h(0x131))/0x8+parseInt(h(0x13c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x931c1));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x151)]()['search'](j(0x13b))[j(0x151)]()[j(0x130)](a48a)[j(0x154)]('(((.+)+)+)+$');});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x129;let f=c[d];return f;},a48d(a,b);}a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a48c(){const s=['getInstance','help','player','-\x20quit:\x20Exit\x20the\x20game.\x0a','30TdBfXV','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','registerCommand','5WaSMJY','drop','(((.+)+)+)+$','24105618xmhNYW','hasOwnProperty','name','clear','instance','scene','trim','currentRoom','getRooms','equip','execute','getAllRegisteredCommands','1010482WcRkXE','1014883HmxYVU','currentLocation','solve','getHelpMessage','unlock','split','createCommand','-\x20clear:\x20Clear\x20the\x20screen.\x0a','toString','rooms','Welcome,\x20','search','registerCommands','3390708OWlswg','maka','Available\x20Commands:\x0a','4809044pgFeon','slice','handleInput','apply','319564dCOVOH','toLowerCase','lock','getWelcomeMessage','constructor','3849968CXpnOY'];a48c=function(){return s;};return a48c();}export default class Game{static ['instance'];[a48k(0x141)];[a48k(0x134)];[a48k(0x143)];[a48k(0x152)];constructor(a,b){const l=a48k;this[l(0x134)]=a,this[l(0x141)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x141)]['initialize'](),this[l(0x134)][l(0x14a)]=this['determineStartRoom'](),this['registerCommands']();}[a48k(0x155)](){const m=a48k;CommandFactory[m(0x138)]('look',LookCommand),CommandFactory[m(0x138)]('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0x138)](m(0x145),EquipCommand),CommandFactory[m(0x138)]('unequip',UnequipCommand),CommandFactory[m(0x138)](m(0x14b),SolveCommand),CommandFactory[m(0x138)](m(0x13a),DropCommand),CommandFactory['registerCommand'](m(0x14d),UnlockCommand),CommandFactory[m(0x138)](m(0x12e),LockCommand),CommandFactory[m(0x138)](m(0x154),SearchCommand),CommandFactory[m(0x138)]('say',SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x141)]['determineStartRoom']();}[a48k(0x12f)](){const o=a48k;return o(0x153)+this[o(0x134)][o(0x13e)];}static[a48k(0x132)](a,b){const p=a48k;return!Game[p(0x140)]&&(Game[p(0x140)]=new Game(a,b)),Game[p(0x140)];}[a48k(0x12a)](a){const q=a48k,b=a[q(0x142)]()[q(0x14e)]('\x20'),c=b[0x0][q(0x12d)](),d=b[q(0x129)](0x1);if(c==='quit')return null;if(c===q(0x157))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x133))return this['getHelpMessage']();if(c===q(0x13f))return'';const e={'actor':this[q(0x134)],'rooms':this[q(0x141)][q(0x144)](),'scene':this[q(0x141)]},f=CommandFactory[q(0x14f)](c,e);if(f){const g=f[q(0x146)](d);return g;}return q(0x137)+c+'\x22.';}[a48k(0x14c)](){const r=a48k,a=CommandFactory[r(0x147)]();let b=r(0x158);for(const c in a){if(a[r(0x13d)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x150),b+=r(0x135),b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-
|
|
1
|
+
function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x159;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x15a))/0x1*(-parseInt(f(0x163))/0x2)+-parseInt(f(0x160))/0x3+-parseInt(f(0x15e))/0x4+-parseInt(f(0x15d))/0x5+-parseInt(f(0x162))/0x6+parseInt(f(0x15f))/0x7+parseInt(f(0x15b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x8a51b));function a49c(){var i=['constructor','apply','357781zqGqtI','20323864mhkrBE','toString','850890IrGZaq','4053680WMWRND','5112863RmlBuW','779040zXHPKS','search','3272982nlDpAW','4HviyQj','(((.+)+)+)+$'];a49c=function(){return i;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x15c)]()[h(0x161)](h(0x164))[h(0x15c)]()[h(0x165)](a49a)[h(0x161)](h(0x164));});a49a();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 a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d
|
|
1
|
+
function a50c(){var o=['toString','49qCsDVr','isLockable','3227445dkLHxI','88tfMseu','5126418raEXol','checkIfLocked','6902631dVKeqo','Door\x20created\x20between\x20','apply','checkIfLockable','To\x20','.\x20Is\x20Locked:\x20','\x20and\x20','attemptUnlock','Failed\x20to\x20unlock\x20door:\x20','name','search','write','roomA','unlockItemOrSolution','constructor','3BYTHMx','382200kaPzZC','3943150AaZeKU','2506436WJvWQH','(((.+)+)+)+$','.\x20Used:\x20','roomB','11SpCHvW','18439yUipXp','logger','isLocked'];a50c=function(){return o;};return a50c();}var a50i=a50d;function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x163;var f=c[d];return f;},a50d(a,b);}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x166))/0x1*(-parseInt(f(0x16d))/0x2)+parseInt(f(0x17f))/0x3*(parseInt(f(0x182))/0x4)+parseInt(f(0x16c))/0x5+-parseInt(f(0x16e))/0x6+parseInt(f(0x16a))/0x7*(-parseInt(f(0x180))/0x8)+parseInt(f(0x170))/0x9+-parseInt(f(0x181))/0xa*(-parseInt(f(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x69c4c));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x169)]()[h(0x17a)](h(0x183))[h(0x169)]()[h(0x17e)](a50a)[h(0x17a)](h(0x183));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x17c)];[a50i(0x164)];[a50i(0x168)];[a50i(0x17d)];[a50i(0x179)];[a50i(0x167)];[a50i(0x16b)];constructor(a){var j=a50i;super(),this[j(0x17c)]=a[j(0x17c)],this[j(0x164)]=a[j(0x164)],this[j(0x168)]=a[j(0x168)]||![],this[j(0x17d)]=a['unlockItemOrSolution'],this[j(0x179)]=a[j(0x179)]?capitalCase(a[j(0x179)]):j(0x174)+a['roomB'][j(0x179)],this[j(0x167)]=Logger['getInstance'](),this['isLockable']=!!a[j(0x17d)],this[j(0x167)][j(0x17b)](j(0x171)+this[j(0x17c)][j(0x179)]+j(0x176)+this['roomB']['name']+j(0x175)+this[j(0x168)]);}['getOtherSide'](a){var k=a50i;return this[k(0x17c)]===a?this['roomB']:this[k(0x17c)];}[a50i(0x177)](a){var l=a50i;if(this[l(0x168)]&&this[l(0x17d)]&&this[l(0x17d)]===a)return this['isLocked']=![],this[l(0x167)]['write']('Door\x20unlocked:\x20'+this['name']+l(0x163)+a),!![];return this[l(0x167)][l(0x17b)](l(0x178)+this[l(0x179)]+l(0x163)+a),![];}[a50i(0x16f)](){var m=a50i;return this[m(0x168)];}[a50i(0x173)](){var n=a50i;return this[n(0x16b)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51i=a51d;function a51c(){const r=['
|
|
1
|
+
const a51i=a51d;function a51c(){const r=['items','keys','1560264LdfuHQ','1065214JiXtBh','listItems','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','.\x20Exists:\x20','10qIwdwV','357537ZEmOHP','167958jvvEcg','constructor','map','11217861fmiTXw','114dPIvNg','getWeight','logger','Retrieved\x20details\x20for\x20item:\x20','write','join','apply','name','Removed\x20item:\x20','toLowerCase','addItem','has','set','toString','getInstance','hasItem','(((.+)+)+)+$','removeItem','get','56759879REVmZI','Checked\x20for\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','.\x20Item\x20not\x20found.','10IBvlrE','12182000jaDjvD','weight','getItem','8EFAraq','\x20from\x20inventory.'];a51c=function(){return r;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x89))/0x1+-parseInt(f(0x80))/0x2*(parseInt(f(0x8f))/0x3)+-parseInt(f(0x88))/0x4*(parseInt(f(0x8e))/0x5)+-parseInt(f(0x94))/0x6*(-parseInt(f(0x90))/0x7)+parseInt(f(0x84))/0x8*(-parseInt(f(0x93))/0x9)+-parseInt(f(0x81))/0xa+parseInt(f(0x7c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xad575));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x76)]()['search'](h(0x79))[h(0x76)]()[h(0x91)](a51a)['search'](h(0x79));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x75;let f=c[d];return f;},a51d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x86)];[a51i(0x96)];constructor(){const j=a51i;super(),this[j(0x86)]=new Map(),this['logger']=Logger[j(0x77)]();}[a51i(0x9e)](a){const k=a51i;this['items'][k(0x75)](a[k(0x9b)][k(0x9d)](),a),this[k(0x96)][k(0x98)]('Added\x20item:\x20'+a[k(0x9b)]+'\x20to\x20inventory.');}[a51i(0x7a)](a){const l=a51i,b=this[l(0x83)](a);if(b)return this['items']['delete'](a['toLowerCase']()),this[l(0x96)][l(0x98)](l(0x9c)+a+l(0x85)),b;return this['logger'][l(0x98)](l(0x7e)+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0x78)](a){const m=a51i,b=this[m(0x86)][m(0x9f)](a[m(0x9d)]()),c=[...this[m(0x86)][m(0x87)]()];return this[m(0x96)][m(0x98)](m(0x7d)+a+'\x20in\x20'+c['join'](',\x20')+m(0x8d)+b+'.'),b;}[a51i(0x83)](a){const n=a51i,b=this[n(0x86)][n(0x7b)](a[n(0x9d)]())||null;return b?this['logger'][n(0x98)](n(0x97)+a+'.'):this[n(0x96)][n(0x98)](n(0x8b)+a+n(0x7f)),b;}[a51i(0x8a)](){const o=a51i,a=[...this[o(0x86)][o(0x87)]()],b=a[o(0x92)](c=>capitalCase(c));return this[o(0x96)][o(0x98)](o(0x8c)+b[o(0x99)](',\x20')+'.'),a;}[a51i(0x95)](){const p=a51i;let a=0x0;for(const b of this['items']['values']()){a+=b[p(0x82)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0x86)]['values']()];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xa5))/0x1+parseInt(f(0xb1))/0x2+-parseInt(f(0xae))/0x3+-parseInt(f(0x9d))/0x4+parseInt(f(0xac))/0x5*(parseInt(f(0xab))/0x6)+parseInt(f(0x9f))/0x7*(parseInt(f(0xa0))/0x8)+-parseInt(f(0xb6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x20ca0));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(0xb5)]()[g(0xa6)](g(0xad))[g(0xb5)]()[g(0xa4)](a52a)[g(0xa6)](g(0xad));});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x9d;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0xb3)];['name'];[a52h(0xa1)];[a52h(0xa3)];[a52h(0xa8)];['shape'];[a52h(0xa9)];[a52h(0xaf)];[a52h(0xa2)];['weight'];constructor(a){var i=a52h;super(),this[i(0x9e)]=a[i(0x9e)],this[i(0xa1)]=a[i(0xa1)],this[i(0xa3)]=a[i(0xa3)],this[i(0xa8)]=a[i(0xa8)],this[i(0xb4)]=a['shape'],this[i(0xa9)]=a[i(0xa9)],this[i(0xaf)]=a[i(0xaf)],this[i(0xa2)]=a[i(0xa2)],this[i(0xb2)]=a[i(0xb2)],this['uuid']=a52e();}[a52h(0xb0)](){var j=a52h;return j(0xa7)+this['name']+j(0xaa);}}function a52c(){var k=['You\x20use\x20the\x20','category','color','.\x20Nothing\x20special\x20happens.','6DOdaVc','1085845SotNrm','(((.+)+)+)+$','6366gBseDy','texture','use','167058dyQaoZ','weight','uuid','shape','toString','1316502zrVOuC','282240UzWiFw','name','71351VzvsMJ','192jHrDAt','description','rating','size','constructor','192066gXNiFN','search'];a52c=function(){return k;};return a52c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a53i=a53d;function a53c(){const o=['moveTo','12334060nKJBKy','7829MlQJXo','execute','autonomousMove','(((.+)+)+)+$','633350Cqmacw','scene','name','7628247djiVug','apply','_name','26eigksP','16aLALIK','4012251gjQlCZ','search','floor','3296768ahdzaZ','30msEnkW','rooms','length','toString','random','_dialogue','261254YfskJT','constructor'];a53c=function(){return o;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xec))/0x1*(parseInt(f(0xf6))/0x2)+parseInt(f(0xf8))/0x3+-parseInt(f(0xfb))/0x4+parseInt(f(0xf0))/0x5*(parseInt(f(0xfc))/0x6)+-parseInt(f(0xe8))/0x7*(-parseInt(f(0xf7))/0x8)+parseInt(f(0xf3))/0x9+-parseInt(f(0xeb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xb31b3));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xff)]()['search'](h(0xef))['toString']()[h(0xe9)](a53a)[h(0xf9)](h(0xef));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xe7;let f=c[d];return f;},a53d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0xf5)];[a53i(0xe7)];[a53i(0xfd)];[a53i(0xf1)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this[j(0xe7)]=b,this[j(0xfd)]=c;}get[a53i(0xf2)](){const k=a53i;return this[k(0xf5)];}['speak'](){const l=a53i;return this[l(0xe7)][Math[l(0xfa)](Math[l(0x100)]()*this[l(0xe7)]['length'])];}[a53i(0xee)](a){const m=a53i,b=a[Math[m(0xfa)](Math[m(0x100)]()*a[m(0xfe)])];this[m(0xea)](b[m(0xf2)]);}[a53i(0xea)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xfd)],'scene':this[n(0xf1)]},c=new GoCommand(b);c[n(0xed)]([a]);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54i=a54d;
|
|
1
|
+
const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x19e))/0x1+parseInt(f(0x199))/0x2+-parseInt(f(0x1d6))/0x3*(parseInt(f(0x1c7))/0x4)+parseInt(f(0x1d9))/0x5+parseInt(f(0x18b))/0x6*(parseInt(f(0x1c6))/0x7)+parseInt(f(0x1d5))/0x8+parseInt(f(0x1aa))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8d7f4));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x1d0)]()[h(0x1ac)](h(0x1ba))[h(0x1d0)]()['constructor'](a54a)[h(0x1ac)]('(((.+)+)+)+$');});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x187;let f=c[d];return f;},a54d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a54c(){const D=['hear','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','54qBKfbG','initialEquipment','unequipBySlot','arm\x20armor','gloves','\x20is\x20now\x20listening\x20in\x20room\x20','leg\x20armor','playerName','\x20slot.','body\x20armor','name','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','leaveRoom','inventoryItems','437484QipvWW','_currentLocation','feet','You\x20unequipped\x20','Added\x20','883548HhBYWs','apply','Hat','removeItem','hat','Failed\x20to\x20remove\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','log','head','getInstance','_playerName','unequip','9645084ylJkJx','.\x20You\x20must\x20unequip\x20it\x20first.','search','speak','rightHand','You\x20can\x27t\x20equip\x20','toLowerCase','enterRoom','category','A\x20featureless\x20room','startLocation','legarmor','addItem','_inventory','Invalid\x20category\x20or\x20slot:\x20','maxCarryingWeight','(((.+)+)+)+$','arms','currentWeight','legs','Shield','weight','logger','_maxCarryingWeight','write','determineEquipmentSlot','helmet','_equipment','647969uNNVMR','4WcItKV','bind','Removed\x20','LegArmor','equipment','\x20in\x20your\x20inventory.','BodyArmor','armarmor','Gloves','toString','values','shield','getWeight','\x20from\x20player\x27s\x20inventory.','1356368nAcXgM','3046998tbYdJK','equip','\x20is\x20no\x20longer\x20listeng\x20in\x20','928595smlnYk','removeInventory','torso','bodyarmor','Nexus','addInventory','canEquip','includes','leftHand'];a54c=function(){return D;};return a54c();}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{[a54i(0x1a8)];['_currentLocation'];['_inventory'];[a54i(0x1c5)];[a54i(0x1c1)]=0x32;['logger'];constructor(a){const j=a54i;super(),this[j(0x1a8)]=a[j(0x192)],this['_currentLocation']=a[j(0x1b4)]||new Room({'name':j(0x1dd),'description':j(0x1b3)}),this[j(0x1b7)]=new Inventory(),this[j(0x1c0)]=Logger[j(0x1a7)]();if(a?.[j(0x198)])for(const b of a[j(0x198)]){this[j(0x1b7)][j(0x1b6)](b);}this[j(0x1c5)]=a?.[j(0x18c)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x195)](){const k=a54i;return this[k(0x1a8)];}get['currentLocation'](){const l=a54i;return this[l(0x19a)];}set['currentLocation'](a){const m=a54i;this[m(0x19a)]!==a&&(this[m(0x197)](),this[m(0x1b1)](a)),this['_currentLocation']=a;}get['inventory'](){const n=a54i;return this[n(0x1b7)];}get[a54i(0x1cb)](){const o=a54i;return this[o(0x1c5)];}set[a54i(0x1cb)](a){const p=a54i;this[p(0x1c5)]=a;}get[a54i(0x1b9)](){const q=a54i;return this[q(0x1c1)];}set['maxCarryingWeight'](a){const r=a54i;a>0x0?this[r(0x1c1)]=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const s=a54i;let a=this[s(0x1b7)][s(0x1d3)]();for(const b in this[s(0x1c5)]){const c=this[s(0x1c5)][b];c&&(a+=c[s(0x1bf)]);}return a;}[a54i(0x1de)](a){const t=a54i;if(this[t(0x1bc)]+a[t(0x1bf)]>this['maxCarryingWeight']){this[t(0x1c0)][t(0x1c2)](t(0x18a));throw new Error(t(0x1a4));}this[t(0x1b7)][t(0x1b6)](a),this[t(0x1c0)]['write'](t(0x19d)+a[t(0x195)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0x1da)](a){const u=a54i;if(this[u(0x1b7)][u(0x1a1)](a['name']))return this[u(0x1c0)][u(0x1c2)](u(0x1c9)+a[u(0x195)]+u(0x1d4)),!![];return this[u(0x1c0)][u(0x1c2)](u(0x1a3)+a['name']+u(0x1d4)),![];}[a54i(0x1d7)](a){const v=a54i;if(!this['_inventory']['hasItem'](a[v(0x195)]))return'You\x20don\x27t\x20have\x20'+a['name']+v(0x1cc);if(!this[v(0x1df)](a))return v(0x1af)+a[v(0x195)]+'.';const b=this[v(0x1c3)](a[v(0x1b2)]);if(!b)return a[v(0x195)]+v(0x196);if(this['equipment'][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+v(0x1ab);return this[v(0x1cb)][b]=a,this[v(0x1da)](a),'You\x20equipped\x20'+a[v(0x195)]+'.';}[a54i(0x1a9)](a){const w=a54i;let b=a;if(!this[w(0x1cb)][camelCase(b)]){b=this[w(0x1c3)](a);if(!b)return w(0x1b8)+a+'.';}return this[w(0x18d)](b);}[a54i(0x1c3)](a){const x=a54i;switch(a[x(0x1b0)]()){case Category['Weapon'][x(0x1b0)]():return x(0x1ae);case Category[x(0x1be)][x(0x1b0)]():return'leftHand';case Category[x(0x1cf)][x(0x1b0)]():return'gloves';case Category['Helmet'][x(0x1b0)]():case Category[x(0x1a0)]['toLowerCase']():return x(0x1a6);case Category['Boots'][x(0x1b0)]():return x(0x19b);case Category[x(0x1ca)]['toLowerCase']():return x(0x1bd);case Category['ArmArmor']['toLowerCase']():return x(0x1bb);case Category[x(0x1cd)][x(0x1b0)]():return x(0x1db);case'weapon':return'rightHand';case x(0x1d2):return x(0x188);case x(0x18f):return x(0x18f);case x(0x1c4):case x(0x1a2):return'head';case'boots':return x(0x19b);case x(0x191):case x(0x1b5):return x(0x1bd);case x(0x18e):case x(0x1ce):return x(0x1bb);case x(0x194):case x(0x1dc):case x(0x1db):return'torso';default:return null;}}['canEquip'](a){const y=a54i;return Object[y(0x1d1)](Category)[y(0x187)](a['category']);}['unequipBySlot'](a){const z=a54i,b=this[z(0x1cb)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+z(0x193);return this[z(0x1de)](b),this[z(0x1cb)][a]=null,z(0x19c)+b['name']+'.';}[a54i(0x189)](a,b){const A=a54i;a!==this&&this[A(0x1c0)][A(0x1a5)](a[A(0x195)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x1b1)](a){const B=a54i;this[B(0x19a)]=a,a['on'](B(0x1ad),this[B(0x189)][B(0x1c8)](this)),this[B(0x1c0)][B(0x1c2)](this[B(0x195)]+B(0x190)+a[B(0x195)]);}[a54i(0x197)](){const C=a54i;this[C(0x19a)]&&(this[C(0x19a)]['off'](C(0x1ad),this[C(0x189)][C(0x1c8)](this)),this[C(0x1c0)][C(0x1c2)](this[C(0x195)]+C(0x1d8)+this['_currentLocation'][C(0x195)]));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d
|
|
1
|
+
var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x17e))/0x1+parseInt(f(0x16f))/0x2*(parseInt(f(0x16e))/0x3)+-parseInt(f(0x17f))/0x4*(parseInt(f(0x182))/0x5)+-parseInt(f(0x181))/0x6*(parseInt(f(0x180))/0x7)+-parseInt(f(0x174))/0x8+parseInt(f(0x18c))/0x9*(parseInt(f(0x175))/0xa)+parseInt(f(0x17c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x8e189));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x176)](h(0x178))[h(0x170)]()[h(0x184)](a55a)[h(0x176)](h(0x178));});function a55c(){var n=['write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','28631394WnIgYa','solve','627859uaWSbQ','4YDwTcf','14veoHBi','775584YnAoju','5619930oqhTVD','riddle','constructor','apply','logger','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','requiredItem','rewardItem','Puzzle:\x20Correct\x20solution\x20provided.','17082FetcZs','You\x20have\x20already\x20solved\x20this\x20puzzle.','solved','6izWPgy','437446MvYjiU','toString','requiredPhrase','hasRequiredItem','failureMessage','9170928FVIIop','3680sDjpPR','search','successMessage','(((.+)+)+)+$'];a55c=function(){return n;};return a55c();}a55a();import{Logger}from'../utilities/logger.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x16c;var f=c[d];return f;},a55d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x186)]=Logger['getInstance']();[a55i(0x16d)]=![];[a55i(0x189)];[a55i(0x171)];[a55i(0x183)];['rewardItem'];['successMessage'];[a55i(0x173)];constructor(a){var j=a55i;super(),this['requiredItem']=a[j(0x189)],this[j(0x171)]=a[j(0x171)],this[j(0x183)]=a['riddle'],this['rewardItem']=a[j(0x18a)],this['successMessage']=a[j(0x177)]||j(0x187),this['failureMessage']=a[j(0x173)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x172)](a){var k=a55i;if(this['requiredItem'])return a['hasItem'](this[k(0x189)]);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0x171)]===a;}[a55i(0x17d)](a,b){var m=a55i;if(this[m(0x16d)])return this[m(0x186)][m(0x179)](m(0x188)),{'success':![],'message':m(0x16c)};return this[m(0x172)](b)||this[m(0x17b)](a)?(this['solved']=!![],this[m(0x186)][m(0x179)](m(0x18b)),{'success':!![],'message':this[m(0x177)]}):(this[m(0x186)]['write'](m(0x17a)),{'success':![],'message':this['failureMessage']});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d
|
|
1
|
+
const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0xd5))/0x1+-parseInt(f(0xb5))/0x2*(-parseInt(f(0xb8))/0x3)+-parseInt(f(0xd0))/0x4*(-parseInt(f(0xda))/0x5)+parseInt(f(0xbd))/0x6+-parseInt(f(0xa8))/0x7*(-parseInt(f(0xc8))/0x8)+parseInt(f(0xb0))/0x9+-parseInt(f(0xd4))/0xa*(parseInt(f(0xa5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x4eaec));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0xcb)]()[h(0xd1)](h(0xbb))[h(0xcb)]()[h(0xa7)](a56a)[h(0xd1)](h(0xbb));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56c(){const u=['The\x20','emit','getExit','64452nznWPE','search','south','Item\x20removed\x20from\x20room\x20','850TXPFDT','474244IYKyWb','DOWN','\x20remains\x20locked.','roomType','Puzzle\x20set\x20for\x20room\x20','150vcFIrt','\x20unlocked!','west','down','exits','speak','riddle','EAST','SOUTH','\x20is\x20locked.\x20Result:\x20','checkIfLocked','Room\x20created:\x20','Item\x20added\x20to\x20room\x20','122122rnxsTj','findExistingDoor','constructor','737191GkpNiC','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getOppositeDirection','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','WEST','getInstance','isExitLocked','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','3066048ikqlBV','say','Checking\x20if\x20exit\x20in\x20direction\x20','puzzle','removeItem','2GagqwA','logger','addExit','1199091bKkuLU','isStartRoom','roomA','(((.+)+)+)+$','setPuzzle','2466756vdWQYG','apply','NORTH','name','write','INSIDE','get','description','north','Invalid\x20direction:\x20','inventory','8YJkGFF','roomB','east','toString','values'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xa1;let f=c[d];return f;},a56d(a,b);}export class Room extends AbstractRoom{[a56i(0xb6)]=Logger[a56i(0xad)]();[a56i(0xc0)];[a56i(0xc4)];[a56i(0xde)]=new Map();[a56i(0xd8)];['isStartRoom'];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this[j(0xc0)]=a[j(0xc0)],this[j(0xc4)]=a[j(0xc4)],this[j(0xd8)]=a['roomType']||RoomType[j(0xc2)],a[j(0xde)]&&(this[j(0xde)]=a[j(0xde)]||new Map()),a[j(0xc7)]&&(this['inventory']=a['inventory']),a[j(0xb3)]&&(this[j(0xb3)]=a[j(0xb3)]),this['isStartRoom']=a[j(0xb9)]||![],this[j(0xb6)][j(0xc1)](j(0xa3)+this[j(0xc0)]);}[a56i(0xb1)](a,b){const k=a56i;this[k(0xce)](k(0xdf),a,b);}[a56i(0xb7)](a,b,c){const l=a56i;let d=this[l(0xa6)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xde)]['set'](a,d),b[l(0xde)]['set'](this['getOppositeDirection'](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0xde)][m(0xc3)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0xc1)](m(0xab)+a+'.\x20Success:\x20'+d),d?m(0xcd)+c['name']+m(0xdb):m(0xcd)+c['name']+m(0xd7);}return this[m(0xb6)][m(0xc1)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0xaf);}[a56i(0xcf)](a){const n=a56i;return this['logger'][n(0xc1)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits']['get'](a);}[a56i(0xae)](a){const o=a56i,b=this[o(0xde)][o(0xc3)](a),c=b instanceof Door&&b[o(0xa2)]();return this[o(0xb6)]['write'](o(0xb2)+a+o(0xa1)+c),c;}['addItem'](a){const p=a56i;this[p(0xc7)]['addItem'](a),this[p(0xb6)][p(0xc1)](p(0xa4)+this['name']+':\x20'+a[p(0xc0)]);}[a56i(0xb4)](a){const q=a56i;this['inventory']['hasItem'](a[q(0xc0)])?(this['inventory']['removeItem'](a['name']),this['logger'][q(0xc1)](q(0xd3)+this[q(0xc0)]+':\x20'+a[q(0xc0)])):this[q(0xb6)][q(0xc1)](q(0xa9)+this[q(0xc0)]+':\x20'+a[q(0xc0)]);}[a56i(0xbc)](a){const r=a56i;this[r(0xb3)]=a,this[r(0xb6)][r(0xc1)](r(0xd9)+this[r(0xc0)]+':\x20'+a[r(0xe0)]);}[a56i(0xaa)](a){const s=a56i;switch(a){case s(0xc5):return Direction[s(0xe2)];case s(0xd2):return Direction[s(0xbf)];case s(0xca):return Direction[s(0xac)];case s(0xdc):return Direction[s(0xe1)];case'up':return Direction[s(0xd6)];case s(0xdd):return Direction['UP'];default:throw new Error(s(0xc6)+a);}}[a56i(0xa6)](a){const t=a56i;for(const b of this['exits'][t(0xcc)]()){if(b instanceof Door){if(b[t(0xba)]===this&&b[t(0xc9)]===a||b[t(0xc9)]===this&&b['roomA']===a)return b;}}return undefined;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x71;let f=c[d];return f;},a57d(a,b);}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x96))/0x1*(-parseInt(i(0xb7))/0x2)+-parseInt(i(0x7a))/0x3*(parseInt(i(0x8a))/0x4)+parseInt(i(0x9c))/0x5*(parseInt(i(0xb3))/0x6)+-parseInt(i(0xa8))/0x7*(parseInt(i(0x95))/0x8)+-parseInt(i(0xaf))/0x9*(parseInt(i(0x73))/0xa)+-parseInt(i(0x78))/0xb*(-parseInt(i(0xa5))/0xc)+parseInt(i(0xa4))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x8184d));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x88)]()[k(0x7e)]('(((.+)+)+)+$')[k(0x88)]()['constructor'](a57a)[k(0x7e)]('(((.+)+)+)+$');});a57a();function a57c(){const D=['No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addActor','join','currentLocation','values','11230nQahBe','logger','removeRoom','addRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','11pnngFk','has','15HPZbSU','No\x20actor\x20with\x20name\x20','set','exits','search','rooms','Actor\x20with\x20name\x20','createExitsFromConfig','isStartRoom','setPuzzle','\x20is\x20now\x20in\x20room\x20','\x27s\x20location.\x20Room\x20','createRoom','player','toString','length','461528bRgymI','write','getPlayer','\x22\x20does\x20not\x20exist.','getInstance','Room\x20\x22','roomConfiguration','toUpperCase','generateRoomsFromConfig','from','warn','78496TcegRS','239732WMVhUW','Added\x20puzzle\x20to\x20room\x20','addExit','getCharacterLocation','\x20found\x20in\x20the\x20scene.','getActor','28475AkBVGy','direction','actors','determineStartRoom','targetRoom','roomFactory','Failed\x20to\x20add\x20item\x20','addItem','12963756NgDWGK','5494380OGWhiJ','apply','keyRequired','119ZkVCJv','get','\x20not\x20found\x20in\x20scene.','\x20to\x20room\x20','Scene\x20initialized\x20with\x20rooms:\x20','addItemToRoom','setCharacterLocation','8163pKEtYA','.\x20Room\x20','Removed\x20room\x20from\x20scene:\x20','characterLocations','630yIRjca','removeActor','name','connectRooms','2ZJUCfC','\x20already\x20exists\x20in\x20the\x20scene.'];a57c=function(){return D;};return a57c();}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'];[a57l(0x87)];['logger'];[a57l(0x9e)];['characterLocations']=new Map();[a57l(0xa1)];constructor(a){const m=a57l;super(),this[m(0xa1)]=new RoomFactory(),this[m(0x87)]=a[m(0x87)],this[m(0x7f)]=this[m(0x92)](a[m(0x90)]),this[m(0x74)]=Logger[m(0x8e)](),this[m(0x9e)]=new Map(),this[m(0x81)](a[m(0x90)]),this['logger'][m(0x8b)](m(0xac)+Object['keys'](this[m(0x7f)])[m(0xbb)](',\x20'));}['initialize'](){const n=a57l;this[n(0x87)][n(0x71)]=this['determineStartRoom']();}[a57l(0x92)](a){const o=a57l;if(!this[o(0xa1)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0xa1)][o(0x86)](c);b[c[o(0xb5)]]=d;}return b;}[a57l(0x81)](a){const p=a57l;for(const b of a){const c=this[p(0x7f)][b['name']];if(b[p(0x7d)])for(const d of b[p(0x7d)]){const e=d[p(0x9d)][p(0x91)](),f=d[p(0xa0)],g=d[p(0xa7)],h=this[p(0x7f)][f];h&&c[p(0x98)](Direction[e],h,g);}}}[a57l(0xba)](a){const q=a57l;if(this[q(0x9e)][q(0x79)](a[q(0xb5)]))throw new Error(q(0x80)+a[q(0xb5)]+q(0xb8));this[q(0x9e)][q(0x7c)](a['name'],a);}[a57l(0xb4)](a){const r=a57l;if(!this[r(0x9e)][r(0x79)](a))throw new Error(r(0x7b)+a+r(0x9a));this['actors']['delete'](a);}[a57l(0x9b)](a){const s=a57l;return this['actors'][s(0xa9)](a);}get['allActors'](){const t=a57l;return Array[t(0x93)](this[t(0x9e)][t(0x72)]());}[a57l(0x76)](a){const u=a57l;this[u(0x7f)][a['name']]=a,this[u(0x74)][u(0x8b)]('Added\x20room\x20to\x20scene:\x20'+a['name']);}[a57l(0x75)](a){const v=a57l;return this[v(0x7f)][a]?(delete this[v(0x7f)][a],this['logger'][v(0x8b)](v(0xb1)+a),!![]):(this[v(0x74)][v(0x8b)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a57l(0xad)](a,b){const w=a57l,c=this['rooms'][b];c?(c[w(0xa3)](a),this[w(0x74)][w(0x8b)]('Added\x20item\x20'+a[w(0xb5)]+w(0xab)+c[w(0xb5)])):this['logger']['write'](w(0xa2)+a[w(0xb5)]+w(0xb0)+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x7f)][b];c?(c[x(0x83)](a),this[x(0x74)]['write'](x(0x97)+c[x(0xb5)])):this['logger']['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0xaa));}[a57l(0xae)](a,b){const y=a57l,c=this[y(0x7f)][b];c?(this[y(0xb2)][y(0x7c)](a[y(0xb5)],c),this[y(0x74)]['write'](a[y(0xb5)]+y(0x84)+c[y(0xb5)])):this['logger']['write']('Failed\x20to\x20set\x20'+a[y(0xb5)]+y(0x85)+b+y(0xaa));}[a57l(0x99)](a){const z=a57l;return this[z(0xb2)][z(0xa9)](a[z(0xb5)]);}[a57l(0x9f)](){const A=a57l,a=[];for(const c in this[A(0x7f)]){if(this['rooms']['hasOwnProperty'](c)){const d=this[A(0x7f)][c];d[A(0x82)]&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0x77));if(a[A(0x89)]===0x1)return a[0x0];const b=Object['keys'](this[A(0x7f)]);if(b[A(0x89)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x94)](A(0xb9)),this[A(0x7f)][b[0x0]];}[a57l(0x8c)](){return this['player'];}['getRooms'](){const B=a57l;return this[B(0x7f)];}[a57l(0xb6)](a,b,c,d){const C=a57l,e=this[C(0x7f)][a],f=this[C(0x7f)][c];if(!e)throw new Error(C(0x8f)+a+C(0x8d));if(!f)throw new Error(C(0x8f)+c+'\x22\x20does\x20not\x20exist.');e['addExit'](b,f,d);}}
|