mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
Provide correct blueprints limits for HRPs
This commit is contained in:
@@ -81,8 +81,8 @@ export function getBlueprint(name, module) {
|
||||
// Start with a copy of the blueprint
|
||||
const blueprint = JSON.parse(JSON.stringify(Modifications.blueprints[name]));
|
||||
if (module) {
|
||||
if (module.grp === 'bh') {
|
||||
// Bulkheads need to have their resistances altered
|
||||
if (module.grp === 'bh' || module.grp === 'hr') {
|
||||
// Bulkheads and hull reinforcements need to have their resistances altered by the base values
|
||||
for (const grade in blueprint.grades) {
|
||||
for (const feature in blueprint.grades[grade].features) {
|
||||
if (feature === 'explres') {
|
||||
|
||||
Reference in New Issue
Block a user