parent
							
								
									3eb5c366df
								
							
						
					
					
						commit
						7b866a2f71
					
				@ -192,14 +192,16 @@ const getItemListsController: RequestHandler = (req, response) => {
 | 
				
			|||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    for (const [uniqueName, arcane] of Object.entries(ExportArcanes)) {
 | 
					    for (const [uniqueName, arcane] of Object.entries(ExportArcanes)) {
 | 
				
			||||||
        const mod: ListedItem = {
 | 
					        if (uniqueName.substring(0, 18) != "/Lotus/Types/Game/") {
 | 
				
			||||||
            uniqueName,
 | 
					            const mod: ListedItem = {
 | 
				
			||||||
            name: getString(arcane.name, lang)
 | 
					                uniqueName,
 | 
				
			||||||
        };
 | 
					                name: getString(arcane.name, lang)
 | 
				
			||||||
        if (arcane.isFrivolous) {
 | 
					            };
 | 
				
			||||||
            mod.badReason = "frivolous";
 | 
					            if (arcane.isFrivolous) {
 | 
				
			||||||
 | 
					                mod.badReason = "frivolous";
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            res.mods.push(mod);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        res.mods.push(mod);
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    for (const [uniqueName, syndicate] of Object.entries(ExportSyndicates)) {
 | 
					    for (const [uniqueName, syndicate] of Object.entries(ExportSyndicates)) {
 | 
				
			||||||
        res.Syndicates.push({
 | 
					        res.Syndicates.push({
 | 
				
			||||||
 | 
				
			|||||||
@ -230,7 +230,7 @@ function fetchItemList() {
 | 
				
			|||||||
                        if (type == "Syndicates" && item.uniqueName.startsWith("RadioLegion")) {
 | 
					                        if (type == "Syndicates" && item.uniqueName.startsWith("RadioLegion")) {
 | 
				
			||||||
                            item.name += " (" + item.uniqueName + ")";
 | 
					                            item.name += " (" + item.uniqueName + ")";
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/" && item.badReason != "notraw") {
 | 
					                        if (item.badReason != "notraw") {
 | 
				
			||||||
                            const option = document.createElement("option");
 | 
					                            const option = document.createElement("option");
 | 
				
			||||||
                            option.setAttribute("data-key", item.uniqueName);
 | 
					                            option.setAttribute("data-key", item.uniqueName);
 | 
				
			||||||
                            option.value = item.name;
 | 
					                            option.value = item.name;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user