Skip to content

Commit

Permalink
Convert default/scripting/techs/ship_parts/damage_control/SHP_REINFOR…
Browse files Browse the repository at this point in the history
…CED_HULL.focs
  • Loading branch information
o01eg committed Jul 29, 2022
1 parent dfff4ad commit fa1ce57
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
@@ -0,0 +1,17 @@
from common.base_prod import TECH_COST_MULTIPLIER

Tech(
name="SHP_REINFORCED_HULL",
description="SHP_REINFORCED_HULL_DESC",
short_description="STRUCTURE_SHORT_DESC",
category="SHIP_PARTS_CATEGORY",
researchcost=36 * TECH_COST_MULTIPLIER,
researchturns=3,
tags=["PEDIA_DAMAGE_CONTROL_PART_TECHS"],
prerequisites="CON_ARCH_MONOFILS",
effectsgroups=EffectsGroup(
scope=Ship & OwnedBy(empire=Source.Owner),
effects=SetMaxStructure(value=Value + NamedRealLookup(name="SHP_REINFORCED_HULL_BONUS")),
),
graphic="icons/tech/structural_integrity_fields.png",
)

This file was deleted.

1 change: 1 addition & 0 deletions default/scripting/tox.ini
Expand Up @@ -72,6 +72,7 @@ builtins =
SetMaxFuel
SetMaxShield
SetMaxStockpile
SetMaxStructure
SetMaxSupply
SetMaxTroops
SetOwner
Expand Down

0 comments on commit fa1ce57

Please sign in to comment.