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 9c3db63c14 - Show all commits

View File

@ -142,6 +142,10 @@ export const guildTechController: RequestHandler = async (req, res) => {
// This research is now fully funded. // This research is now fully funded.
const recipe = ExportDojoRecipes.research[data.RecipeType]; const recipe = ExportDojoRecipes.research[data.RecipeType];
processFundedProject(guild, techProject, recipe); processFundedProject(guild, techProject, recipe);
if (data.RecipeType.substring(0, 39) == "/Lotus/Types/Items/Research/DojoColors/") {
guild.ActiveDojoColorResearch = "";
await removePigmentsFromGuildMembers(guild._id);
}
} }
await guild.save(); await guild.save();