@maka/maka-cli 4.6.14 → 4.6.16
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/_index.js +1 -0
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -0
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -0
- 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/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.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
- package/bundle/obf/src/commands/deploy.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe5;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;function a41c(){const n=['unlock','2447053leeJwH','unlockItemOrSolution','currentLocation','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','constructor','length','UnlockCommand:\x20','38724867NvZxBZ','description','logger','error','toString','There\x27s\x20no\x20door\x20named\x20\x22','1468445LFeXel','attemptUnlockExit','\x22\x20here.','Unlock\x20a\x20door.','toLowerCase','exits','search','has','actor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','isValidDirection','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','1435dfAMlr','4082400ZFRYqI','hasItem','9603708FVlBIt','UnlockCommand:\x20No\x20target\x20specified.','8jejCnl','inventory','name','(((.+)+)+)+$','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','get','2022YsiRhi','\x20is\x20attempted\x20to\x20unlock\x20','verb','write','getItem','5621232oFpiWv','.\x20Result:\x20','apply'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xf8))/0x1*(parseInt(h(0x103))/0x2)+parseInt(h(0xf9))/0x3+parseInt(h(0x108))/0x4+-parseInt(h(0xec))/0x5+parseInt(h(0xfb))/0x6+-parseInt(h(0x10c))/0x7*(parseInt(h(0xfd))/0x8)+-parseInt(h(0xe6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd4c38));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search']('(((.+)+)+)+$')[j(0xea)]()[j(0x110)](a41a)[j(0xf2)](j(0x100));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x105)]='unlock';static [a41k(0xe7)]=a41k(0xef);['execute'](a){const l=a41k;return this[l(0x10b)](a);}[a41k(0x10b)](a){const m=a41k;if(a[m(0x111)]===0x0)return this[m(0xe8)][m(0xe9)](m(0xfc)),m(0xf5);const b=a[0x0][m(0xf0)](),c=this[m(0xf4)][m(0x10e)];if(this[m(0xf6)](b)&&c[m(0xf1)][m(0xf3)](b)){const d=c[m(0xf1)][m(0x102)](b);if(d instanceof Door){const e=d[m(0x10d)]?.[m(0xf0)]();if(e&&this['actor'][m(0xfe)][m(0xfa)](e)){const f=this[m(0xf4)][m(0xfe)][m(0x107)](e);if(f){const g=c[m(0xed)](b,f[m(0xff)]);return this[m(0xe8)][m(0x106)](m(0xe5)+this['actor'][m(0xff)]+m(0x104)+b+m(0x109)+g),g;}}return this[m(0xe8)][m(0x106)]('UnlockCommand:\x20'+this[m(0xf4)]['name']+m(0x101)+b+'.'),m(0x10f);}else return this[m(0xe8)][m(0x106)](m(0xe5)+b+m(0xf7)+c[m(0xff)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xee);}else return this[m(0xe8)]['write']('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xff)]+'.'),m(0xeb)+b+m(0xee);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xa2))/0x1+-parseInt(f(0x85))/0x2+-parseInt(f(0xa4))/0x3*(-parseInt(f(0x97))/0x4)+parseInt(f(0x8e))/0x5*(parseInt(f(0xa5))/0x6)+parseInt(f(0x87))/0x7+-parseInt(f(0x96))/0x8*(parseInt(f(0x94))/0x9)+-parseInt(f(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa15ed));function a42c(){const l=['Use\x20an\x20item.','\x20used\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','9wviSsc','\x20doesn\x27t\x20have\x20a\x20use\x20method.','9466792MYUrJM','8zENHyj','\x20not\x20retrieved\x20from\x20','logger','toLowerCase','apply','3531020vueSmE','constructor','toString','inventory','You\x20can\x27t\x20use\x20the\x20','UseCommand:\x20','1192841WzVKJh','search','451989pVzVvy','66Vzyshv','\x20attempted\x20to\x20use\x20','\x27s\x20inventory.','name','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','hasItem','1593936PrbNlz','function','3218684xMakdH','write','(((.+)+)+)+$','execute','verb','join','actor','472915tpRDHs','use','\x20in\x20this\x20way.'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x9e)]()[h(0xa3)](h(0x89))[h(0x9e)]()[h(0x9d)](a42a)[h(0xa3)](h(0x89));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x85;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x8b)]=a42i(0x8f);static ['description']=a42i(0x91);[a42i(0x8a)](a){const j=a42i;return this[j(0x8f)](a);}[a42i(0x8f)](a){const k=a42i,b=a[k(0x8c)]('\x20')[k(0x9a)]();if(!this['actor'][k(0x9f)][k(0xab)](b))return this[k(0x99)][k(0x88)](k(0xa1)+this[k(0x8d)][k(0xa8)]+k(0xa6)+b+k(0x93)),k(0xaa)+b+k(0xa9);const c=this[k(0x8d)][k(0x9f)]['getItem'](b);if(!c)return this[k(0x99)][k(0x88)](k(0xa1)+b+k(0x98)+this['actor']['name']+k(0xa7)),k(0xaa)+b+k(0xa9);if(typeof c[k(0x8f)]===k(0x86)){const d=c[k(0x8f)]();return this['logger'][k(0x88)](k(0xa1)+this[k(0x8d)][k(0xa8)]+k(0x92)+b+'.'),d;}else return this[k(0x99)][k(0x88)](k(0xa1)+b+k(0x95)),k(0xa0)+b+k(0x90);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1ee))/0x1+-parseInt(f(0x1f8))/0x2*(-parseInt(f(0x1ed))/0x3)+-parseInt(f(0x1f2))/0x4+-parseInt(f(0x1ef))/0x5*(parseInt(f(0x1f0))/0x6)+-parseInt(f(0x1eb))/0x7*(parseInt(f(0x1f6))/0x8)+-parseInt(f(0x1ea))/0x9+parseInt(f(0x1f1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x6f027));function a43c(){const m=['apply','toString','1892200NPxDNw','search','131552ctNlyo','constructor','commandMap','5637906MnKNQy','7oWMXOp','registerCommand','6pTCJUg','769261TdciGz','395VVLVAG','9318soYFUf','10355010OFKkmv','1983892xuuaJx','(((.+)+)+)+$'];a43c=function(){return m;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1f5)]()[h(0x1f7)]('(((.+)+)+)+$')[h(0x1f5)]()[h(0x1f9)](a43a)[h(0x1f7)](h(0x1f3));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x1fa)]={};static[a43i(0x1ec)](a,b){const j=a43i;this[j(0x1fa)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x1fa)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x1fa)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0xb5))/0x1+-parseInt(f(0xc6))/0x2*(-parseInt(f(0xb0))/0x3)+-parseInt(f(0xbb))/0x4*(-parseInt(f(0xbe))/0x5)+-parseInt(f(0xbd))/0x6+-parseInt(f(0xb3))/0x7+parseInt(f(0xbf))/0x8+parseInt(f(0xb9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1b88b));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xd0)]()[h(0xc5)]('(((.+)+)+)+$')['toString']()[h(0xb2)](a44a)[h(0xc5)]('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44c(){const o=['key','createItem','rewardItem','roomType','bodyarmor','apply','legarmor','rifle','helmet','toString','convertToRoomConfig','createPuzzle','puzzle','items','isStartRoom','195aJRGAQ','toUpperCase','constructor','1500905ZKBOrW','content','101349njndMp','gloves','type','forEach','1420362bpfycW','addItem','247896FIpBTf','name','1329330leSGoP','10kchPeD','308472jGygGt','inventory','sword','description','INSIDE','createRoom','search','3910CTElpq'];a44c=function(){return o;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xac;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{[a44i(0xc4)](a){const j=a44i,b=this[j(0xd1)](a),c=new Room(b);if(a[j(0xae)]){const d=new Inventory();a[j(0xae)][j(0xb8)](e=>{const k=j;d[k(0xba)](this[k(0xc8)](e));}),c[j(0xc0)]=d;}return a[j(0xad)]&&c['setPuzzle'](this[j(0xac)](a[j(0xad)])),c;}['createItem'](a){const l=a44i;switch(a[l(0xb7)]){case l(0xc7):return new Key(a[l(0xbc)],a[l(0xc2)]);case'book':return new Book(a['name'],a[l(0xc2)],a[l(0xb4)]);case l(0xc1):return new Sword(a[l(0xbc)],a[l(0xc2)]);case l(0xce):return new Rifle(a[l(0xbc)],a['description']);case l(0xcf):return new Helmet(a['name'],a[l(0xc2)]);case l(0xcb):return new BodyArmor(a[l(0xbc)],a[l(0xc2)]);case l(0xcd):return new LegArmor(a[l(0xbc)],a[l(0xc2)]);case'boots':return new Boots(a[l(0xbc)],a['description']);case l(0xb6):return new Gloves(a[l(0xbc)],a[l(0xc2)]);case'gauntlets':return new Gauntlets(a[l(0xbc)],a[l(0xc2)]);default:return new BasicItem(a['name'],a['description']);}}[a44i(0xac)](a){const m=a44i,b=this['createItem'](a[m(0xc9)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xd1)](a){const n=a44i,b=a[n(0xca)]&&RoomType[a['roomType'][n(0xb1)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0xc3)];return{'name':a['name'],'description':a[n(0xc2)],'isStartRoom':a[n(0xaf)],'roomType':b};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x186))/0x1*(parseInt(h(0x19a))/0x2)+-parseInt(h(0x185))/0x3+parseInt(h(0x183))/0x4*(parseInt(h(0x16e))/0x5)+parseInt(h(0x17c))/0x6+parseInt(h(0x172))/0x7*(-parseInt(h(0x18f))/0x8)+-parseInt(h(0x178))/0x9+-parseInt(h(0x196))/0xa*(-parseInt(h(0x17f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x1f87a));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x193)]()[i(0x199)](i(0x184))[i(0x193)]()[i(0x16f)](a45a)[i(0x199)](i(0x184));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';function a45c(){const r=['getAllRegisteredCommands','getWelcomeMessage','lock','determineStartRoom','Available\x20Commands:\x0a','quit','hasOwnProperty','16TEtAIX','execute','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','slice','toString','player','instance','135530MMxEHk','trim','maka','search','21178sMfbiS','getInstance','help','registerCommands','getRooms','470105YqeyEg','constructor','getHelpMessage','say','606907YNXLlh','look','getDescription','currentRoom','createCommand','use','2062584YZABTy','-\x20clear:\x20Clear\x20the\x20screen.\x0a','registerCommand','equip','378306RYISMm','currentLocation','Welcome,\x20','319cdpGBP','clear','scene','name','4ziThEC','(((.+)+)+)+$','404592DyORis','11GSlHmU','initialize'];a45c=function(){return r;};return a45c();}import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x16d;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x195)];['scene'];['player'];[a45j(0x175)];['rooms'];constructor(a,b){const k=a45j;this[k(0x194)]=a,this[k(0x181)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x181)][k(0x187)](),this[k(0x194)][k(0x17d)]=this['determineStartRoom'](),this[k(0x19d)]();}['registerCommands'](){const l=a45j;CommandFactory['registerCommand'](l(0x173),LookCommand),CommandFactory[l(0x17a)]('go',GoCommand),CommandFactory[l(0x17a)]('take',TakeCommand),CommandFactory['registerCommand'](l(0x177),UseCommand),CommandFactory[l(0x17a)](l(0x17b),EquipCommand),CommandFactory[l(0x17a)]('unequip',UnequipCommand),CommandFactory[l(0x17a)]('solve',SolveCommand),CommandFactory[l(0x17a)]('drop',DropCommand),CommandFactory[l(0x17a)]('unlock',UnlockCommand),CommandFactory[l(0x17a)](l(0x18a),LockCommand),CommandFactory[l(0x17a)](l(0x199),SearchCommand),CommandFactory[l(0x17a)](l(0x171),SayCommand);}[a45j(0x18b)](){const m=a45j;return this[m(0x181)]['determineStartRoom']();}[a45j(0x189)](){const n=a45j;return n(0x17e)+this[n(0x194)][n(0x182)];}static[a45j(0x19b)](a,b){const o=a45j;return!Game[o(0x195)]&&(Game['instance']=new Game(a,b)),Game[o(0x195)];}['handleInput'](a){const p=a45j,b=a[p(0x197)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0x192)](0x1);if(c===p(0x18d))return null;if(c===p(0x198))return p(0x191);if(c===p(0x19c))return this[p(0x170)]();if(c===p(0x180))return'';const e={'actor':this['player'],'rooms':this[p(0x181)][p(0x16d)](),'scene':this['scene']},f=CommandFactory[p(0x176)](c,e);if(f){const g=f[p(0x190)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45j(0x170)](){const q=a45j,a=CommandFactory[q(0x188)]();let b=q(0x18c);for(const c in a){if(a[q(0x18e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x174)]()+'\x0a';}}return b+=q(0x179),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x7b))/0x1*(parseInt(f(0x75))/0x2)+parseInt(f(0x7d))/0x3+parseInt(f(0x79))/0x4+parseInt(f(0x7c))/0x5*(-parseInt(f(0x77))/0x6)+parseInt(f(0x76))/0x7*(parseInt(f(0x82))/0x8)+-parseInt(f(0x80))/0x9+-parseInt(f(0x7a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb0cf9));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x7f)]()[g(0x78)](g(0x7e))[g(0x7f)]()[g(0x81)](a46a)['search']('(((.+)+)+)+$');});a46a();export*from'./door.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x75;var f=c[d];return f;},a46d(a,b);}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46c(){var h=['15STrCxj','1995363UWRsEQ','(((.+)+)+)+$','toString','177471oijTmQ','constructor','5411712WhDshK','1158wsgueV','7VPHgjR','155910sBQzZN','search','1992128zhxoNd','11827410BuCDrI','285FrHwui'];a46c=function(){return h;};return a46c();}export*from'./room.js';export*from'./scene.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xa9))/0x1+-parseInt(f(0x9b))/0x2+parseInt(f(0xa4))/0x3+-parseInt(f(0x9a))/0x4*(parseInt(f(0xb1))/0x5)+-parseInt(f(0xaf))/0x6+parseInt(f(0xb3))/0x7*(parseInt(f(0x9e))/0x8)+parseInt(f(0xa3))/0x9*(parseInt(f(0x9f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x67bb4));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0xa8)]()[g(0xaa)]('(((.+)+)+)+$')['toString']()[g(0xa0)](a47a)[g(0xaa)](g(0xb0));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47c(){var m=['.\x20Used:\x20','isLockable','509116IzccvX','385906jExzdQ','roomB','checkIfLockable','32688ZmTeuL','5120nRqlXm','constructor','checkIfLocked','write','4545hpSXry','2273139SFaQkc','unlockItemOrSolution','attemptUnlock','logger','toString','467620BuQVdl','search','isLocked','name','getOtherSide','getInstance','3283134pCwZxx','(((.+)+)+)+$','5RHWTXo','\x20and\x20','1274ESttlL','Door\x20created\x20between\x20','roomA','Failed\x20to\x20unlock\x20door:\x20'];a47c=function(){return m;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x95;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47h(0x9c)];[a47h(0xab)];['unlockItemOrSolution'];[a47h(0xac)];[a47h(0xa7)];['isLockable'];constructor(a){var i=a47h;super(),this[i(0x96)]=a[i(0x96)],this[i(0x9c)]=a[i(0x9c)],this[i(0xab)]=a['isLocked']||![],this[i(0xa5)]=a[i(0xa5)],this[i(0xac)]=a[i(0xac)]?capitalCase(a[i(0xac)]):'To\x20'+a[i(0x9c)]['name'],this[i(0xa7)]=Logger[i(0xae)](),this[i(0x99)]=!!a[i(0xa5)],this[i(0xa7)][i(0xa2)](i(0x95)+this[i(0x96)][i(0xac)]+i(0xb2)+this[i(0x9c)]['name']+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a47h(0xad)](a){var j=a47h;return this[j(0x96)]===a?this[j(0x9c)]:this[j(0x96)];}[a47h(0xa6)](a){var k=a47h;if(this[k(0xab)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[k(0xab)]=![],this[k(0xa7)]['write']('Door\x20unlocked:\x20'+this[k(0xac)]+'.\x20Used:\x20'+a),!![];return this[k(0xa7)][k(0xa2)](k(0x97)+this[k(0xac)]+k(0x98)+a),![];}[a47h(0xa1)](){return this['isLocked'];}[a47h(0x9d)](){var l=a47h;return this[l(0x99)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1+-parseInt(f(0x126))/0x2*(parseInt(f(0x124))/0x3)+parseInt(f(0x125))/0x4*(-parseInt(f(0x107))/0x5)+-parseInt(f(0x123))/0x6*(-parseInt(f(0x12c))/0x7)+parseInt(f(0x128))/0x8+parseInt(f(0x11c))/0x9+parseInt(f(0x131))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x42cb3));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x107;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x11a)]()[g(0x122)](g(0x11f))[g(0x11a)]()[g(0x12b)](a48a)[g(0x122)](g(0x11f));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48c(){const q=['Listed\x20items\x20in\x20inventory:\x20','logger','getWeight','items','weight','.\x20Item\x20not\x20found.','Retrieved\x20details\x20for\x20item:\x20','addItem','toString','has','1135179JxcVLs','values','9558nUaClp','(((.+)+)+)+$','.\x20Exists:\x20','Removed\x20item:\x20','search','12vucUyz','6TDMWTG','116fvXaUt','295384jRxBkQ','Checked\x20for\x20item:\x20','2788048VXOvWE','getInstance','write','constructor','1448013KcSKTB','keys','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','map','toLowerCase','1123510hdarlT','76085vkHEXf','Added\x20item:\x20','\x20to\x20inventory.','\x20from\x20inventory.','join','name','getAllItems','delete','listItems','getItem','set'];a48c=function(){return q;};return a48c();}export class Inventory extends AbstractInventory{[a48h(0x115)];[a48h(0x113)];constructor(){const i=a48h;super(),this['items']=new Map(),this['logger']=Logger[i(0x129)]();}[a48h(0x119)](a){const j=a48h;this[j(0x115)][j(0x111)](a['name'][j(0x130)](),a),this[j(0x113)][j(0x12a)](j(0x108)+a[j(0x10c)]+j(0x109));}['removeItem'](a){const k=a48h,b=this['getItem'](a);if(b)return this[k(0x115)][k(0x10e)](a['toLowerCase']()),this[k(0x113)]['write'](k(0x121)+a+k(0x10a)),b;return this[k(0x113)]['write']('Failed\x20to\x20remove\x20item:\x20'+a+k(0x117)),null;}['hasItem'](a){const l=a48h,b=this[l(0x115)][l(0x11b)](a['toLowerCase']()),c=[...this['items'][l(0x12d)]()];return this[l(0x113)][l(0x12a)](l(0x127)+a+'\x20in\x20'+c[l(0x10b)](',\x20')+l(0x120)+b+'.'),b;}[a48h(0x110)](a){const m=a48h,b=this[m(0x115)]['get'](a['toLowerCase']())||null;return b?this[m(0x113)][m(0x12a)](m(0x118)+a+'.'):this[m(0x113)]['write'](m(0x12e)+a+m(0x117)),b;}[a48h(0x10f)](){const n=a48h,a=[...this['items'][n(0x12d)]()],b=a[n(0x12f)](c=>capitalCase(c));return this[n(0x113)][n(0x12a)](n(0x112)+b[n(0x10b)](',\x20')+'.'),a;}[a48h(0x114)](){const o=a48h;let a=0x0;for(const b of this['items'][o(0x11d)]()){a+=b[o(0x116)];}return a;}[a48h(0x10d)](){const p=a48h;return[...this['items'][p(0x11d)]()];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1f6))/0x1+parseInt(f(0x1f1))/0x2*(parseInt(f(0x1f3))/0x3)+-parseInt(f(0x1e7))/0x4+-parseInt(f(0x1e6))/0x5+-parseInt(f(0x1e5))/0x6*(-parseInt(f(0x1de))/0x7)+parseInt(f(0x1e1))/0x8*(-parseInt(f(0x1ed))/0x9)+-parseInt(f(0x1e8))/0xa*(-parseInt(f(0x1f4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xdba70));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x1dc)]()[g(0x1ee)](g(0x1e2))[g(0x1dc)]()[g(0x1dd)](a49a)[g(0x1ee)](g(0x1e2));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49c(){var k=['You\x20use\x20the\x20','384jpymMA','1446395SDlfVp','774412nQVLPK','680JuSBpf','shape','.\x20Nothing\x20special\x20happens.','uuid','size','738711afNqLq','search','description','weight','3451142pTnHri','texture','3ysXmsx','108460eIJXMS','rating','1194178DvNWof','toString','constructor','28742gegSzN','name','use','8vLCfWi','(((.+)+)+)+$','color'];a49c=function(){return k;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1dc;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{[a49h(0x1eb)];[a49h(0x1df)];[a49h(0x1ef)];['size'];['category'];[a49h(0x1e9)];[a49h(0x1e3)];[a49h(0x1f2)];[a49h(0x1f5)];[a49h(0x1f0)];constructor(a){var i=a49h;super(),this[i(0x1df)]=a['name'],this[i(0x1ef)]=a[i(0x1ef)],this['size']=a[i(0x1ec)],this['category']=a['category'],this[i(0x1e9)]=a['shape'],this[i(0x1e3)]=a[i(0x1e3)],this['texture']=a[i(0x1f2)],this[i(0x1f5)]=a[i(0x1f5)],this[i(0x1f0)]=a[i(0x1f0)],this[i(0x1eb)]=a49e();}[a49h(0x1e0)](){var j=a49h;return j(0x1e4)+this[j(0x1df)]+j(0x1ea);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x19b;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1aa))/0x1*(parseInt(f(0x19c))/0x2)+parseInt(f(0x1b0))/0x3+parseInt(f(0x1b4))/0x4+-parseInt(f(0x1ab))/0x5*(parseInt(f(0x1ac))/0x6)+-parseInt(f(0x1a1))/0x7+-parseInt(f(0x19d))/0x8*(parseInt(f(0x1b2))/0x9)+parseInt(f(0x1ae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbf2b4));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1a8)]()[h(0x1a0)](h(0x1a3))[h(0x1a8)]()[h(0x19f)](a50a)[h(0x1a0)](h(0x1a3));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x1a7)];[a50i(0x1af)];[a50i(0x1a4)];[a50i(0x19b)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1a7)]=a,this[j(0x1af)]=b,this['rooms']=c;}get[a50i(0x1b1)](){const k=a50i;return this[k(0x1a7)];}[a50i(0x1a6)](){const l=a50i;return this[l(0x1af)][Math[l(0x1a9)](Math[l(0x1ad)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a50i,b=a[Math['floor'](Math[m(0x1ad)]()*a[m(0x1b3)])];this[m(0x19e)](b[m(0x1b1)]);}[a50i(0x19e)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1a4)],'scene':this[n(0x19b)]},c=new GoCommand(b);c[n(0x1a2)]([a]);}}function a50c(){const o=['name','910386eHxVJc','length','5004404LrqDTQ','scene','483654jWMDSl','8XZjCib','moveTo','constructor','search','9503564oFCAnw','execute','(((.+)+)+)+$','rooms','apply','speak','_name','toString','floor','5FqKwmp','40255uNhVbS','294QvoAfm','random','11449670ZzulMz','_dialogue','4348200eaXkKh'];a50c=function(){return o;};return a50c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x134;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x141))/0x1+-parseInt(f(0x15c))/0x2*(parseInt(f(0x13d))/0x3)+-parseInt(f(0x171))/0x4+-parseInt(f(0x15f))/0x5*(parseInt(f(0x13b))/0x6)+parseInt(f(0x18d))/0x7+parseInt(f(0x15a))/0x8+parseInt(f(0x152))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xef3eb));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x14a)]()[h(0x147)](h(0x146))['toString']()[h(0x174)](a51a)[h(0x147)](h(0x146));});a51a();import{camelCase}from'change-case';function a51c(){const C=['546RRlIkb','hasItem','9KLxVGy','equipment','rightHand','write','1324120mbRQVD','removeInventory','weight','helmet','log','(((.+)+)+)+$','search','currentLocation','LegArmor','toString','Invalid\x20category\x20or\x20slot:\x20','Gloves','Nexus','inventoryItems','Weapon','Added\x20','addInventory','9438957jsqMyw','You\x20don\x27t\x20have\x20','ArmArmor','hear','currentWeight','apply','BodyArmor','unequipBySlot','8159512nQAbmE','speak','202054qdsXXD','maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','63570exUBnL','feet','getInstance','torso','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','.\x20You\x20must\x20unequip\x20it\x20first.','_inventory','determineEquipmentSlot','bind','\x20from\x20player\x27s\x20inventory.','addItem','category','removeItem','leftHand','getWeight','_playerName','Shield','Max\x20carrying\x20weight\x20must\x20be\x20positive.','603312EHGube','You\x20unequipped\x20','armarmor','constructor','includes','leg\x20armor','\x20is\x20now\x20listening\x20in\x20room\x20','canEquip','enterRoom','playerName','inventory','Boots','gloves','_currentLocation','legarmor','equip','name','\x20is\x20no\x20longer\x20listeng\x20in\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','arm\x20armor','logger','weapon','arms','Failed\x20to\x20remove\x20','legs','_maxCarryingWeight','shield','Hat','12923666HhZWjk','unequip','_equipment','Helmet','toLowerCase','error','off','You\x20can\x27t\x20equip\x20','leaveRoom','initialEquipment'];a51c=function(){return C;};return a51c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x16e)];[a51i(0x17e)];[a51i(0x165)];['_equipment'];[a51i(0x18a)]=0x32;[a51i(0x185)];constructor(a){const j=a51i;super(),this[j(0x16e)]=a[j(0x17a)],this[j(0x17e)]=a['startLocation']||new Room({'name':j(0x14d),'description':'A\x20featureless\x20room'}),this[j(0x165)]=new Inventory(),this[j(0x185)]=Logger[j(0x161)]();if(a?.[j(0x14e)])for(const b of a['inventoryItems']){this[j(0x165)]['addItem'](b);}this[j(0x18f)]=a?.[j(0x13a)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x181)](){const k=a51i;return this[k(0x16e)];}get['currentLocation'](){const l=a51i;return this[l(0x17e)];}set[a51i(0x148)](a){const m=a51i;this[m(0x17e)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0x17e)]=a;}get[a51i(0x17b)](){return this['_inventory'];}get[a51i(0x13e)](){const n=a51i;return this[n(0x18f)];}set[a51i(0x13e)](a){const o=a51i;this[o(0x18f)]=a;}get[a51i(0x15d)](){const p=a51i;return this[p(0x18a)];}set[a51i(0x15d)](a){const q=a51i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x136)](q(0x170));}get[a51i(0x156)](){const r=a51i;let a=this[r(0x165)][r(0x16d)]();for(const b in this[r(0x18f)]){const c=this['_equipment'][b];c&&(a+=c[r(0x143)]);}return a;}[a51i(0x151)](a){const s=a51i;if(this['currentWeight']+a['weight']>this[s(0x15d)]){this['logger'][s(0x140)](s(0x163));throw new Error(s(0x15e));}this[s(0x165)][s(0x169)](a),this[s(0x185)][s(0x140)](s(0x150)+a[s(0x181)]+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x142)](a){const t=a51i;if(this['_inventory'][t(0x16b)](a['name']))return this['logger'][t(0x140)]('Removed\x20'+a[t(0x181)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x185)][t(0x140)](t(0x188)+a['name']+t(0x168)),![];}[a51i(0x180)](a){const u=a51i;if(!this[u(0x165)][u(0x13c)](a[u(0x181)]))return u(0x153)+a[u(0x181)]+'\x20in\x20your\x20inventory.';if(!this[u(0x178)](a))return u(0x138)+a['name']+'.';const b=this[u(0x166)](a[u(0x16a)]);if(!b)return a[u(0x181)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0x13e)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x164);return this[u(0x13e)][b]=a,this[u(0x142)](a),'You\x20equipped\x20'+a[u(0x181)]+'.';}[a51i(0x18e)](a){const v=a51i;let b=a;if(!this[v(0x13e)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0x14b)+a+'.';}return this[v(0x159)](b);}[a51i(0x166)](a){const w=a51i;switch(a[w(0x135)]()){case Category[w(0x14f)]['toLowerCase']():return'rightHand';case Category[w(0x16f)][w(0x135)]():return w(0x16c);case Category[w(0x14c)]['toLowerCase']():return w(0x17d);case Category[w(0x134)][w(0x135)]():case Category[w(0x18c)][w(0x135)]():return'head';case Category[w(0x17c)]['toLowerCase']():return w(0x160);case Category[w(0x149)][w(0x135)]():return w(0x189);case Category[w(0x154)][w(0x135)]():return'arms';case Category[w(0x158)][w(0x135)]():return'torso';case w(0x186):return w(0x13f);case w(0x18b):return w(0x16c);case'gloves':return w(0x17d);case w(0x144):case'hat':return'head';case'boots':return'feet';case w(0x176):case w(0x17f):return'legs';case w(0x184):case w(0x173):return w(0x187);case'body\x20armor':case'bodyarmor':case w(0x162):return w(0x162);default:return null;}}[a51i(0x178)](a){const x=a51i;return Object['values'](Category)[x(0x175)](a[x(0x16a)]);}[a51i(0x159)](a){const y=a51i,b=this[y(0x13e)][a];if(!b)return y(0x183)+a+'\x20slot.';return this[y(0x151)](b),this[y(0x13e)][a]=null,y(0x172)+b['name']+'.';}['hear'](a,b){const z=a51i;a!==this&&this['logger'][z(0x145)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x179)](a){const A=a51i;this[A(0x17e)]=a,a['on']('speak',this[A(0x155)]['bind'](this)),this[A(0x185)]['write'](this['name']+A(0x177)+a[A(0x181)]);}[a51i(0x139)](){const B=a51i;this['_currentLocation']&&(this[B(0x17e)][B(0x137)](B(0x15b),this['hear'][B(0x167)](this)),this[B(0x185)][B(0x140)](this[B(0x181)]+B(0x182)+this[B(0x17e)][B(0x181)]));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xf8))/0x1*(-parseInt(f(0x104))/0x2)+-parseInt(f(0xea))/0x3*(-parseInt(f(0xee))/0x4)+parseInt(f(0xfa))/0x5*(-parseInt(f(0xf6))/0x6)+-parseInt(f(0xfb))/0x7*(parseInt(f(0xf3))/0x8)+parseInt(f(0x105))/0x9+-parseInt(f(0xff))/0xa+-parseInt(f(0xf7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x8d83c));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xf2)]()['search'](h(0xe9))['toString']()[h(0xed)](a52a)[h(0x107)](h(0xe9));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var n=['write','solved','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','2LcLKwj','5021856TIbGzf','requiredItem','search','getInstance','apply','(((.+)+)+)+$','975KSSswc','riddle','requiredPhrase','constructor','11860kGbPNP','hasItem','successMessage','failureMessage','toString','2133704GMhtBu','logger','Puzzle:\x20Correct\x20solution\x20provided.','1828956LGmLqs','3881526gBmoNV','574723RvIZwk','matchesRequiredPhrase','5qRcEAZ','21ROVZSf','You\x20solved\x20the\x20puzzle!','hasRequiredItem','rewardItem','588570YKvhun','You\x20have\x20already\x20solved\x20this\x20puzzle.'];a52c=function(){return n;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xe8;var f=c[d];return f;},a52d(a,b);}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x108)]();['solved']=![];['requiredItem'];['requiredPhrase'];['riddle'];['rewardItem'];[a52i(0xf0)];[a52i(0xf1)];constructor(a){var j=a52i;super(),this[j(0x106)]=a['requiredItem'],this['requiredPhrase']=a['requiredPhrase'],this[j(0xeb)]=a[j(0xeb)],this[j(0xfe)]=a['rewardItem'],this[j(0xf0)]=a[j(0xf0)]||j(0xfc),this[j(0xf1)]=a[j(0xf1)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0xfd)](a){var k=a52i;if(this[k(0x106)])return a[k(0xef)](this[k(0x106)]);return![];}[a52i(0xf9)](a){var l=a52i;return this[l(0xec)]===a;}['solve'](a,b){var m=a52i;if(this[m(0x102)])return this[m(0xf4)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x100)};return this[m(0xfd)](b)||this[m(0xf9)](a)?(this[m(0x102)]=!![],this['logger'][m(0x101)](m(0xf5)),{'success':!![],'message':this[m(0xf0)]}):(this[m(0xf4)][m(0x101)](m(0x103)),{'success':![],'message':this[m(0xf1)]});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a53h=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x21d))/0x1+parseInt(f(0x204))/0x2+parseInt(f(0x20b))/0x3+-parseInt(f(0x21f))/0x4+parseInt(f(0x215))/0x5*(parseInt(f(0x216))/0x6)+parseInt(f(0x211))/0x7*(parseInt(f(0x200))/0x8)+-parseInt(f(0x21b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x994fa));const a53b=(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;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x223)]()[g(0x20c)](g(0x224))[g(0x223)]()[g(0x228)](a53a)[g(0x20c)](g(0x224));});a53a();function a53c(){const s=['\x20is\x20locked.\x20Result:\x20','SOUTH','Item\x20removed\x20from\x20room\x20','findExistingDoor','north','\x20remains\x20locked.','checkIfLocked','inventory','roomA','getInstance','18640GHbOzi','values','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','write','1963480MZCKLV','DOWN','say','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Checking\x20if\x20exit\x20in\x20direction\x20','riddle','1273929RMGBsr','search','description','getOppositeDirection','The\x20','\x20unlocked!','371NMghyu','EAST','Room\x20created:\x20','isStartRoom','1693885Rtohng','18DESrbb','west','exits','isExitLocked','NORTH','16284537styEph','hasItem','994381nFJAMw','roomType','4412920FVyOSW','removeItem','puzzle','Fetching\x20exit\x20in\x20direction:\x20','toString','(((.+)+)+)+$','logger','Puzzle\x20set\x20for\x20room\x20','name','constructor','get','set','addItem','roomB'];a53c=function(){return s;};return a53c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0x225)]=Logger[a53h(0x1ff)]();[a53h(0x227)];[a53h(0x20d)];[a53h(0x218)]=new Map();[a53h(0x21e)];[a53h(0x214)];[a53h(0x1fd)]=new Inventory();constructor(a){const i=a53h;super(),this['name']=a[i(0x227)],this[i(0x20d)]=a['description'],this[i(0x21e)]=a[i(0x21e)]||RoomType['INSIDE'],a[i(0x218)]&&(this[i(0x218)]=a[i(0x218)]||new Map()),a['inventory']&&(this[i(0x1fd)]=a[i(0x1fd)]),a[i(0x221)]&&(this[i(0x221)]=a[i(0x221)]),this[i(0x214)]=a['isStartRoom']||![],this[i(0x225)][i(0x203)](i(0x213)+this[i(0x227)]);}[a53h(0x206)](a,b){this['emit']('speak',a,b);}['addExit'](a,b,c){const j=a53h;let d=this[j(0x1f9)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[j(0x218)]['set'](a,d),b[j(0x218)][j(0x22a)](this[j(0x20e)](a),d);}['attemptUnlockExit'](a,b){const k=a53h,c=this[k(0x218)][k(0x229)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[k(0x225)][k(0x203)](k(0x202)+a+'.\x20Success:\x20'+d),d?k(0x20f)+c[k(0x227)]+k(0x210):k(0x20f)+c['name']+k(0x1fb);}return this[k(0x225)][k(0x203)](k(0x207)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const l=a53h;return this['logger'][l(0x203)](l(0x222)+a),this[l(0x218)][l(0x229)](a);}[a53h(0x219)](a){const m=a53h,b=this[m(0x218)][m(0x229)](a),c=b instanceof Door&&b[m(0x1fc)]();return this['logger'][m(0x203)](m(0x209)+a+m(0x1f6)+c),c;}[a53h(0x1f4)](a){const n=a53h;this[n(0x1fd)]['addItem'](a),this['logger'][n(0x203)]('Item\x20added\x20to\x20room\x20'+this[n(0x227)]+':\x20'+a[n(0x227)]);}[a53h(0x220)](a){const o=a53h;this[o(0x1fd)][o(0x21c)](a[o(0x227)])?(this[o(0x1fd)][o(0x220)](a['name']),this[o(0x225)][o(0x203)](o(0x1f8)+this[o(0x227)]+':\x20'+a[o(0x227)])):this[o(0x225)][o(0x203)](o(0x208)+this[o(0x227)]+':\x20'+a[o(0x227)]);}['setPuzzle'](a){const p=a53h;this['puzzle']=a,this['logger'][p(0x203)](p(0x226)+this[p(0x227)]+':\x20'+a[p(0x20a)]);}[a53h(0x20e)](a){const q=a53h;switch(a){case q(0x1fa):return Direction[q(0x1f7)];case'south':return Direction[q(0x21a)];case'east':return Direction['WEST'];case q(0x217):return Direction[q(0x212)];case'up':return Direction[q(0x205)];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53h(0x1f9)](a){const r=a53h;for(const b of this[r(0x218)][r(0x201)]()){if(b instanceof Door){if(b[r(0x1fe)]===this&&b[r(0x1f5)]===a||b[r(0x1f5)]===this&&b[r(0x1fe)]===a)return b;}}return undefined;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x180))/0x1*(parseInt(i(0x171))/0x2)+-parseInt(i(0x143))/0x3+parseInt(i(0x166))/0x4+-parseInt(i(0x162))/0x5*(-parseInt(i(0x149))/0x6)+-parseInt(i(0x157))/0x7+parseInt(i(0x15c))/0x8*(-parseInt(i(0x16d))/0x9)+parseInt(i(0x142))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd9126));function a54c(){const C=['\x22\x20does\x20not\x20exist.','delete','targetRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','generateRoomsFromConfig','values','write','\x20already\x20exists\x20in\x20the\x20scene.','apply','setCharacterLocation','9894297cUFiyr','length','toUpperCase','from','\x20found\x20in\x20the\x20scene.','8NgNgvW','initialize','exits','getInstance','addExit','push','927090XnISGT','.\x20Room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Added\x20puzzle\x20to\x20room\x20','963080zFSEcW','roomFactory','connectRooms','addItemToRoom','addItem','(((.+)+)+)+$','join','7928874wIkTxO','roomConfiguration','keyRequired','warn','4QUCfVh','createExitsFromConfig','hasOwnProperty','constructor','set','search','toString','getActor','Removed\x20room\x20from\x20scene:\x20','characterLocations','\x20not\x20found\x20in\x20scene.','actors','Room\x20\x22','Added\x20room\x20to\x20scene:\x20','removeActor','785911vxgpPi','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','logger','getRooms','determineStartRoom','direction','get','allActors','removeRoom','Scene\x20initialized\x20with\x20rooms:\x20','20397090UAOnDl','3118662feuYmt','rooms','No\x20actor\x20with\x20name\x20','Added\x20item\x20','keys','player','12ZxBHCs','name','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','currentLocation'];a54c=function(){return C;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x177)]()[k(0x176)](k(0x16b))[k(0x177)]()[k(0x174)](a54a)[k(0x176)]('(((.+)+)+)+$');});function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x13e;let f=c[d];return f;},a54d(a,b);}a54a();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{[a54l(0x144)];[a54l(0x148)];[a54l(0x182)];[a54l(0x17c)];[a54l(0x17a)]=new Map();[a54l(0x167)];constructor(a){const m=a54l;super(),this[m(0x167)]=new RoomFactory(),this[m(0x148)]=a[m(0x148)],this[m(0x144)]=this[m(0x151)](a['roomConfiguration']),this[m(0x182)]=Logger[m(0x15f)](),this[m(0x17c)]=new Map(),this[m(0x172)](a[m(0x16e)]),this[m(0x182)][m(0x153)](m(0x141)+Object['keys'](this['rooms'])[m(0x16c)](',\x20'));}[a54l(0x15d)](){const n=a54l;this[n(0x148)][n(0x14c)]=this[n(0x184)]();}[a54l(0x151)](a){const o=a54l;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x167)]['createRoom'](c);b[c[o(0x14a)]]=d;}return b;}[a54l(0x172)](a){const p=a54l;for(const b of a){const c=this[p(0x144)][b[p(0x14a)]];if(b['exits'])for(const d of b[p(0x15e)]){const e=d[p(0x185)][p(0x159)](),f=d[p(0x14f)],g=d[p(0x16f)],h=this[p(0x144)][f];h&&c[p(0x160)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0x17c)]['has'](a[q(0x14a)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+q(0x154));this[q(0x17c)][q(0x175)](a[q(0x14a)],a);}[a54l(0x17f)](a){const r=a54l;if(!this['actors']['has'](a))throw new Error(r(0x145)+a+r(0x15b));this[r(0x17c)][r(0x14e)](a);}[a54l(0x178)](a){const s=a54l;return this['actors'][s(0x13e)](a);}get[a54l(0x13f)](){const t=a54l;return Array[t(0x15a)](this[t(0x17c)][t(0x152)]());}['addRoom'](a){const u=a54l;this[u(0x144)][a[u(0x14a)]]=a,this['logger'][u(0x153)](u(0x17e)+a[u(0x14a)]);}[a54l(0x140)](a){const v=a54l;return this[v(0x144)][a]?(delete this[v(0x144)][a],this[v(0x182)][v(0x153)](v(0x179)+a),!![]):(this[v(0x182)][v(0x153)](v(0x181)+a),![]);}[a54l(0x169)](a,b){const w=a54l,c=this[w(0x144)][b];c?(c[w(0x16a)](a),this[w(0x182)][w(0x153)](w(0x146)+a[w(0x14a)]+'\x20to\x20room\x20'+c[w(0x14a)])):this['logger']['write']('Failed\x20to\x20add\x20item\x20'+a[w(0x14a)]+w(0x163)+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a54l,c=this[x(0x144)][b];c?(c['setPuzzle'](a),this['logger'][x(0x153)](x(0x165)+c[x(0x14a)])):this[x(0x182)][x(0x153)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x156)](a,b){const y=a54l,c=this[y(0x144)][b];c?(this[y(0x17a)][y(0x175)](a['name'],c),this[y(0x182)][y(0x153)](a[y(0x14a)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x14a)])):this[y(0x182)][y(0x153)]('Failed\x20to\x20set\x20'+a[y(0x14a)]+'\x27s\x20location.\x20Room\x20'+b+y(0x17b));}['getCharacterLocation'](a){const z=a54l;return this[z(0x17a)][z(0x13e)](a[z(0x14a)]);}[a54l(0x184)](){const A=a54l,a=[];for(const c in this[A(0x144)]){if(this[A(0x144)][A(0x173)](c)){const d=this[A(0x144)][c];d['isStartRoom']&&a[A(0x161)](d);}}if(a[A(0x158)]>0x1)throw new Error(A(0x14b));if(a[A(0x158)]===0x1)return a[0x0];const b=Object[A(0x147)](this[A(0x144)]);if(b[A(0x158)]===0x0)throw new Error(A(0x164));return console[A(0x170)](A(0x150)),this[A(0x144)][b[0x0]];}['getPlayer'](){return this['player'];}[a54l(0x183)](){return this['rooms'];}[a54l(0x168)](a,b,c,d){const B=a54l,e=this[B(0x144)][a],f=this['rooms'][c];if(!e)throw new Error(B(0x17d)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(B(0x17d)+c+B(0x14d));e[B(0x160)](b,f,d);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x133))/0x1*(parseInt(f(0x130))/0x2)+-parseInt(f(0x13a))/0x3*(parseInt(f(0x147))/0x4)+parseInt(f(0x149))/0x5+-parseInt(f(0x15c))/0x6*(-parseInt(f(0x14f))/0x7)+-parseInt(f(0x145))/0x8+parseInt(f(0x13f))/0x9*(-parseInt(f(0x13c))/0xa)+-parseInt(f(0x132))/0xb*(-parseInt(f(0x15e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x929c5));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x146)](h(0x15a))[h(0x13b)]()[h(0x138)](a55a)[h(0x146)](h(0x15a));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x12e)],'category':Category[i(0x160)],'shape':Shape[i(0x15b)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[i(0x154)],'weight':0x1});}[a55j(0x131)](){var k=a55j;return this[k(0x153)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x142)],'shape':Shape[l(0x135)],'color':Color[l(0x14b)],'texture':Texture[l(0x15d)],'rating':Rating[l(0x154)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x134)],'category':Category[m(0x142)],'shape':Shape['Rifle'],'color':Color[m(0x12f)],'texture':Texture[m(0x15d)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x12e)],'category':Category[n(0x150)],'shape':Shape[n(0x139)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[n(0x154)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape['Rectangle'],'color':Color[o(0x14b)],'texture':Texture[o(0x15d)],'rating':Rating[o(0x154)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x140)],'shape':Shape[p(0x15b)],'color':Color[p(0x14b)],'texture':Texture[p(0x15d)],'rating':Rating[p(0x154)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x157)],'shape':Shape[q(0x139)],'color':Color['Brown'],'texture':Texture[q(0x13e)],'rating':Rating[q(0x154)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x156)],'shape':Shape[r(0x139)],'color':Color[r(0x12f)],'texture':Texture['Smooth'],'rating':Rating[r(0x154)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x12e)],'category':Category['ArmArmor'],'shape':Shape[s(0x15b)],'color':Color[s(0x14b)],'texture':Texture[s(0x15d)],'rating':Rating[s(0x154)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x13d)],'category':Category['Key'],'shape':Shape[t(0x15b)],'color':Color[t(0x158)],'texture':Texture[t(0x13e)],'rating':Rating[t(0x154)],'weight':0x0});}[a55j(0x131)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size[u(0x12e)],'category':Category[u(0x142)],'shape':Shape[u(0x135)],'color':Color[u(0x14b)],'texture':Texture[u(0x15d)],'rating':Rating[u(0x154)],'weight':0x3});}[a55j(0x131)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55j(0x141)];[a55j(0x14d)];['pageCount'];constructor(a,b=a55j(0x136),c=a55j(0x12c)){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x12e)],'category':Category[v(0x15f)],'shape':Shape[v(0x15b)],'color':Color[v(0x12f)],'texture':Texture[v(0x13e)],'rating':Rating[v(0x154)],'weight':0x1}),this[v(0x141)]=c,this[v(0x14d)]=new Date(),this[v(0x151)]=0x64;}[a55j(0x131)](){var w=a55j;return w(0x12b);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x12b;var f=c[d];return f;},a55d(a,b);}function a55c(){var C=['Small','7734808nnvyfK','search','8kmoAah','apply','5398750JxXzNZ','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Grey','Legendary','publishDate','\x20aloft,\x20feeling\x20its\x20immense\x20power.','14cViQup','Helmet','pageCount','name','description','Common','You\x20hold\x20the\x20','Gloves','Boots','Yellow','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','(((.+)+)+)+$','Rectangle','3103080TXwfMq','Metallic','7972344EcPGQd','Book','Unknown','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Unknown\x20Author','Short\x20Sword','Medium','Brown','2AABqzz','use','22hAeZeU','560968FlWlFq','Large','Blade','A\x20mysterious\x20book.','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','constructor','Circle','1377687xTGOXU','toString','990100FluGHi','Tiny','Smooth','36riPcuT','LegArmor','author','Weapon','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.'];a55c=function(){return C;};return a55c();}export class ShortSword extends Item{constructor(){var x=a55j;super({'name':x(0x12d),'description':x(0x143),'size':Size[x(0x12e)],'category':Category[x(0x142)],'shape':Shape[x(0x135)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[x(0x154)],'weight':0x3});}[a55j(0x131)](){var y=a55j;return y(0x159);}}export class SniperRifle extends Item{constructor(){var z=a55j;super({'name':'Sniper\x20Rifle','description':z(0x137),'size':Size[z(0x134)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[z(0x12f)],'texture':Texture['Smooth'],'rating':Rating[z(0x154)],'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=a55j;super({'name':'Holy\x20Grail','description':A(0x14a),'size':Size[A(0x144)],'category':Category['Cup'],'shape':Shape[A(0x139)],'color':Color['Gold'],'texture':Texture['Metallic'],'rating':Rating[A(0x14c)],'weight':0x1});}['use'](){var B=a55j;return B(0x155)+this[B(0x152)]+B(0x14e);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0xcd))/0x1*(-parseInt(f(0xb5))/0x2)+parseInt(f(0x7b))/0x3+parseInt(f(0x8c))/0x4+-parseInt(f(0xb9))/0x5+-parseInt(f(0x81))/0x6*(-parseInt(f(0xe0))/0x7)+parseInt(f(0xc1))/0x8*(parseInt(f(0x82))/0x9)+-parseInt(f(0x78))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x28016));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xbd)]()[h(0xc5)](h(0x85))[h(0xbd)]()['constructor'](a54a)['search']('(((.+)+)+)+$');});a54a();export const rooms=[{'name':'Library','description':a54i(0xd3),'isStartRoom':!![],'items':[{'type':a54i(0x94),'name':a54i(0xac),'description':a54i(0xd0)},{'type':a54i(0x8b),'name':'Guard\x27s\x20Log\x20Book','description':a54i(0xc2),'content':a54i(0x73)}],'exits':[{'direction':a54i(0x72),'targetRoom':a54i(0xb6)}]},{'name':a54i(0xb6),'description':a54i(0x87),'exits':[{'direction':a54i(0xe8),'targetRoom':a54i(0xb0),'keyRequired':a54i(0xac)},{'direction':a54i(0x8f),'targetRoom':a54i(0xe2)}]},{'name':a54i(0xb0),'description':'A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','items':[{'type':a54i(0xe4),'name':a54i(0x86),'description':'The\x20legendary\x20Holy\x20Grail.'}]},{'name':'Courtyard','description':'A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','roomType':a54i(0xe7),'exits':[{'direction':'UP','targetRoom':a54i(0xa9)}]},{'name':a54i(0xa9),'description':a54i(0xbe),'roomType':'OUTSIDE','puzzle':{'requiredPhrase':a54i(0x7a),'riddle':a54i(0x93),'rewardItem':{'type':a54i(0xb4),'name':a54i(0xca),'description':a54i(0xdf)},'successMessage':a54i(0xa5),'failureMessage':'That\x20passcode\x20is\x20incorrect'}}];function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x72;let f=c[d];return f;},a54d(a,b);}export const dungeonConfig=[{'name':a54i(0xc3),'description':a54i(0xa0),'isStartRoom':!![],'roomType':'inside','puzzle':{'requiredPhrase':'open\x20sesame','riddle':a54i(0xad),'rewardItem':{'type':a54i(0x94),'name':'Central\x20Chamber\x20Key','description':a54i(0xc6)},'successMessage':a54i(0xc9),'failureMessage':a54i(0xe9)},'exits':[{'direction':a54i(0xd2),'targetRoom':a54i(0xb1)},{'direction':a54i(0x9f),'targetRoom':'Central\x20Chamber','keyRequired':a54i(0xd9)}]},{'name':a54i(0xb1),'description':a54i(0xbc),'roomType':a54i(0xa2),'items':[{'type':a54i(0x8b),'name':'Riddle\x20Book','description':'A\x20book\x20containing\x20a\x20mysterious\x20riddle.','content':a54i(0x8e)},{'type':a54i(0x94),'name':a54i(0xd9),'description':'A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.'}],'exits':[{'direction':'south','targetRoom':a54i(0xc3)},{'direction':a54i(0x9f),'targetRoom':a54i(0xa1)}]},{'name':a54i(0xa1),'description':a54i(0x77),'roomType':a54i(0xa2),'items':[{'type':a54i(0x76),'name':a54i(0xaa),'description':a54i(0x92)}],'exits':[{'direction':a54i(0x88),'targetRoom':a54i(0xb1)},{'direction':a54i(0xd2),'targetRoom':a54i(0x75)}]},{'name':'Armory','description':'Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','roomType':a54i(0xa2),'items':[{'type':a54i(0xb7),'name':a54i(0xa8),'description':a54i(0xa3)},{'type':a54i(0x9b),'name':a54i(0x8d),'description':a54i(0x95)}],'exits':[{'direction':'south','targetRoom':a54i(0xa1)},{'direction':'east','targetRoom':a54i(0xd7)}]},{'name':a54i(0xd7),'description':a54i(0xe6),'roomType':a54i(0xa2),'exits':[{'direction':a54i(0x88),'targetRoom':'Armory'},{'direction':a54i(0xd4),'targetRoom':'Entrance\x20Hall'},{'direction':'north','targetRoom':a54i(0xde)},{'direction':a54i(0x9f),'targetRoom':a54i(0xb0)}]},{'name':a54i(0xde),'description':a54i(0xc8),'roomType':a54i(0xa2),'items':[{'type':a54i(0x94),'name':'Blood-stained\x20Key','description':'A\x20key\x20stained\x20with\x20old\x20blood.'}],'puzzle':{'requiredPhrase':a54i(0x84),'riddle':'Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','rewardItem':{'type':a54i(0xaf),'name':a54i(0xcb),'description':a54i(0x96)},'successMessage':'The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','failureMessage':a54i(0xc7)},'exits':[{'direction':a54i(0xd4),'targetRoom':a54i(0xd7)}]},{'name':a54i(0xb0),'description':a54i(0xdd),'roomType':a54i(0xa2),'puzzle':{'requiredPhrase':a54i(0xe5),'riddle':a54i(0xd1),'rewardItem':{'type':a54i(0xd5),'name':a54i(0x74),'description':a54i(0xc4)},'successMessage':a54i(0x99),'failureMessage':a54i(0x7f)},'exits':[{'direction':a54i(0x88),'targetRoom':a54i(0xd7)}]}];export const shadowrunConfig=[{'name':a54i(0x97),'description':a54i(0xd6),'isStartRoom':!![],'roomType':a54i(0xa2),'exits':[{'direction':a54i(0xd2),'targetRoom':'Downtown\x20Seattle'},{'direction':'up','targetRoom':a54i(0x80)}]},{'name':a54i(0x80),'description':a54i(0xa7),'roomType':a54i(0xa2),'puzzle':{'requiredPhrase':'decrypt','riddle':'Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','rewardItem':{'type':a54i(0x94),'name':a54i(0xda),'description':'A\x20key\x20made\x20of\x20pure\x20digital\x20energy.'},'successMessage':'The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','failureMessage':a54i(0xbf)},'exits':[{'direction':a54i(0x83),'targetRoom':a54i(0x97)}]},{'name':a54i(0xdb),'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(0x89),'exits':[{'direction':a54i(0xd4),'targetRoom':a54i(0x97)},{'direction':a54i(0x9f),'targetRoom':a54i(0x7d)},{'direction':'west','targetRoom':'Corp\x20Enclave'}]},{'name':a54i(0x7d),'description':a54i(0x9a),'roomType':a54i(0x89),'puzzle':{'requiredPhrase':'show\x20loyalty','riddle':a54i(0x98),'rewardItem':{'type':a54i(0x94),'name':'Gang\x20Insignia','description':a54i(0x79)},'successMessage':a54i(0x8a),'failureMessage':a54i(0x91)},'exits':[{'direction':a54i(0x88),'targetRoom':a54i(0xdb)},{'direction':a54i(0xd2),'targetRoom':a54i(0x9d)}]},{'name':a54i(0x7e),'description':'The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','roomType':'inside','items':[{'type':a54i(0x9e),'name':a54i(0xcf),'description':'A\x20creditstick\x20loaded\x20with\x20nuyen.'},{'type':a54i(0x90),'name':a54i(0xd8),'description':a54i(0xab)}],'exits':[{'direction':'east','targetRoom':a54i(0xdb)}]},{'name':'Barrens\x20Hideout','description':a54i(0xb2),'roomType':a54i(0x89),'items':[{'type':'weapon','name':a54i(0xb3),'description':a54i(0xdc)}],'exits':[{'direction':a54i(0xd4),'targetRoom':a54i(0x7d)},{'direction':a54i(0xd2),'targetRoom':a54i(0xbb)},{'direction':a54i(0x9f),'targetRoom':a54i(0xe1)}]},{'name':a54i(0xbb),'description':'A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','roomType':a54i(0xa2),'puzzle':{'requiredPhrase':a54i(0xa4),'riddle':a54i(0x7c),'rewardItem':{'type':a54i(0x9c),'name':a54i(0xba),'description':a54i(0xa6)},'successMessage':a54i(0xce),'failureMessage':a54i(0xc0)},'exits':[{'direction':a54i(0xd4),'targetRoom':a54i(0x9d)}]},{'name':'Rigger\x27s\x20Workshop','description':'Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','roomType':a54i(0xa2),'items':[{'type':a54i(0xae),'name':a54i(0xb8),'description':a54i(0xcc)}],'exits':[{'direction':a54i(0x88),'targetRoom':a54i(0x9d)}]}];function a54c(){const j=['Empty\x20vial','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','Golden\x20Key','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','drone','gem','Treasure\x20Room','Study','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','Ares\x20Predator','rifle','18536xNxCeJ','Secret\x20Passage','shield','MCT\x20Fly-Spy','886885SQLQTY','Amulet\x20of\x20Awakening','Mage\x27s\x20Lair','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','toString','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','The\x20data\x20remains\x20encrypted.','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','48jjcAyT','A\x20thin\x20log\x20book','Entrance\x20Hall','A\x20chalice\x20made\x20of\x20pure\x20gold.','search','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','Sniper\x20Rifle','Ancient\x20Gem','A\x20small\x20surveillance\x20drone.','13VppGoX','The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','Corporate\x20Creditstick','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','north','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','south','cup','A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','Central\x20Chamber','CorpSec\x20Plans','Central\x20Chamber\x20Key','Encrypted\x20Data\x20Key','Downtown\x20Seattle','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','Torture\x20Chamber','A\x20long-range\x20weapon.','7nHNmEf','Rigger\x27s\x20Workshop','Courtyard','apply','holyGrail','insert\x20gem','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','OUTSIDE','NORTH','Nothing\x20happens.','EAST','Chad\x20the\x20stupid\x20guard','Golden\x20Chalice','Armory','basic','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','2166390lxxVra','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','secret123','695391IWIYrp','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','Barrens\x20Entrance','Corp\x20Enclave','The\x20chest\x20remains\x20firmly\x20shut.','Matrix\x20Data\x20Haven','1712658HlAJrS','157527DHzMef','down','release','(((.+)+)+)+$','Holy\x20Grail','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','west','outside','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','book','224416dYXJdq','Rusted\x20Sword','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','SOUTH','document','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','A\x20clear\x20glass\x20vial.','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','key','An\x20old\x20and\x20rusted\x20sword.','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','Jackpoint\x20Login','To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','sword','amulet','Barrens\x20Hideout','creditstick','east','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','Alchemy\x20Lab','inside','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','disenchant','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','A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','Emblem\x20Shield','Watch\x20Tower'];a54c=function(){return j;};return a54c();}
|
|
1
|
+
const a57i=a57d;function a57c(){const j=['A\x20long-range\x20weapon.','Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','south','SOUTH','book','search','insert\x20gem','Armory','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','A\x20clear\x20glass\x20vial.','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','Amulet\x20of\x20Awakening','MCT\x20Fly-Spy','north','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','9asHJKD','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','Library','The\x20legendary\x20Holy\x20Grail.','show\x20loyalty','Gang\x20Insignia','364260hzNyhV','2fINGHd','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','4coGlhW','OUTSIDE','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','A\x20creditstick\x20loaded\x20with\x20nuyen.','outside','The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','toString','EAST','disenchant','constructor','Courtyard','secret123','Holy\x20Grail','6801216JgCsiA','release','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','1942528QKqKyy','document','12fygTDu','apply','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','Secret\x20Passage','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','Blood-stained\x20Key','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','Corporate\x20Creditstick','drone','weapon','Matrix\x20Data\x20Haven','615923MrcRtX','basic','1831422AhqtdO','Central\x20Chamber','The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','holyGrail','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','Downtown\x20Seattle','Torture\x20Chamber','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','Watch\x20Tower','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','open\x20sesame','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','east','Entrance\x20Hall','Treasure\x20Room','A\x20thin\x20log\x20book','20erjXwh','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','west','inside','Mage\x27s\x20Lair','143126DRfsGP','That\x20passcode\x20is\x20incorrect','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','down','Riddle\x20Book','Nothing\x20happens.','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','Study','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','gem','Jackpoint\x20Login','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','Rigger\x27s\x20Workshop','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','The\x20data\x20remains\x20encrypted.','amulet','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','(((.+)+)+)+$','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','sword','Emblem\x20Shield','key','Chad\x20the\x20stupid\x20guard','Barrens\x20Entrance','323666mYzNlC','Encrypted\x20Data\x20Key','Guard\x27s\x20Log\x20Book','Barrens\x20Hideout','A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','Alchemy\x20Lab','Corp\x20Enclave','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','Central\x20Chamber\x20Key','Golden\x20Key','A\x20chalice\x20made\x20of\x20pure\x20gold.','An\x20old\x20and\x20rusted\x20sword.','creditstick'];a57c=function(){return j;};return a57c();}(function(a,b){const f=a57d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1*(-parseInt(f(0x17c))/0x2)+parseInt(f(0x164))/0x3*(-parseInt(f(0x142))/0x4)+-parseInt(f(0x13f))/0x5*(-parseInt(f(0x156))/0x6)+parseInt(f(0x194))/0x7+-parseInt(f(0x154))/0x8*(-parseInt(f(0x1b4))/0x9)+parseInt(f(0x176))/0xa*(parseInt(f(0x162))/0xb)+parseInt(f(0x150))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x57de8));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a57d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const h=a57d;return a57a['toString']()['search'](h(0x18d))[h(0x149)]()[h(0x14c)](a57a)[h(0x1a9)]('(((.+)+)+)+$');});a57a();export const rooms=[{'name':a57i(0x1b6),'description':a57i(0x178),'isStartRoom':!![],'items':[{'type':'key','name':a57i(0x1a0),'description':a57i(0x19d)},{'type':a57i(0x1a8),'name':a57i(0x196),'description':a57i(0x175),'content':a57i(0x192)}],'exits':[{'direction':a57i(0x14a),'targetRoom':a57i(0x159)}]},{'name':a57i(0x159),'description':a57i(0x158),'exits':[{'direction':'NORTH','targetRoom':a57i(0x174),'keyRequired':'Golden\x20Key'},{'direction':a57i(0x1a7),'targetRoom':a57i(0x14d)}]},{'name':a57i(0x174),'description':'A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','items':[{'type':a57i(0x168),'name':a57i(0x14f),'description':a57i(0x1b7)}]},{'name':a57i(0x14d),'description':a57i(0x19e),'roomType':a57i(0x143),'exits':[{'direction':'UP','targetRoom':a57i(0x16d)}]},{'name':a57i(0x16d),'description':a57i(0x16c),'roomType':'OUTSIDE','puzzle':{'requiredPhrase':a57i(0x14e),'riddle':a57i(0x1af),'rewardItem':{'type':'rifle','name':'Sniper\x20Rifle','description':a57i(0x1a4)},'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':a57i(0x17d)}}];export const dungeonConfig=[{'name':a57i(0x173),'description':a57i(0x19a),'isStartRoom':!![],'roomType':a57i(0x17a),'puzzle':{'requiredPhrase':a57i(0x170),'riddle':a57i(0x17e),'rewardItem':{'type':a57i(0x191),'name':a57i(0x19f),'description':a57i(0x177)},'successMessage':a57i(0x141),'failureMessage':a57i(0x181)},'exits':[{'direction':a57i(0x1b2),'targetRoom':a57i(0x183)},{'direction':'east','targetRoom':a57i(0x165),'keyRequired':a57i(0x19f)}]},{'name':'Study','description':a57i(0x144),'roomType':a57i(0x17a),'items':[{'type':'book','name':a57i(0x180),'description':'A\x20book\x20containing\x20a\x20mysterious\x20riddle.','content':'When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!'},{'type':a57i(0x191),'name':a57i(0x19f),'description':a57i(0x177)}],'exits':[{'direction':a57i(0x1a6),'targetRoom':'Entrance\x20Hall'},{'direction':a57i(0x172),'targetRoom':a57i(0x19b)}]},{'name':a57i(0x19b),'description':'A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','roomType':a57i(0x17a),'items':[{'type':a57i(0x163),'name':'Empty\x20vial','description':a57i(0x1ad)}],'exits':[{'direction':a57i(0x179),'targetRoom':a57i(0x183)},{'direction':a57i(0x1b2),'targetRoom':a57i(0x1ab)}]},{'name':a57i(0x1ab),'description':a57i(0x1a5),'roomType':a57i(0x17a),'items':[{'type':'shield','name':a57i(0x190),'description':a57i(0x15a)},{'type':a57i(0x18f),'name':'Rusted\x20Sword','description':a57i(0x1a2)}],'exits':[{'direction':a57i(0x1a6),'targetRoom':a57i(0x19b)},{'direction':a57i(0x172),'targetRoom':a57i(0x165)}]},{'name':a57i(0x165),'description':a57i(0x189),'roomType':a57i(0x17a),'exits':[{'direction':a57i(0x179),'targetRoom':a57i(0x1ab)},{'direction':a57i(0x1a6),'targetRoom':a57i(0x173)},{'direction':a57i(0x1b2),'targetRoom':'Torture\x20Chamber'},{'direction':a57i(0x172),'targetRoom':a57i(0x174)}]},{'name':a57i(0x16b),'description':a57i(0x167),'roomType':a57i(0x17a),'items':[{'type':a57i(0x191),'name':a57i(0x15c),'description':'A\x20key\x20stained\x20with\x20old\x20blood.'}],'puzzle':{'requiredPhrase':a57i(0x151),'riddle':'Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','rewardItem':{'type':a57i(0x185),'name':'Ancient\x20Gem','description':a57i(0x184)},'successMessage':a57i(0x148),'failureMessage':a57i(0x1b5)},'exits':[{'direction':a57i(0x1a6),'targetRoom':a57i(0x165)}]},{'name':a57i(0x174),'description':'Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','roomType':'inside','puzzle':{'requiredPhrase':a57i(0x1aa),'riddle':a57i(0x18c),'rewardItem':{'type':'cup','name':'Golden\x20Chalice','description':a57i(0x1a1)},'successMessage':a57i(0x18e),'failureMessage':'The\x20chest\x20remains\x20firmly\x20shut.'},'exits':[{'direction':a57i(0x179),'targetRoom':a57i(0x165)}]}];function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x13e;let f=c[d];return f;},a57d(a,b);}export const shadowrunConfig=[{'name':a57i(0x186),'description':a57i(0x198),'isStartRoom':!![],'roomType':a57i(0x17a),'exits':[{'direction':a57i(0x1b2),'targetRoom':a57i(0x16a)},{'direction':'up','targetRoom':'Matrix\x20Data\x20Haven'}]},{'name':a57i(0x161),'description':a57i(0x16e),'roomType':a57i(0x17a),'puzzle':{'requiredPhrase':'decrypt','riddle':a57i(0x1b3),'rewardItem':{'type':a57i(0x191),'name':a57i(0x195),'description':a57i(0x1ac)},'successMessage':a57i(0x199),'failureMessage':a57i(0x18a)},'exits':[{'direction':a57i(0x17f),'targetRoom':a57i(0x186)}]},{'name':a57i(0x16a),'description':a57i(0x166),'roomType':'outside','exits':[{'direction':'south','targetRoom':a57i(0x186)},{'direction':a57i(0x172),'targetRoom':a57i(0x193)},{'direction':'west','targetRoom':a57i(0x19c)}]},{'name':a57i(0x193),'description':a57i(0x187),'roomType':'outside','puzzle':{'requiredPhrase':a57i(0x1b8),'riddle':'To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','rewardItem':{'type':'key','name':a57i(0x13e),'description':a57i(0x16f)},'successMessage':a57i(0x15d),'failureMessage':a57i(0x152)},'exits':[{'direction':a57i(0x179),'targetRoom':a57i(0x16a)},{'direction':a57i(0x1b2),'targetRoom':'Barrens\x20Hideout'}]},{'name':'Corp\x20Enclave','description':a57i(0x1ae),'roomType':'inside','items':[{'type':a57i(0x1a3),'name':a57i(0x15e),'description':a57i(0x146)},{'type':a57i(0x155),'name':'CorpSec\x20Plans','description':a57i(0x171)}],'exits':[{'direction':'east','targetRoom':a57i(0x16a)}]},{'name':a57i(0x197),'description':a57i(0x182),'roomType':a57i(0x147),'items':[{'type':a57i(0x160),'name':'Ares\x20Predator','description':a57i(0x169)}],'exits':[{'direction':a57i(0x1a6),'targetRoom':a57i(0x193)},{'direction':a57i(0x1b2),'targetRoom':a57i(0x17b)},{'direction':'east','targetRoom':a57i(0x188)}]},{'name':a57i(0x17b),'description':'A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','roomType':a57i(0x17a),'puzzle':{'requiredPhrase':a57i(0x14b),'riddle':a57i(0x153),'rewardItem':{'type':a57i(0x18b),'name':a57i(0x1b0),'description':'A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.'},'successMessage':a57i(0x15b),'failureMessage':'The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.'},'exits':[{'direction':a57i(0x1a6),'targetRoom':'Barrens\x20Hideout'}]},{'name':a57i(0x188),'description':a57i(0x145),'roomType':'inside','items':[{'type':a57i(0x15f),'name':a57i(0x1b1),'description':'A\x20small\x20surveillance\x20drone.'}],'exits':[{'direction':a57i(0x179),'targetRoom':'Barrens\x20Hideout'}]}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a58h=a58d;(function(a,b){var f=a58d,c=a();while(!![]){try{var d=parseInt(f(0xed))/0x1+-parseInt(f(0xf5))/0x2*(parseInt(f(0xe2))/0x3)+-parseInt(f(0xfd))/0x4+parseInt(f(0xf9))/0x5+parseInt(f(0xf7))/0x6*(parseInt(f(0xfa))/0x7)+parseInt(f(0xe4))/0x8+-parseInt(f(0xe8))/0x9*(parseInt(f(0xf6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x2322f));var a58b=(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;};}()),a58a=a58b(this,function(){var g=a58d;return a58a['toString']()[g(0xf0)](g(0xdc))[g(0xeb)]()[g(0xef)](a58a)['search'](g(0xdc));});a58a();import{EventEmitter}from'events';export class AbstractScene{[a58h(0xe7)];[a58h(0xf2)];['logger'];[a58h(0xde)];}function a58c(){var i=['weight','isLocked','solved','(((.+)+)+)+$','inventory','characterLocations','isStartRoom','_playerName','logger','747AvvWxG','isLockable','1361832GfpHbs','rating','_maxCarryingWeight','rooms','54jgEEpx','description','category','toString','_inventory','134100vSdfxB','unlockItemOrSolution','constructor','search','color','player','texture','name','324XykItY','555820zKCKAk','149574ugZXdq','roomType','97780BnPglu','70WRjToC','uuid','roomA','221704WTJLke'];a58c=function(){return i;};return a58c();}function a58d(a,b){var c=a58c();return a58d=function(d,e){d=d-0xdb;var f=c[d];return f;},a58d(a,b);}export class AbstractRoom extends EventEmitter{[a58h(0xf4)];[a58h(0xe9)];['exits'];[a58h(0xdd)];['puzzle'];[a58h(0xf8)];[a58h(0xdf)];}export class AbstractDoor{[a58h(0xfc)];['roomB'];[a58h(0xff)];[a58h(0xee)];['name'];[a58h(0xe1)];[a58h(0xe3)];}export class AbstractInventory{['items'];[a58h(0xe1)];}export class AbstractItem{[a58h(0xfb)];[a58h(0xf4)];[a58h(0xe9)];['size'];[a58h(0xea)];['shape'];[a58h(0xf1)];[a58h(0xf3)];[a58h(0xe5)];[a58h(0xfe)];}export class AbstractPlayer{[a58h(0xe0)];['_currentLocation'];[a58h(0xec)];['_equipment'];[a58h(0xe6)];['_logger'];}export class AbstractPuzzle{[a58h(0xe1)];[a58h(0xdb)];}
|