feat: clan polychrome research #1177
@ -76,11 +76,12 @@ export const guildTechController: RequestHandler = async (req, res) => {
|
|||||||
setTechLogState(guild, techProject.ItemType, 5);
|
setTechLogState(guild, techProject.ItemType, 5);
|
||||||
if (config.noDojoResearchCosts) {
|
if (config.noDojoResearchCosts) {
|
||||||
processFundedProject(guild, techProject, recipe);
|
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();
|
await guild.save();
|
||||||
res.end();
|
res.end();
|
||||||
} else if (data.Action == "Contribute") {
|
} else if (data.Action == "Contribute") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user