Policy
    name = "PLC_INTERSTELLAR_INFRA"
    description = "PLC_INTERSTELLAR_INFRA_DESC"
    short_description = "PLC_INTERSTELLAR_INFRA_SHORT_DESC"
    category = "ECONOMIC_CATEGORY"
    adoptioncost = 300
    prerequisites = [ "PLC_SYSTEM_INFRA" ]
    unlock = Item type = Building name = "BLD_REGIONAL_ADMIN"
    effectsgroups = [
        [[SPECIES_LIKES_OR_DISLIKES_POLICY_STABILITY_EFFECTS]]

        EffectsGroup
            scope = Source
            priority = [[TARGET_AFTER_SCALING_PRIORITY]]
            effects = SetEmpireMeter empire = Source.Owner meter = "ECONOMIC_CATEGORY_NUM_POLICY_SLOTS" value = Value + 2
        
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
                Species
                ResourceSupplyConnected empire = Source.Owner condition = And [
                    Planet
                    OwnedBy empire = Source.Owner
                    Not InSystem id = RootCandidate.SystemID
                ]
            ]
            effects = SetTargetConstruction value = Value + 5
    ]
    graphic = "icons/policies/economic_interstellar_infrastructure.png"

#include "/scripting/macros/base_prod.macros"
#include "/scripting/macros/priorities.macros"
#include "/scripting/policies/policies.macros"
