| 1 |
from focs._effects import ( |
| 2 |
EffectsGroup, |
| 3 |
NamedRealLookup, |
| 4 |
OwnedBy, |
| 5 |
SetMaxStructure, |
| 6 |
Ship, |
| 7 |
Source, |
| 8 |
Value, |
| 9 |
) |
| 10 |
from focs._tech import * |
| 11 |
from macros.base_prod import TECH_COST_MULTIPLIER |
| 12 |
|
| 13 |
Tech( |
| 14 |
name="SHP_REINFORCED_HULL", |
| 15 |
description="SHP_REINFORCED_HULL_DESC", |
| 16 |
short_description="STRUCTURE_SHORT_DESC", |
| 17 |
category="SHIP_PARTS_CATEGORY", |
| 18 |
researchcost=72 * TECH_COST_MULTIPLIER, |
| 19 |
researchturns=3, |
| 20 |
tags=["PEDIA_DAMAGE_CONTROL_PART_TECHS"], |
| 21 |
prerequisites=["CON_ARCH_MONOFILS"], |
| 22 |
effectsgroups=[ |
| 23 |
EffectsGroup( |
| 24 |
scope=Ship & OwnedBy(empire=Source.Owner), |
| 25 |
effects=SetMaxStructure(value=Value + NamedRealLookup(name="SHP_REINFORCED_HULL_BONUS")), |
| 26 |
) |
| 27 |
], |
| 28 |
graphic="icons/tech/structural_integrity_fields.png", |
| 29 |
) |