forked from OpenWF/SpaceNinjaServer
		
	fix(webui): add mods regression
This commit is contained in:
		
							parent
							
								
									be6e5ce250
								
							
						
					
					
						commit
						8daf0c9eda
					
				@ -172,6 +172,16 @@ function fetchItemList() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            window.archonCrystalUpgrades = data.archonCrystalUpgrades;
 | 
					            window.archonCrystalUpgrades = data.archonCrystalUpgrades;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            // Add mods mising in data sources
 | 
				
			||||||
 | 
					            data.mods.push({
 | 
				
			||||||
 | 
					                uniqueName: "/Lotus/Upgrades/Mods/Fusers/LegendaryModFuser",
 | 
				
			||||||
 | 
					                name: loc("code_legendaryCore")
 | 
				
			||||||
 | 
					            });
 | 
				
			||||||
 | 
					            data.mods.push({
 | 
				
			||||||
 | 
					                uniqueName: "/Lotus/Upgrades/CosmeticEnhancers/Peculiars/CyoteMod",
 | 
				
			||||||
 | 
					                name: loc("code_traumaticPeculiar")
 | 
				
			||||||
 | 
					            });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            const itemMap = {
 | 
					            const itemMap = {
 | 
				
			||||||
                // Generics for rivens
 | 
					                // Generics for rivens
 | 
				
			||||||
                "/Lotus/Weapons/Tenno/Archwing/Primary/ArchGun": { name: loc("code_archgun") },
 | 
					                "/Lotus/Weapons/Tenno/Archwing/Primary/ArchGun": { name: loc("code_archgun") },
 | 
				
			||||||
@ -196,10 +206,7 @@ function fetchItemList() {
 | 
				
			|||||||
                "/Lotus/Weapons/Operator/Pistols/DrifterPistol/DrifterPistolPlayerWeapon": {
 | 
					                "/Lotus/Weapons/Operator/Pistols/DrifterPistol/DrifterPistolPlayerWeapon": {
 | 
				
			||||||
                    name: loc("code_sirocco")
 | 
					                    name: loc("code_sirocco")
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                "/Lotus/Types/Vehicles/Hoverboard/HoverboardSuit": { name: loc("code_kdrive") },
 | 
					                "/Lotus/Types/Vehicles/Hoverboard/HoverboardSuit": { name: loc("code_kdrive") }
 | 
				
			||||||
                // Missing in data sources
 | 
					 | 
				
			||||||
                "/Lotus/Upgrades/Mods/Fusers/LegendaryModFuser": { name: loc("code_legendaryCore") },
 | 
					 | 
				
			||||||
                "/Lotus/Upgrades/CosmeticEnhancers/Peculiars/CyoteMod": { name: loc("code_traumaticPeculiar") }
 | 
					 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
            for (const [type, items] of Object.entries(data)) {
 | 
					            for (const [type, items] of Object.entries(data)) {
 | 
				
			||||||
                if (type == "archonCrystalUpgrades") {
 | 
					                if (type == "archonCrystalUpgrades") {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user