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

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