BuildingType
    name = "BLD_ART_MOON"
    description = "BLD_ART_MOON_DESC"
    buildcost = 250 * [[BUILDING_COST_MULTIPLIER]]
    buildtime = 5
    location = And [
        Planet
        Not Contains Building name = "BLD_ART_MOON"
        OwnedBy empire = Source.Owner
        Not Planet type = [Asteroids GasGiant]
        Not HasSpecial name = "RESONANT_MOON_SPECIAL"
    ]
    enqueuelocation = [[ENQUEUE_BUILD_ONE_PER_PLANET]]
    effectsgroups = [
        EffectsGroup
            scope = And [
                Object id = Source.PlanetID
                Planet
            ]
            effects = AddSpecial name = "RESONANT_MOON_SPECIAL"

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

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