BuildingType
    name = "BLD_BLACK_HOLE_COLLAPSER"
    description = "BLD_BLACK_HOLE_COLLAPSER_DESC"
    buildcost = 5000 * [[BUILDING_COST_MULTIPLIER]]
    buildtime = 10
    location = And [
        Planet
        OwnedBy empire = Source.Owner
        ContainedBy Contains And [ Planet Star type = BlackHole ]
    ]
    enqueuelocation = [[ENQUEUE_BUILD_ONE_PER_PLANET]]
    effectsgroups = [
        EffectsGroup
            scope = Source
            effects = [
                Destroy
                CreateField type = "FLD_SUBSPACE_RIFT" size = 100
            ]
    ]
    icon = ""

#include "/scripting/macros/enqueue.macros"
#include "/scripting/macros/base_prod.macros"