BuildingType
    name = "BLD_STARGATE"
    description = "BLD_STARGATE_DESC"
    buildcost = 500 * [[BUILDING_COST_MULTIPLIER]]
    buildtime = 8
    tags = "ORBITAL"
    location = And [
        Planet
        OwnedBy empire = Source.Owner
        TargetPopulation low = 1
        Not Contains Building name = "BLD_STARGATE"
    ]
    enqueuelocation = [[ENQUEUE_BUILD_ONE_PER_PLANET]]
    effectsgroups = [
        [[SPECIES_LIKES_OR_DISLIKES_BUILDING_STABILITY_EFFECTS]]
    ]
    icon = "icons/building/stargate.png"

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