BuildingType
    name = "BLD_ART_PLANET"
    description = "BLD_ART_PLANET_DESC"
    buildcost = 200 * Target.HabitableSize * [[BUILDING_COST_MULTIPLIER]]
    buildtime = 8
    location = And [
        Planet
        Not Contains Building name = "BLD_ART_PLANET"
        Not Contains Building name = "BLD_ART_FACTORY_PLANET"
        Not Contains Building name = "BLD_ART_PARADISE_PLANET"
        OwnedBy empire = Source.Owner
        Planet type = [Asteroids GasGiant]
        Population high = 0
    ]
    enqueuelocation = [[ENQUEUE_ARTIFICIAL_PLANET_EXCLUSION]]
    effectsgroups = [
        EffectsGroup
            scope = And [
                Object id = Source.PlanetID
                Planet
            ]
            effects = [
                SetPlanetType type = Barren
                GenerateSitRepMessage
                    message = "EFFECT_ART_PLANET"
                    label = "EFFECT_ART_PLANET_LABEL"
                    icon = "icons/specials_large/tidal_lock.png"
                    parameters = tag = "planet" data = Target.ID
                    empire = Source.Owner
                ]

        EffectsGroup
            scope = Source
            effects = Destroy
    ]
    icon = "icons/specials_huge/tidal_lock.png"

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