Policy
    name = "PLC_TRAFFIC_CONTROL"
    description = "PLC_TRAFFIC_CONTROL_DESC"
    short_description = "PLC_TRAFFIC_CONTROL_SHORT_DESC"
    category = "ECONOMIC_CATEGORY"
    adoptioncost = 5 + [[SHIPS_OWNED_BY_EMPIRE]]
    effectsgroups = [
        [[SPECIES_LIKES_OR_DISLIKES_POLICY_STABILITY_EFFECTS]]
    
        EffectsGroup
            scope = And [
                Ship
                Not Or [
                    OwnedBy affiliation = EnemyOf empire = Source.Owner
                    Unowned
                ]
                Speed low = 1 // Immobile objects do not get the starlane speed boost.
                WithinDistance distance = 50 condition = And [
                    Planet
                    OwnedBy empire = Source.Owner
                ]
            ]
        effects = SetSpeed value = Value + 20
    ]
    graphic = "icons/policies/economic_traffic_control.png"

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