feat: clan polychrome research #1177

Merged
Sainan merged 10 commits from clan-polychrome into main 2025-03-16 04:32:12 -07:00
Showing only changes of commit 6f1e3c469f - Show all commits

View File

@ -76,11 +76,12 @@ export const guildTechController: RequestHandler = async (req, res) => {
setTechLogState(guild, techProject.ItemType, 5);
if (config.noDojoResearchCosts) {
processFundedProject(guild, techProject, recipe);
} else {
if (data.RecipeType.substring(0, 39) == "/Lotus/Types/Items/Research/DojoColors/") {
guild.ActiveDojoColorResearch = data.RecipeType;
}
}
}
if (data.RecipeType.substring(0, 39) == "/Lotus/Types/Items/Research/DojoColors/") {
guild.ActiveDojoColorResearch = data.RecipeType;
}
await guild.save();
res.end();
} else if (data.Action == "Contribute") {