BuildingType
    name = "BLD_SHIPYARD_BASE"
    description = "BLD_SHIPYARD_BASE_DESC"
    buildcost = 10 * [[BUILDING_COST_MULTIPLIER]]
    buildtime = 4
    tags = [ "ORBITAL" "CTRL_SHIPYARD" ]
    location = And [
        Planet
        TargetPopulation low = 1
        Not Contains Building name = "BLD_SHIPYARD_BASE"
        OwnedBy empire = Source.Owner
    ]
    enqueuelocation = And [
        [[ENQUEUE_BUILD_ONE_PER_PLANET]]
        CanProduceShips
    ]
    effectsgroups = [
		[[SPECIES_LIKES_OR_DISLIKES_BUILDING_STABILITY_EFFECTS]]
    
        EffectsGroup
            scope = And [ 
                Object id = Source.PlanetID
                Planet
            ]
            effects = SetTargetConstruction value = Value - 10
	]
    icon = "icons/building/shipyard.png"

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