BuildingType
    name = "BLD_STARLANE_NEXUS"
    description = "BLD_STARLANE_NEXUS_DESC"
    buildcost = 1000
    buildtime = 8
    location = Planet
    effectsgroups = [
        EffectsGroup
            scope = Object id = Source.SystemID
            effects = [
                RemoveStarlanes endpoint = System
                AddStarlanes endpoint = And [
                    System
                    WithinDistance distance = 250 condition = Source
                    CanAddStarlanesTo condition = Source
                ]
            ]
        EffectsGroup
            scope = Source
            effects = Destroy
    ]
    icon = "icons/tech/n-dimensional_structures.png"
