Hull
    name = "SH_EXP_OUTPOST_HULL"
    description = "SH_EXP_OUTPOST_HULL_DESC"
    speed = 0
    fuel = 1
    NoDefaultFuelEffect
    stealth = 55
    structure = 1700
    slots = [
        Slot type = External position = (0.60, 0.45)
        Slot type = Internal position = (0.40, 0.55)
    ]
    buildcost = 1
    buildtime = 1
    Unproducible
    tags = [ "CAN_ALTER_STARLANES" "PEDIA_HULL_MONSTER_GUARD" ]
    location = All
    effectsgroups = [
        EffectsGroup
            scope = NumberOf number = 1 condition = And [
                Planet
                Not Planet type = [Asteroids GasGiant]
                InSystem id = Source.SystemID
            ]
            activation = Turn high = 0
            priority = [[EARLY_POPULATION_OVERRIDE_PRIORITY]]
            effects = [
                SetSpecies name = "SP_EXPERIMENTOR"
                SetPopulation value = Target.TargetPopulation
                CreateBuilding type = "BLD_EXPERIMENTOR_OUTPOST"
            ]

            EffectsGroup // Render most shields and most of the weapons useless
            scope = And [
                Ship
                OwnedBy affiliation = AnyEmpire
                InSystem id = Source.SystemID
            ]   
            effects = [
                SetShield value = Value - (15 * [[SHIP_SHIELD_FACTOR]] )
                SetDamage partname = "SR_WEAPON_1_1" value = Value - (1 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_1_2" value = Value - (2 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_1_3" value = Value - (2 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_1_4" value = Value - (3 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_2_1" value = Value - (3 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_2_2" value = Value - (3 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_2_3" value = Value - (3 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_2_4" value = Value - (4 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_3_1" value = Value - (4 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_3_2" value = Value - (4 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_3_3" value = Value - (5 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_3_4" value = Value - (6 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_4_1" value = Value - (5 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_4_2" value = Value - (6 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_4_3" value = Value - (8 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
                SetDamage partname = "SR_WEAPON_4_4" value = Value - (10 * [[SHIP_WEAPON_DAMAGE_FACTOR]] )
            ]
    ]
    icon = ""
    graphic = "icons/monsters/experiment0.png"

#include "monster.macros"

#include "../ship_hulls.macros"
#include "/scripting/common/misc.macros"
