nexmap 2.2.5 → 2.2.6

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/nexMap3.nxs CHANGED
@@ -1 +1 @@
1
- {"type":"group","name":"nexMap3","enabled":true,"items":[{"type":"function","name":"__meta","enabled":true,"code":"{\n\t\"description\": \"nexMap Crowdmap\",\n \"version\": \"2.2.5\",\n \"website\": \"https://nexusunleashed.github.io/nex-files/\",\n \"dependencies\": [\n \"eventStream3\"\n ]\n}"},{"type":"function","name":"README","enabled":true,"code":"/***************************************************************************************************\n\nPackage: nexMap3 for Nexus 3.0\nVersion: 2.2.5\nBy: Khaseem (Achaea)\n\nnexMap3 improves the functionality of the Nexus client by allowing \nusers to utilize the mudlet community map! See areas previously unmapped\nin Nexus. Pathing that can use wormholes, wings, and grates, exceed the 100 \nroom limit, and more.\n\n****************************************************************************************************\n\n\n***************************************************************************************************/"},{"type":"function","name":"SCRATCH","enabled":true,"code":"//"},{"type":"function","name":"onInstall","enabled":true,"code":"nexusclient.reflexes().run_function('onLoad', {}, 'nexMap3');\nconst np = nexusclient.packages();\nif (!np.exists('eventStream3')) {\n fetch(`https://unpkg.com/nexevent/eventStream3.nxs`, { cache: \"no-store\" })\n .then((r) => r.json())\n .then((d) => {\n const p = np.create('eventStream3', 'placeholder');\n p.name = \"eventStream3\";\n const i = np.exists('eventStream3');\n np.move(i - 1, 1);\n np\n .get(\"eventStream3\")\n .apply(d, nexusclient.reflexes());\n setTimeout(()=>{\n nexusclient.reflexes().run_function('onLoad', {}, 'eventStream3');\n },0)\n });\n}"},{"type":"function","name":"onLoad","enabled":true,"code":"/* global nexusclient */\nglobalThis.React ??= nexusclient.platform().React;\nglobalThis.ReactDOM ??= nexusclient.platform().ReactDOM;\n\ndelete nexMap;\nif (typeof cy !== 'undefined') {\n cyDisplay.destroy();\n delete cyDisplay;\n}\n\nnexusclient.reflexes().disable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Aliases\", false, false, \"nexMap3\"));\nnexusclient.reflexes().disable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Triggers\", false, false, \"nexMap3\"));"},{"type":"function","name":"esLoad","enabled":true,"code":"//return;\nimport('https://unpkg.com/nexmap/nexmap.min.js').then(() => {\n if (nexusclient.variables().get('nexMapSettings').loadOnLogin) {\n nexMap.aliases.load();\n\tnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Aliases\", false, false, \"nexMap3\"));\n\tnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Triggers\", false, false, \"nexMap3\"));\n }\n});"},{"type":"alias","name":"nm load","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (typeof nexMap === 'undefined') { return; }\nnexMap.aliases.load();\n\nnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Aliases\", false, false, \"nexMap3\"));\nnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Triggers\", false, false, \"nexMap3\"));"}],"text":"nm load","matching":"exact","whole_words":true,"case_sensitive":true,"prefix_suffix":true},{"type":"function","name":"SystemLoaded","enabled":false,"code":"nexMap.aliases.load();"},{"type":"function","name":"onGMCP","enabled":false,"code":"if (typeof nexMap === 'undefined') { return; }\n\nglobalThis.nexMap.onGMCP(args.gmcp_method, args.gmcp_args);"},{"type":"group","name":"Aliases","enabled":true,"actions":[],"items":[{"type":"alias","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexMap.display.userCommands();"}],"text":"nm","matching":"exact","whole_words":true,"case_sensitive":true,"prefix_suffix":true},{"type":"alias","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// For a full list of alias commands use \"nm\" in game.\n\nnexMap.aliases.call(args[1], args[2] ? args[2] : false)"}],"text":"^nm (\\w+)\\s?(.+)?$","matching":"regexp","whole_words":true,"case_sensitive":true,"prefix_suffix":true}]},{"type":"group","name":"Triggers","enabled":true,"actions":[],"items":[{"type":"group","name":"Farsee","enabled":true,"actions":[],"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//nexusclient.current_line.gag = true;"}],"text":"^You close your eyes momentarily and extend the range of your vision, seeking out the presence of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.farseeArea(args[1], args[2])) {\n //nexusclient.current_line.gag = true;\n}"}],"text":"^Though too far away to accurately perceive details, you see that (\\w+) is in ((the)?.+)\\.","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.farseeLocal(args[1], args[2])) {\n //nexusclient.current_line.gag = true;\n}"}],"text":"^You see that (\\w+) is at (.+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Blockers","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}\n/*\nif (nexMap.walker.pathing) {\n nexusclient.send_commands(`mountjump ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}|leap ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}`);\n}\n*/"}],"text":"^\\w+ stops you from moving that way\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}"}],"text":"^\\w+ stops you from leaving\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}"}],"text":"A wall bars your path.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}\n\n/*\nnexusclient.send_commands(`mountjump ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}|leap ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}`);\n*/"}],"text":"A rajamala slaver stops you from moving that way.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Universe","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.current_line.gag = true;\nif (GMCP.Items.room.find(e => e.name === \"a shimmering map of Sapience\")) {\n const index = nexMap.walker.pathRooms.indexOf(\"universe\");\n nexusclient.send_commands(`queue add free ${nexMap.walker.pathCommands[index]}`);\n} else {\n //nexSys.freeQueue.add('fling universe at ground');\n nexusclient.send_commands(`queue add free fling universe at ground`);\n}"}],"text":"nexMapUniverse","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 3","enabled":false,"actions":[{"type":"script","enabled":true,"script":""}],"text":"The shimmering map folds up and vanishes into the ether.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//A shimmering, translucent image rises up before you, its glittering surface displaying the verdant grasslands, soaring mountains, sprawling settlements and deep blue seas of Sapience.\nif (!nexMap.walker.pathing) { return ;}\n\nconst index = nexMap.walker.pathRooms.findIndex(e => e.includes(\"universe\"));\nif (index > -1) {\n nexusclient.send_commands(`queue add free ${nexMap.walker.pathCommands[index]}`);\n}"}],"text":"A shimmering, translucent image rises up before you, its glittering surface displaying the verdant grasslands, soaring mountains, sprawling settlements and deep blue seas of Sapience.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 4","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//A shimmering, translucent image rises up before you, its glittering surface displaying the verdant grasslands, soaring mountains, sprawling settlements and deep blue seas of Sapience.\nif (nexMap.walker.pathing) {\n nexusclient.send_commands('x');\n}\n"}],"text":"There is no map here to touch.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 1","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// TODO: fix this.\n//This is an ugly hack. We should not be modifying a GMCP value like this.\n//Universe map spawn is variable, sometimes it will appear before balance is gained, sometimes after.\n//If balance returns before the map appears, nexMap will attempt to throw another universe card.\nGMCP.Location.id = \"universe\";"}],"text":"You fling the card at the ground, and it vanishes into the earth in a spark of magic.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Yggdrasil","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n nexMap.walker.pathing = false;\n /* // This could substitute for the fires consume trigger.\n eventStream.registerEvent(\"Room.Info\", () => {\n if (nexMap.walker.destination) {\n nexMap.walker.pathing = true;\n nexMap.walker.step();\n }\n }, true);\n */\n}\n\nnexusclient.send_commands(\"queue add free diag\");\nsetTimeout(() => {\n nexusclient.send_commands('outr potash|eat potash|sip health');\n}, 7000-GMCP.PingTime+100)"}],"text":"Taking a deep breath, you stride towards the undying Flame of the World Tree, which flickers as you offer it your embrace.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.destination) {\n nexMap.walker.pathing = true;\n nexMap.walker.step();\n}"}],"text":"As the fires consume your body, your thoughts blur in a single instant, and a dazzling spectrum of images begins to dance and flicker at the edges of your mortal mind.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if ([52545, 51784, 52144, 45902].includes(nexMap.status.currentRoom)) {\n nexusclient.send_commands('out|fly');\n nexusclient.send_commands(\"queue add free x\");\n} else if (nexMap.status.currentRoom === 45182) {\n nexusclient.send_commands('fly');\n nexusclient.send_commands(\"queue add free x\");\n} else if (nexMap.status.currentRoom === 54133) {\n //nexusclient.send_commands(\"u|fly\");\n //nexusclient.send_commands(\"queue add free x\");\n setTimeout(()=>{nexusclient.send_commands('fly')}, 1000);\n}\nconsole.log(JSON.stringify(GMCP.Room.Info));"}],"text":"When vision returns, you find yourself alone beside the very same Flame of the World Tree, yet in your heart you know this is not the world you have left behind.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.destination) {\n nexMap.walker.pathing = true;\n nexMap.walker.step();\n}"}],"text":"You find the Flame rejects your weakened form, leaving you back where you stood.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Nur Rift Exit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (GMCP.Location.id === 45182) { \n\tnexusclient.send_commands('fly');\n\tnexusclient.send_commands(`queue add free x`);\n} else {\n nexMap.updateNurExit(GMCP.Location.id);\n}\n"}],"text":"^No sooner does your hand touch against the sizzling maw of a planar tear than do you feel yourself violently yanked within, a scream of pained fury and primordial extinction tearing through your form as you are hurled bodily across the worldly gap to be expelled, violently, from the other side\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const nurTimer = setTimeout(()=>{\n nexusclient.send_commands('x')\n }, 300)\n eventStream.registerEvent(\"Room.Info\", ()=>{\n clearTimeout(nurTimer);\n }, true);\n}"}],"text":"Entering a rune-marked archway, you feel your form grow light, a sense of translucence and sudden speed filling your being as a sense of immeasurable distance accompanies your every step. The sensation soon passes, your form intensifying to flesh and blood once more as you emerge elsewhere.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Wings","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"clearInterval(nexMap.wingsTimer);\n\nnexMap.wingsTimer = setInterval(()=>{\n nexusclient.send_commands(`x${nexMap.settings.userPreferences.commandSeparator}echo wingsTimer`);\n}, 1000);"}],"text":"^You say .+, \"Duanathar\\.\"$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"clearInterval(nexMap.wingsTimer);"}],"text":"You quickly utter \"Duanathar\" and your wings flare with power before swiftly carrying you up to on the clouds.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (!nexMap.walker.pathing) { return; }\n\nif (nexMap.walker.destination) {\n nexMap.settings.toggleLowClouds(false);\n nexMap.walker.speedWalk(nexMap.currentRoom, nexMap.walker.destination);\n clearInterval(nexMap.wingsTimer);\n nexMap.settings.toggleLowClouds(true);\n}"}],"text":"A shimmering orb covers the city, preventing you from rising to the skies.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (!nexMap.walker.pathing) { return; }\n\nif (nexMap.walker.destination) {\n nexMap.settings.toggleLowClouds(false);\n nexMap.walker.speedWalk(nexMap.currentRoom, nexMap.walker.destination);\n clearInterval(nexMap.wingsTimer);\n nexMap.settings.toggleLowClouds(true);\n}"}],"text":"A shimmering orb covers this property, preventing you from rising to the skies.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Knocker","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.current_line.gag = true;\nif (GMCP.Items.room.find(e => e.name === \"a massive iron doorway\")) {\n nexusclient.send_commands(\"enter doorway\");\n} else {\n //nexSys.freeQueue.add('fling universe at ground');\n nexusclient.send_commands(`queue add free raise knocker`);\n nexAction.triggers.enable('nexMapKnocker');\n}"}],"text":"nexMapKnocker","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":false,"actions":[],"text":"You raise a macabre door knocker and with a grinding rumble a great door of black iron rises from the ground to loom before you.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":false,"actions":[],"text":"With a groaning sound, the great iron door swings ponderously open.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"command","enabled":true,"command":"land"}],"text":"You must be on the ground to enter an indoors location - you cease walking your path.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.send_commands('x');"}],"text":"You have gone off-course and stop walking toward your goal.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.send_commands('diag');"}],"text":"Your physical state does not permit the harnessing of the windstreams.","matching":"exact","whole_words":true,"case_sensitive":true}]}],"description":"Khaseem's Mudlet crowdmap in Nexus 3.0"}
1
+ {"type":"group","name":"nexMap3","enabled":true,"items":[{"type":"function","name":"__meta","enabled":true,"code":"{\n\t\"description\": \"nexMap Crowdmap\",\n \"version\": \"2.2.6\",\n \"website\": \"https://nexusunleashed.github.io/nex-files/\",\n \"dependencies\": [\n \"eventStream3\"\n ]\n}"},{"type":"function","name":"README","enabled":true,"code":"/***************************************************************************************************\n\nPackage: nexMap3 for Nexus 3.0\nVersion: 2.0.6\nBy: Khaseem (Achaea)\n\nnexMap3 improves the functionality of the Nexus client by allowing \nusers to utilize the mudlet community map! See areas previously unmapped\nin Nexus. Pathing that can use wormholes, wings, and grates, exceed the 100 \nroom limit, and more.\n\n****************************************************************************************************\n\n\n***************************************************************************************************/"},{"type":"function","name":"SCRATCH","enabled":true,"code":"//"},{"type":"function","name":"onInstall","enabled":true,"code":"nexusclient.reflexes().run_function('onLoad', {}, 'nexMap3');\nconst np = nexusclient.packages();\nif (!np.exists('eventStream3')) {\n fetch(`https://unpkg.com/nexevent/eventStream3.nxs`, { cache: \"no-store\" })\n .then((r) => r.json())\n .then((d) => {\n const p = np.create('eventStream3', 'placeholder');\n p.name = \"eventStream3\";\n const i = np.exists('eventStream3');\n np.move(i - 1, 1);\n np\n .get(\"eventStream3\")\n .apply(d, nexusclient.reflexes());\n setTimeout(()=>{\n nexusclient.reflexes().run_function('onLoad', {}, 'eventStream3');\n },0)\n });\n}"},{"type":"function","name":"onLoad","enabled":true,"code":"/* global nexusclient */\nglobalThis.React ??= nexusclient.platform().React;\nglobalThis.ReactDOM ??= nexusclient.platform().ReactDOM;\n\ndelete nexMap;\nif (typeof cy !== 'undefined') {\n cyDisplay.destroy();\n delete cyDisplay;\n}\n\nnexusclient.reflexes().disable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Aliases\", false, false, \"nexMap3\"));\nnexusclient.reflexes().disable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Triggers\", false, false, \"nexMap3\"));"},{"type":"function","name":"esLoad","enabled":true,"code":"//return;\nimport('https://unpkg.com/nexmap/nexmap.min.js').then(() => {\n if (nexusclient.variables().get('nexMapSettings').loadOnLogin) {\n nexMap.aliases.load();\n\tnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Aliases\", false, false, \"nexMap3\"));\n\tnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Triggers\", false, false, \"nexMap3\"));\n }\n});"},{"type":"alias","name":"nm load","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (typeof nexMap === 'undefined') { return; }\nnexMap.aliases.load();\n\nnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Aliases\", false, false, \"nexMap3\"));\nnexusclient.reflexes().enable_reflex(nexusclient.reflexes().find_by_name(\"group\", \"Triggers\", false, false, \"nexMap3\"));"}],"text":"nm load","matching":"exact","whole_words":true,"case_sensitive":true,"prefix_suffix":true},{"type":"function","name":"SystemLoaded","enabled":false,"code":"nexMap.aliases.load();"},{"type":"function","name":"onGMCP","enabled":false,"code":"if (typeof nexMap === 'undefined') { return; }\n\nglobalThis.nexMap.onGMCP(args.gmcp_method, args.gmcp_args);"},{"type":"group","name":"Aliases","enabled":true,"actions":[],"items":[{"type":"alias","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexMap.display.userCommands();"}],"text":"nm","matching":"exact","whole_words":true,"case_sensitive":true,"prefix_suffix":true},{"type":"alias","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// For a full list of alias commands use \"nm\" in game.\n\nnexMap.aliases.call(args[1], args[2] ? args[2] : false)"}],"text":"^nm (\\w+)\\s?(.+)?$","matching":"regexp","whole_words":true,"case_sensitive":true,"prefix_suffix":true}]},{"type":"group","name":"Triggers","enabled":true,"actions":[],"items":[{"type":"group","name":"Farsee","enabled":true,"actions":[],"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//nexusclient.current_line.gag = true;"}],"text":"^You close your eyes momentarily and extend the range of your vision, seeking out the presence of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.farseeArea(args[1], args[2])) {\n //nexusclient.current_line.gag = true;\n}"}],"text":"^Though too far away to accurately perceive details, you see that (\\w+) is in ((the)?.+)\\.","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexMap.farseeLocal(args[1], args[2])"}],"text":"^You see that (\\w+) is at (.+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"VeilFarsee","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexMap.farseeLocal(args[1], args[2]);\n"}],"text":"^You see that (\\w+) is located at (.+) in (.+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Blockers","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}\n/*\nif (nexMap.walker.pathing) {\n nexusclient.send_commands(`mountjump ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}|leap ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}`);\n}\n*/"}],"text":"^.+ stops you from moving that way\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}"}],"text":"^\\w+ stops you from leaving\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}"}],"text":"A wall bars your path.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`mountjump ${nextDirection}|leap ${nextDirection}`);\n nexusclient.send_commands(\n `mountjump ${nextDirection}|leap ${nextDirection}`\n );\n }\n}\n\n/*\nnexusclient.send_commands(`mountjump ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}|leap ${nexMap.walker.pathRawCommands[nexMap.walker.pathRawRooms.indexOf(GMCP.Room.Info.num.toString())]}`);\n*/"}],"text":"A rajamala slaver stops you from moving that way.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":false,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const currentIndex = nexMap.walker.pathRawRooms.indexOf(\n GMCP.Room.Info.num.toString()\n );\n const nextRoom = nexMap.walker.pathRawRooms[currentIndex + 1];\n const nextDirection = Object.keys(GMCP.Room.Info.exits).find(\n (key) => GMCP.Room.Info.exits[key] === parseInt(nextRoom)\n );\n if (nextDirection) {\n console.log(`${nexSys.haveDef('mounted') ? \"gallop\" : \"dash\"} ${nextDirection} 1`);\n nexusclient.send_commands(\n `${nexSys.haveDef('mounted') ? \"gallop\" : \"dash\"} ${nextDirection} 1`\n );\n }\n}"}],"text":"You begin to slowly clamber over the rubble that blocks your way.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Universe","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.current_line.gag = true;\nif (GMCP.Items.room.find(e => e.name === \"a shimmering map of Sapience\")) {\n const index = nexMap.walker.pathRooms.indexOf(\"universe\");\n nexusclient.send_commands(`queue add free ${nexMap.walker.pathCommands[index]}`);\n} else {\n //nexSys.freeQueue.add('fling universe at ground');\n nexusclient.send_commands(`queue add free fling universe at ground`);\n}"}],"text":"nexMapUniverse","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 3","enabled":false,"actions":[{"type":"script","enabled":true,"script":""}],"text":"The shimmering map folds up and vanishes into the ether.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//A shimmering, translucent image rises up before you, its glittering surface displaying the verdant grasslands, soaring mountains, sprawling settlements and deep blue seas of Sapience.\nif (!nexMap.walker.pathing) { return ;}\n\nconst index = nexMap.walker.pathRooms.findIndex(e => e.includes(\"universe\"));\nif (index > -1) {\n nexusclient.send_commands(`queue add free ${nexMap.walker.pathCommands[index]}`);\n}"}],"text":"A shimmering, translucent image rises up before you, its glittering surface displaying the verdant grasslands, soaring mountains, sprawling settlements and deep blue seas of Sapience.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 4","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//A shimmering, translucent image rises up before you, its glittering surface displaying the verdant grasslands, soaring mountains, sprawling settlements and deep blue seas of Sapience.\nif (nexMap.walker.pathing) {\n nexusclient.send_commands('x');\n}\n"}],"text":"There is no map here to touch.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Universe Tarot 1","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// TODO: fix this.\n//This is an ugly hack. We should not be modifying a GMCP value like this.\n//Universe map spawn is variable, sometimes it will appear before balance is gained, sometimes after.\n//If balance returns before the map appears, nexMap will attempt to throw another universe card.\nGMCP.Location.id = \"universe\";"}],"text":"You fling the card at the ground, and it vanishes into the earth in a spark of magic.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Yggdrasil","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n nexMap.walker.pathing = false;\n /* // This could substitute for the fires consume trigger.\n eventStream.registerEvent(\"Room.Info\", () => {\n if (nexMap.walker.destination) {\n nexMap.walker.pathing = true;\n nexMap.walker.step();\n }\n }, true);\n */\n}\n\nnexusclient.send_commands(\"queue add free diag\");\nsetTimeout(() => {\n nexusclient.send_commands('outr potash|eat potash|sip health');\n}, 7000-GMCP.PingTime+100)"}],"text":"Taking a deep breath, you stride towards the undying Flame of the World Tree, which flickers as you offer it your embrace.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.destination) {\n nexMap.walker.pathing = true;\n nexMap.walker.step();\n}"}],"text":"As the fires consume your body, your thoughts blur in a single instant, and a dazzling spectrum of images begins to dance and flicker at the edges of your mortal mind.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if ([52545, 51784, 52144, 45902].includes(nexMap.status.currentRoom)) {\n nexusclient.send_commands('out|fly');\n nexusclient.send_commands(\"queue add free x\");\n} else if (nexMap.status.currentRoom === 45182) {\n nexusclient.send_commands('fly');\n nexusclient.send_commands(\"queue add free x\");\n} else if (nexMap.status.currentRoom === 54133) {\n //nexusclient.send_commands(\"u|fly\");\n //nexusclient.send_commands(\"queue add free x\");\n setTimeout(()=>{nexusclient.send_commands('fly')}, 1000);\n}\nconsole.log(JSON.stringify(GMCP.Room.Info));"}],"text":"When vision returns, you find yourself alone beside the very same Flame of the World Tree, yet in your heart you know this is not the world you have left behind.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.destination) {\n nexMap.walker.pathing = true;\n nexMap.walker.step();\n}"}],"text":"You find the Flame rejects your weakened form, leaving you back where you stood.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Nur Rift Exit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (GMCP.Location.id === 45182) { \n\tnexusclient.send_commands('fly');\n\tnexusclient.send_commands(`queue add free x`);\n} else {\n nexMap.updateNurExit(GMCP.Location.id);\n}\n"}],"text":"^No sooner does your hand touch against the sizzling maw of a planar tear than do you feel yourself violently yanked within, a scream of pained fury and primordial extinction tearing through your form as you are hurled bodily across the worldly gap to be expelled, violently, from the other side\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing) {\n const nurTimer = setTimeout(()=>{\n nexusclient.send_commands('x')\n }, 300)\n eventStream.registerEvent(\"Room.Info\", ()=>{\n clearTimeout(nurTimer);\n }, true);\n}"}],"text":"Entering a rune-marked archway, you feel your form grow light, a sense of translucence and sudden speed filling your being as a sense of immeasurable distance accompanies your every step. The sensation soon passes, your form intensifying to flesh and blood once more as you emerge elsewhere.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Wings","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"clearInterval(nexMap.wingsTimer);\n\nnexMap.wingsTimer = setInterval(()=>{\n nexusclient.send_commands(`x${nexMap.settings.userPreferences.commandSeparator}echo wingsTimer`);\n}, 1000);"}],"text":"^You say .+, \"Duanathar\\.\"$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"clearInterval(nexMap.wingsTimer);"}],"text":"You quickly utter \"Duanathar\" and your wings flare with power before swiftly carrying you up to on the clouds.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (!nexMap.walker.pathing) { return; }\n\nif (nexMap.walker.destination) {\n nexMap.settings.toggleLowClouds(false);\n nexMap.walker.speedWalk(nexMap.currentRoom, nexMap.walker.destination);\n clearInterval(nexMap.wingsTimer);\n nexMap.settings.toggleLowClouds(true);\n}"}],"text":"A shimmering orb covers the city, preventing you from rising to the skies.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (!nexMap.walker.pathing) { return; }\n\nif (nexMap.walker.destination) {\n nexMap.settings.toggleLowClouds(false);\n nexMap.walker.speedWalk(nexMap.currentRoom, nexMap.walker.destination);\n clearInterval(nexMap.wingsTimer);\n nexMap.settings.toggleLowClouds(true);\n}"}],"text":"A shimmering orb covers this property, preventing you from rising to the skies.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Knocker","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.current_line.gag = true;\nif (GMCP.Items.room.find(e => e.name === \"a massive iron doorway\")) {\n nexusclient.send_commands(\"enter doorway\");\n} else {\n //nexSys.freeQueue.add('fling universe at ground');\n nexusclient.send_commands(`queue add free raise knocker`);\n nexAction.triggers.enable('nexMapKnocker');\n}"}],"text":"nexMapKnocker","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":false,"actions":[],"text":"You raise a macabre door knocker and with a grinding rumble a great door of black iron rises from the ground to loom before you.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":false,"actions":[],"text":"With a groaning sound, the great iron door swings ponderously open.","matching":"exact","whole_words":true,"case_sensitive":true}]},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"command","enabled":true,"command":"land"}],"text":"You must be on the ground to enter an indoors location - you cease walking your path.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.send_commands('x');"}],"text":"You have gone off-course and stop walking toward your goal.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"nexusclient.send_commands('diag');"}],"text":"Your physical state does not permit the harnessing of the windstreams.","matching":"exact","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (nexMap.walker.pathing && nexSys.haveDef('flying')) {\n nexusclient.send_commands('land');\n}"}],"text":"There is no wormhole here.","matching":"exact","whole_words":true,"case_sensitive":true}]}],"description":"Khaseem's Mudlet crowdmap in Nexus 3.0"}
@@ -13,7 +13,7 @@
13
13
  "type": "function",
14
14
  "name": "README",
15
15
  "enabled": true,
16
- "code": "/***************************************************************************************************\\n\\nPackage: nexMap3 for Nexus 3.0\\nVersion: 2.2.5\\nBy: Khaseem (Achaea)\\n\\nnexMap3 improves the functionality of the Nexus client by allowing \\nusers to utilize the mudlet community map! See areas previously unmapped\\nin Nexus. Pathing that can use wormholes, wings, and grates, exceed the 100 \\nroom limit, and more.\\n\\n****************************************************************************************************\\n\\n\\n***************************************************************************************************/"
16
+ "code": "/***************************************************************************************************\\n\\nPackage: nexMap3 for Nexus 3.0\\nVersion: 2.2.6\\nBy: Khaseem (Achaea)\\n\\nnexMap3 improves the functionality of the Nexus client by allowing \\nusers to utilize the mudlet community map! See areas previously unmapped\\nin Nexus. Pathing that can use wormholes, wings, and grates, exceed the 100 \\nroom limit, and more.\\n\\n****************************************************************************************************\\n\\n\\n***************************************************************************************************/"
17
17
  },
18
18
  {
19
19
  "type": "function",