Add mats for experimental effects to mat list

This commit is contained in:
Sid Pranjale
2022-10-09 14:46:00 +05:30
parent 887dbc25f8
commit 801969dc07

View File

@@ -177,6 +177,16 @@ export default class ModalShoppingList extends TranslatedComponent {
mats[i] = module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g];
}
}
for (const j in module.m.blueprint.special.components) {
if (!module.m.blueprint.special.components.hasOwnProperty(j)) {
continue;
}
if (mats[j]) {
mats[j] += module.m.blueprint.special.components[j];
} else {
mats[j] = module.m.blueprint.special.components[j];
}
}
}
}
}