Hull
    name = "SH_ORGANIC"
    description = "SH_ORGANIC_DESC"
    speed = 90
    fuel = 6
    NoDefaultFuelEffect
    stealth = 5
    structure = 3
    slots = [
        Slot type = External position = (0.80, 0.50)
        Slot type = Internal position = (0.60, 0.50)
    ]
    buildcost = 8 * [[FLEET_UPKEEP_MULTIPLICATOR]] * [[SHIP_HULL_COST_MULTIPLIER]]
    buildtime = 3
    tags = [ "ORGANIC_HULL" "PEDIA_HULL_LINE_ORGANIC" "GREAT_FUEL_EFFICIENCY" ]
    location = And [
        Planet
        OwnedBy empire = Source.Owner
        Contains And [
            Building name = "BLD_SHIPYARD_ORG_ORB_INC"
            OwnedBy empire = Source.Owner
        ]
        Contains And [
            Building name = "BLD_SHIPYARD_BASE"
            OwnedBy empire = Source.Owner
        ]
    ]
    effectsgroups = [
        EffectsGroup
            scope = Source
            effects = [
                SetStructure value = Value + (2*[[SHIP_STRUCTURE_FACTOR]])
            ]

        EffectsGroup
            scope = Source
            accountinglabel = "ORGANIC_GROWTH"
            effects = SetMaxStructure value = Value + ( min(Source.Age*0.2, 3) * [[SHIP_STRUCTURE_FACTOR]] )

        [[GREAT_FUEL_EFFICIENCY]]
        [[ADD_HULL_FUEL_TO_MAX_FUEL_METER]]
        [[LIVING_HULL_BASE_FUEL_REGEN]]
        [[REGULAR_HULL_DETECTION]]
        [[SCAVANGE_FUEL_UNOWNED]]
        [[UNOWNED_GOOD_VISION]]
        [[UNOWNED_MOVE]]
    ]
    icon = "icons/ship_hulls/organic_hull_small.png"
    graphic = "hulls_design/organic_hull.png"

#include "organic.macros"

#include "../ship_hulls.macros"

#include "/scripting/macros/upkeep.macros"
