diff --git a/src/resources/nodes.json b/src/resources/nodes.json index 98c8bbe..63a26ac 100644 --- a/src/resources/nodes.json +++ b/src/resources/nodes.json @@ -2465,5 +2465,79 @@ 45 ] } + }, + "Höllvania": { + "SolNode850": { + "name": "Köbinn West", + "type": 40, + "faction": 9, + "lvl": [ + 65, + 70 + ] + }, + "SolNode851": { + "name": "Mischta Ramparts", + "type": 2, + "faction": 8, + "lvl": [ + 65, + 70 + ] + }, + "SolNode852": { + "name": "Old Konderuk", + "type": 2, + "faction": 9, + "lvl": [ + 65, + 70 + ] + }, + "SolNode853": { + "name": "Mausoleum East", + "type": 1, + "faction": 8, + "lvl": [ + 65, + 70 + ] + }, + "SolNode854": { + "name": "Rhu Manor", + "type": 1, + "faction": 9, + "lvl": [ + 65, + 70 + ] + }, + "SolNode855": { + "name": "Lower Vehrvod", + "type": 42, + "faction": 8, + "lvl": [ + 65, + 70 + ] + }, + "SolNode857": { + "name": "Vehrvod District", + "type": 42, + "faction": 8, + "lvl": [ + 65, + 70 + ] + }, + "SolNode856": { + "name": "Victory Plaza", + "type": 0, + "faction": 8, + "lvl": [ + 65, + 70 + ] + } } } \ No newline at end of file diff --git a/src/utils/nodes.js b/src/utils/nodes.js index 140d054..5450651 100644 --- a/src/utils/nodes.js +++ b/src/utils/nodes.js @@ -72,8 +72,9 @@ export const missionIndexMap = [ undefined, "Alchemy", undefined, - undefined, - "Shrine Defense" + "Legacyte Harvest", + "Shrine Defense", + "Faceoff" ]; export const factionIndexMap = [ @@ -84,7 +85,9 @@ export const factionIndexMap = [ undefined, "Sentient", undefined, - "Murmur" + "Murmur", + "Scaldra", + "Techrot" ]; export const nodeShape = { diff --git a/updater/update_nodes.mjs b/updater/update_nodes.mjs index a445d9f..414a53b 100644 --- a/updater/update_nodes.mjs +++ b/updater/update_nodes.mjs @@ -26,9 +26,22 @@ const newNodes = { "Kuva Fortress": {}, Zariman: {}, Duviri: {}, - Void: {} + Void: {}, + "Höllvania": {} }; +// ExportRegions has incorrect node names for Höllvania +const hollvaniaNodeNames = { + "SolNode850": "Köbinn West", + "SolNode851": "Mischta Ramparts", + "SolNode852": "Old Konderuk", + "SolNode853": "Mausoleum East", + "SolNode854": "Rhu Manor", + "SolNode855": "Lower Vehrvod", + "SolNode856": "Victory Plaza", + "SolNode857": "Vehrvod District", +} + rawNodes.forEach(rawNode => { if (!newNodes[rawNode.systemName]) { throw new Error("Unknown Planet: " + rawNode.systemName); @@ -38,7 +51,7 @@ rawNodes.forEach(rawNode => { } newNodes[rawNode.systemName][rawNode.uniqueName] = { - name: rawNode.name, + name: hollvaniaNodeNames[rawNode.uniqueName] ?? rawNode.name, type: rawNode.missionIndex, faction: rawNode.factionIndex, lvl: [rawNode.minEnemyLevel, rawNode.maxEnemyLevel], @@ -46,7 +59,6 @@ rawNodes.forEach(rawNode => { }; }); -//console.log(newNodes); await fs.writeFile( "src/resources/nodes.json", JSON.stringify(newNodes, undefined, "\t")