#civic_example = {
#	playable = {}								# AND trigger, no scope; use this to prevent the civic from being selectable by the player (UI)
#	potential = {}								# requirements list, see ../readme_requirements.txt
#	possible = {}								# requirements list, see ../readme_requirements.txt
#	pickable_at_start = yes / no				# default: yes
#	modification = { add = {} remove = {} } | yes/no # Can be a set of two triggers, add to check if can be added later under certain conditions, remove to check if can be removed later under certain conditions
#												# default: yes, set to no to prevent adding or removing this after creation of the empire
#	random_weight = { base = 5 }				# scriptable weight for randomizing a civic
#												# Note: If omitted, a default weight of 1 is used
#												# Also note: after game start, AI selection of new civics uses the below weight instead
#
#	ai_weight = { base = 5 }					# scriptable weight for AI picking civics in-game (when unlocking a new slot).
#												# Note: If omitted, a default weight of 1 is used. Not needed when "modification = no"
#
#	alternate_civic_version = civic_key			# Key of the civic that will try to replace the current one during a government reform if the current civic is locked (ex: corporate version of the civic that will replace it when attempting to reform to Megacorporation)
#												# Note: if no replacement civic is indicated, it fallback to non-moddable civics behaviour, i.e. you can't change authority
#
#	modifier = {}								# modifier added to the country if the civic is selected and valid
#	can_build_ruler_ship = yes / no				# default: no
#	traits = { trait = ... }					# default: empty; trait set to enforce on the primary species. They cannot be removed, but more can be added if points/picks permit
#	has_secondary_species = {					# default: none; if present, will enable secondary species customization in empire designer and will create secondary species & pops at galaxy generation time (see empire_init_create_capital_secondary_pops)
#		traits = { trait = ... }					# default: empty; trait set to enforce on the secondary species. They cannot be removed, but more can be added if points/picks permit
#	}
#}

############################ CORPORATE CIVICS

civic_franchising = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = slaving_despots
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = xenophobic_isolationists
			}
		}
	}
	description = "civic_tooltip_franchising_effects"
	modifier = {
		divided_patrongage_max_subjects = 1
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
	swap_type = {
		description = "civic_tooltip_franchising_effects"
		trigger = {
			host_has_dlc = "Overlord"
		}
		modifier = {
			subject_holding_owner_max_buildings_add = 1
			specialist_subject_conversion_time_mult = -0.33
		}
	}
}

civic_trading_posts = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		origin = {
			NOT = {
				value = origin_unplugged
			}
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = hegemonic_imperialists
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = xenophobic_isolationists
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	modifier = {
		country_starbase_capacity_add = 4
		starbase_buildings_trade_produces_add = 2
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}
	description = "civic_tooltip_trading_posts_effects"
}

civic_media_conglomerate = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		civics = {
			NOR = {
				text = civic_tooltip_not_crowdsourcing
				value = civic_corporate_crowdsourcing
				value = civic_crowdsourcing
			}
			NOR = {
				value = civic_secret_societies
				value = civic_secret_societies_corporate
				value = civic_parliamentary_system
			}
			NOT = {
				value = civic_idealistic_foundation
			}
		}
		origin = {
			NOT = {
				value = origin_unplugged
			}
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = evangelising_zealots
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = democratic_crusaders
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	modifier = {
		faction_demands_met_mult = 0.25
		faction_demands_unmet_mult = 0.50
		refugee_attraction = 0.10
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}
	description = "civic_tooltip_media_conglomerate_effects"
}

civic_naval_contractors = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = decadent_hierarchy
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = evangelising_zealots
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = xenophobic_isolationists
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = erudite_explorers
				has_ai_personality = spiritual_seekers
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_militarist
				value = ethic_militarist
				value = ethic_fanatic_militarist
			}
		}
		civics = { NOT = { value = civic_citizen_service } }
	}
	modifier = {
		country_naval_cap_mult = 0.15
		add_attunement_the_eater_of_worlds = @civic_attunement1
	}
	swap_type = {
		trigger = {
			host_has_dlc = "Overlord"
		}

		modifier = {
			country_enclave_capacity_add = 2
		}
		description = "civic_tooltip_naval_contractors_effects"
	}
	description = "civic_tooltip_naval_contractors_effects"
}

civic_free_traders = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = spiritual_seekers
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = decadent_hierarchy
				has_ai_personality = democratic_crusaders
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = xenophobic_isolationists
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	modifier = {
		branch_office_value_mult = 0.10
		planet_traders_trade_produces_add = 2
	}
}

civic_private_prospectors = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		is_nomadic = no
		civics = {
			NOR = {
				text = civic_tooltip_not_guided
				value = civic_guided_sapience
				value = civic_corporate_guided_sapience
				value = civic_hive_guided_sapience
				value = civic_machine_guided_sapience
			}
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
				has_ai_personality = decadent_hierarchy
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = spiritual_seekers
				has_ai_personality = democratic_crusaders
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = xenophobic_isolationists
				has_ai_personality = fanatic_purifiers
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
			}
		}
	}
	modifier = {
		empire_size_systems_mult = -0.15
		empire_size_colonies_mult = -0.25
		add_attunement_the_composer_of_strands = @civic_attunement1
	}

	# unlocks sponsored_colonizer ship size
	description = "civic_tooltip_private_prospectors_effects"
}

civic_gospel_of_the_masses = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = spiritual_seekers
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = democratic_crusaders
				has_ai_personality = xenophobic_isolationists
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = erudite_explorers
				has_ai_personality = slaving_despots
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_spiritualist
				value = ethic_spiritualist
				value = ethic_fanatic_spiritualist
			}
		}
	}
	modifier = {
		pop_ethic_spiritualist_attraction_mult = 0.5
		planet_bureaucrats_trade_produces_add = 1
		add_attunement_the_composer_of_strands = @civic_attunement1
	}

	description = "civic_tooltip_gospel_of_the_masses_effects"
}

civic_ruthless_competition = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		civics = {
			NOR = {
				value = civic_meritocracy
				value = civic_worker_coop
			}
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = ruthless_capitalists
				has_ai_personality = slaving_despots
				has_ai_personality = decadent_hierarchy
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = erudite_explorers
				has_ai_personality = peaceful_traders
				has_ai_personality = democratic_crusaders
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = spiritual_seekers
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	modifier = {
		species_leader_exp_gain = 0.1
		intel_decryption_add = 1
		country_leader_pool_size = 1
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}

	swap_type = {
		trigger = {
			has_paragon_dlc = yes
		}

		modifier = {
			leader_trait_selection_options_add = 1
		}

		description = "civic_tooltip_ruthless_competition_effects"
	}

	description = "civic_tooltip_ruthless_competition_effects"
}

civic_criminal_heritage = {
	modification = no
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		origin = {
			NOT = {
				value = origin_unplugged
			}
		}
	}
	random_weight = {
		base = @civic_default_random_weight
		modifier = {
			factor = 0
			blocks_disruptive_gameplay = yes
		}
	}
	modifier = {
		planet_branch_offices_cost_mult = -0.20
		spy_network_daily_value_mult = 0.20
		intel_decryption_add = 1
	}

	description = "civic_tooltip_criminal_heritage_effects"

	swap_type = {
		trigger = {
			has_first_contact_dlc = yes
		}
		description = "civic_tooltip_criminal_heritage_effects"
		modifier = {
			ship_cloaking_strength_add = 1
		}
	}
}

civic_private_military_companies = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = slaving_despots
				has_ai_personality = decadent_hierarchy
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = erudite_explorers
				has_ai_personality = spiritual_seekers
				has_ai_personality = peaceful_traders
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = federation_builders
				has_ai_personality = xenophobic_isolationists
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_militarist
				value = ethic_militarist
				value = ethic_fanatic_militarist
			}
		}
		civics = {
			NOR = {
				value = civic_warrior_culture
				value = civic_tankbound_corporate
			}
		}
	}
	modifier = {
		commander_initial_skill = 1
		army_starting_experience_add = 100
		army_damage_mult = 0.2
		armies_upkeep_mult = -0.2
		add_attunement_the_eater_of_worlds = @civic_attunement1
	}
	swap_type = {
		trigger = {
			host_has_dlc = "Overlord"
		}

		modifier = {
			country_enclave_capacity_add = 1
		}
		description = "civic_tooltip_private_military_companies_effects"
	}

	description = "civic_tooltip_private_military_companies_effects"
}

civic_indentured_assets = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = slaving_despots
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = erudite_explorers
				has_ai_personality = peaceful_traders
				has_ai_personality = spiritual_seekers
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = democratic_crusaders
			}
		}
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_authoritarian
				value = ethic_authoritarian
				value = ethic_fanatic_authoritarian
			}
		}
		civics = {
			NOR = {
				value = civic_corporate_hedonism
				value = civic_slaver_guilds
				value = civic_pleasure_seekers
				value = civic_tankbound_corporate
			}
		}
	}
	modifier = {
		pop_slave_bonus_workforce_mult = 0.15
		refugee_attraction = -0.25
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}

	description = "civic_tooltip_indentured_assets_effects"
}

civic_brand_loyalty = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		civics = { NOT = { value = civic_beacon_of_liberty } }
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = spiritual_seekers
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = fanatic_purifiers
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = erudite_explorers
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_befrienders
			}
		}
	}
	modifier = {
		country_unity_produces_mult = 0.15
		country_edict_fund_add = 25
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}

	description = "civic_tooltip_brand_loyalty_effects"
}

civic_public_relations_specialists = {
	playable = { host_has_dlc = "Federations" }
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		civics = { NOT = { value = civic_diplomatic_corps } }
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = spiritual_seekers
				has_ai_personality = slaving_despots
				has_ai_personality = decadent_hierarchy
				has_ai_personality = xenophobic_isolationists
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	modifier = {
		envoys_add = 2
		diplo_weight_mult = 0.3
		country_trust_cap_add = 15
		envoy_improve_relations_mult = 0.3
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}

	description = "civic_tooltip_public_relations_specialists_effects"
}

civic_death_cult_corporate = {
	playable = { host_has_dlc = "Necroids Species Pack" }
	description = "civic_tooltip_corporate_death_cult_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = spiritual_seekers
				has_ai_personality = slaving_despots
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = federation_builders
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = erudite_explorers
				has_ai_personality = democratic_crusaders
				has_ai_personality = fanatic_befrienders
			}
		}
	}
	possible = {
		origin = {
			NOT = {
				value = origin_necrophage
			}
		}
		civics = {
			NOR = {
				value = civic_fanatic_purifiers
				value = civic_inwards_perfection
				value = civic_death_cult
			}
		}
		ethics = {
			OR = {
				text = civic_tooltip_spiritualist
				value = ethic_spiritualist
				value = ethic_fanatic_spiritualist
			}
		}
	}
}

civic_corporate_catalytic_processing = {
	playable = { host_has_dlc = "Plantoids Species Pack" }
	ai_playable = { host_has_dlc = "Plantoids Species Pack" }
	description = "civic_tooltip_catalytic_processing_corporate_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		origin = {
			NOT = {
				value = origin_lithoid
			}
		}
		preferred_planet_class = {
			NOT = {
				text = does_not_have_volcanic_homeworld
				value = pc_volcanic
			}
		}
		civics = {
			NOT = {
				value = civic_catalytic_processing
			}
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = 0			# Too dangerous to switch mid-game
	}

	modifier = {
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_corporate_hedonism = {
	description = "civic_tooltip_corporate_hedonism_effects"
	potential = {
		ethics = { NOT = { value = ethic_gestalt_consciousness } }
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		civics = {
			NOR = {
				value = civic_pleasure_seekers
				value = civic_indentured_assets
				value = civic_slaver_guilds
			}
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = slaving_despots
				has_ai_personality = decadent_hierarchy
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = evangelising_zealots
				has_ai_personality = spiritual_seekers
				has_ai_personality = democratic_crusaders
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = fanatic_purifiers
			}
		}
	}

	modifier = {
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_corporate_anglers = {
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_anglers
			}
		}
		remove = {
			always = no
		}
	}
	alternate_civic_version = civic_anglers
	playable = { has_aquatics = yes }
	ai_playable = { has_aquatics = yes }
	description = "civic_tooltip_corporate_anglers_effects"
	negative_description = "civic_tooltip_anglers_negative_effects"

	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		species_archetype = { NOT = { value = MACHINE } }
	}
	possible = {
		is_nomadic = no
		species_archetype = { NOT = { value = MACHINE } }
		origin = {
			NOR = {
				value = origin_post_apocalyptic
				value = origin_post_apocalyptic_machines
				value = origin_shattered_ring
				value = origin_void_dwellers
			}
		}
		civics = {
			NOR = {
				value = civic_anglers
				value = civic_tankbound_corporate
			}
		}
		preferred_planet_class = {
			NOT = {
				text = does_not_have_volcanic_homeworld
				value = pc_volcanic
			}
		}
	}
	traits = {
		trait = trait_aquatic
	}
	random_weight = {
		base = @civic_default_random_weight
	}

	modifier = {
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_corporate_machine_anglers = {
	modification = no
	playable = { has_aquatics = yes }
	ai_playable = { has_aquatics = yes }
	description = "civic_tooltip_corporate_machine_anglers_effects"
	negative_description = "civic_tooltip_machine_anglers_negative_effects"

	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		species_archetype = { value = MACHINE }
	}
	possible = {
		is_nomadic = no
		species_archetype = { value = MACHINE }
		origin = {
			NOR = {
				value = origin_post_apocalyptic_machines
				value = origin_shattered_ring
				value = origin_void_machines
			}
		}
	}
	traits = {
		trait = trait_robot_aquatic
	}
	random_weight = {
		base = @civic_default_random_weight
	}

	modifier = {
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_corporate_crafters = {
	description = "civic_tooltip_corporate_crafters_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		civics = { NOT = { value = civic_crafters }	}
	}
	random_weight = {
		base = @civic_uncommon_random_weight
	}
	ai_weight = {
		base = @ai_civic_uncommon_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = evangelising_zealots
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = decadent_hierarchy
				has_ai_personality = democratic_crusaders
				has_ai_personality = fanatic_purifiers
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = slaving_despots
			}
		}
	}

	modifier = {
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_permanent_employment = {
	playable = { host_has_dlc = "Necroids Species Pack" }
	ai_playable = { host_has_dlc = "Necroids Species Pack" }
	description = "civic_tooltip_corporate_permanent_employment_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		ethics = {
			NOR = {
				text = civic_tooltip_not_egalitarian
				value = ethic_egalitarian
				value = ethic_fanatic_egalitarian
			}
		}
		origin = {
			NOR = {
				value = origin_necrophage
				value = origin_mechanists
				value = origin_clone_army
				value = origin_cybernetic_creed
				value = origin_synthetic_fertility
				value = origin_evolutionary_predators
			}
		}
		species_archetype = { NOT = { value = MACHINE } }
	}
	random_weight = { base = @civic_uncommon_random_weight }
	ai_weight = {
		base = @ai_civic_uncommon_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = slaving_despots
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = peaceful_traders
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = fanatic_befrienders
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = erudite_explorers
				has_ai_personality = spiritual_seekers
				has_ai_personality = democratic_crusaders
			}
		}
	}

	modifier = {
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_corporate_relentless_industrialists = {
	playable = { has_toxoids = yes }
	ai_playable = { has_toxoids = yes }
	description = "civic_tooltip_corporate_relentless_industrialists_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		is_nomadic = no
		ethics = {
			OR = {
				text = civic_tooltip_materialist
				value = ethic_materialist
				value = ethic_fanatic_materialist
			}
		}
		origin = { NOT = { value = origin_life_seeded } }
		civics = {
			NOR = {
				value = civic_environmentalist
				value = civic_agrarian_idyll
				value = civic_idyllic_bloom
				value = civic_memorialist
				value = civic_relentless_industrialists
			}
			NOR = {
				text = civic_tooltip_not_world_forgers
				value = civic_world_forgers
				value = civic_hive_world_forgers
				value = civic_machine_world_forgers
				value = civic_corporate_world_forgers
			}
		}
	}
	random_weight = {
		base = @civic_uncommon_random_weight
	}
	ai_weight = {
		base = @ai_civic_uncommon_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = slaving_despots
				has_ai_personality = decadent_hierarchy
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = peaceful_traders
				has_ai_personality = federation_builders
				has_ai_personality = xenophobic_isolationists
				has_ai_personality = fanatic_befrienders
				has_ai_personality = fanatic_purifiers
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = erudite_explorers
				has_ai_personality = spiritual_seekers
				has_ai_personality = democratic_crusaders
				has_ai_personality = harmonious_hierarchy
			}
		}
	}

	modifier = {
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_corporate_toxic_baths = {
	playable = { has_toxoids = yes }
	ai_playable = { has_toxoids = yes }
	description = "civic_tooltip_corporate_toxic_baths_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		species_archetype = {
			NOT = {
				value = MACHINE
			}
		}
	}
	possible = {
		origin = { NOT = { value = origin_life_seeded } }
		civics = { NOT = { value = civic_toxic_baths } }
	}
	random_weight = {
		base = @civic_uncommon_random_weight
	}
	ai_weight = {
		base = @ai_civic_uncommon_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = decadent_hierarchy
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = xenophobic_isolationists
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = spiritual_seekers
				has_ai_personality = slaving_despots
				has_ai_personality = fanatic_purifiers
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = erudite_explorers
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = democratic_crusaders
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_befrienders
			}
		}
	}

	modifier = {
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_corporate_scavengers = {
	playable = { has_toxoids = yes }
	ai_playable = { has_toxoids = yes }
	description = "civic_corporate_scavengers_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		civics = {
			NOT = {
				value = civic_scavengers
			}
		}
	}
	modifier = {
		ships_alloys_upkeep_mult = -0.05
		planet_building_refund_mult = 0.10
		megastructure_dismantle_refund_mult = 0.10
	}
	random_weight = {
		base = @civic_default_random_weight
	}
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = slaving_despots
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = spiritual_seekers
				has_ai_personality = decadent_hierarchy
				has_ai_personality = democratic_crusaders
				has_ai_personality = fanatic_purifiers
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = xenophobic_isolationists
			}
		}
	}
}

civic_corporate_ascensionists = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_spiritualist
				value = ethic_spiritualist
				value = ethic_fanatic_spiritualist
			}
		}
		civics = {
			NOT = {
				value = civic_ascensionists
			}
		}
	}
	random_weight = {
		base = @civic_uncommon_random_weight
	}
	ai_weight = {
		base = @ai_civic_uncommon_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = spiritual_seekers
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = xenophobic_isolationists
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = evangelising_zealots
				has_ai_personality = slaving_despots
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	description = "civic_tooltip_corporate_ascensionists_effects"
	modifier = {
		planetary_ascension_effect_mult = 0.25
		planetary_ascension_cost_mult = -0.1
		tradition_cost_empire_size_mult = -0.25
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
}

civic_privatized_exploration = {
	playable = { has_first_contact_dlc = yes }

	description = "civic_privatized_exploration_effects"
	negative_description = "civic_eager_explorers_negative_effects"

	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
	}
	modification = {
		add = {
			has_technology = tech_subspace_drive
		}
		remove = {
			has_technology = tech_jump_drive_1
		}
	}
	alternate_civic_version = civic_eager_explorers
	possible = {
		is_nomadic = no
		# this does not prevent the empire from rolling the bioship at random
		# see 'ship_selection_weight' in biogenesis_01/02 definitions in 00_graphical_culture.txt
		graphical_culture = {
			NOR = {
				text = graphical_culture_tooltip_not_biological
				value = biogenesis_01
				value = biogenesis_02
			}
		}
		origin = {
			NOR = {
				# No FC origins.
				value = origin_payback
				value = origin_broken_shackles
				value = origin_fear_of_the_dark
				value = origin_synthetic_fertility
				value = origin_unplugged
			}
		}
		civics = {
			NOT = {
				value = civic_eager_explorers
			}
			NOR = {
				text = civic_tooltip_not_guardian
				value = civic_sovereign_guardianship
				value = civic_corporate_sovereign_guardianship
				value = civic_hive_sovereign_guardianship
				value = civic_machine_sovereign_guardianship
			}
			NOR = {
				text = civic_tooltip_not_hyperspace_specialty
				value = civic_hyperspace_specialty
				value = civic_corporate_hyperspace_specialty
				value = civic_hive_hyperspace_specialty
				value = civic_machine_hyperspace_specialty
			}
			NOR = {
				text = civic_tooltip_not_guided
				value = civic_guided_sapience
				value = civic_corporate_guided_sapience
				value = civic_hive_guided_sapience
				value = civic_machine_guided_sapience
			}
		}
	}

	modifier = {
		starbase_building_build_speed_mult = 0.3
		starbase_module_build_speed_mult = 0.3
		starbase_upgrade_speed_mult = 0.3
		station_gatherers_produces_mult = 0.25
		station_researchers_produces_mult = 0.25
	}

	random_weight = {
		base = 0
	}
}

civic_corporate_hyperspace_specialty = {
	playable = { has_astral_planes_dlc = yes }
	ai_playable = { has_astral_planes_dlc = yes }
	description = "civic_corporate_hyperspace_specialty_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_hyperspace_specialty } }
	}
	possible = {
		civics = {
			NOR = {
				text = civic_tooltip_not_eager_explorers
				value = civic_eager_explorers
				value = civic_privatized_exploration
				value = civic_hive_stargazers
				value = civic_machine_exploration_protocol
			}
		}
		origin = {
			NOT = {
				value = origin_unplugged
			}
		}
	}
	modifier = {
		planet_sensor_range_add = 2
		ship_speed_mult = 0.1
		country_physics_tech_research_speed = 0.15
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
}

civic_corporate_dimensional_worship = {
	playable = { has_astral_planes_dlc = yes }
	ai_playable = { has_astral_planes_dlc = yes }
	description = "civic_corporate_dimensional_worship_effects"
	potential = {
		ethics = { NOT = { value = ethic_gestalt_consciousness } }
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_dimensional_worship } }
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_spiritualist
				value = ethic_spiritualist
				value = ethic_fanatic_spiritualist
			}
		}
	}
	modifier = {
		planet_bureaucrats_physics_research_produces_add = 1
		rare_tech_draw_chance_mult = 0.1
	}
	custom_tooltip_with_modifiers = "civic_dimensional_worship_effects_additional"
}

civic_crusader_spirit_corporate = {
	playable = { host_has_dlc = "Galactic Paragons" }
	ai_playable = { host_has_dlc = "Galactic Paragons" }
	random_weight = {
		base = 4
	}
	description = "civic_tooltip_crusader_spirit_corporate_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_authoritarian_or_militarist
				value = ethic_militarist
				value = ethic_fanatic_militarist
				value = ethic_authoritarian
				value = ethic_fanatic_authoritarian
			}
			NOR = {
				text = civic_tooltip_not_pacifist
				value = ethic_pacifist
				value = ethic_fanatic_pacifist
			}
		}
	}
	modifier = {
		ships_upkeep_mult = -0.05
	}
	swap_type = {
		trigger = {
			host_has_dlc = "Overlord"
		}
		description = "civic_tooltip_crusader_spirit_corporate_effects"
		modifier = {
			country_enclave_capacity_add = 1
		}
	}
}

civic_task_delegation_corporate = {
	playable = { host_has_dlc = "Galactic Paragons" }
	ai_playable = { host_has_dlc = "Galactic Paragons" }
	random_weight = {
		base = 4
	}
	description = "civic_tooltip_task_delegation_corporate_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
	}
	possible = {
	}
	modifier = {
		country_official_cap_add = 1
		country_commander_cap_add = 1
		country_scientist_cap_add = 1
	}
}

civic_private_healthcare_corporate = {
	playable = { host_has_dlc = "Galactic Paragons" }
	ai_playable = { host_has_dlc = "Galactic Paragons" }
	random_weight = {
		base = 4
	}
	description = "civic_tooltip_civic_private_healthcare_corporate_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
		origin = {
			NOR = {
				value = origin_broken_shackles
				value = origin_payback
			}
		}
	}
	possible = {
		species_archetype = {
			NOT = {
				value = MACHINE
			}
		}
	}
	modifier = {
		leader_lifespan_add = 10
		planet_doctors_trade_produces_add = 4
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
}

civic_memory_vault_corporate = {
	playable = { host_has_dlc = "Galactic Paragons" }
	ai_playable = { host_has_dlc = "Galactic Paragons" }
	random_weight = {
		base = 4
	}
	description = "civic_tooltip_memory_vault_corporate_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
	}
	possible = {
		civics = {
			NOT = {
				value = civic_memory_vault
			}
		}
	}
	modifier = {
		councilor_skill_add = 1
		leader_initial_skill = 1
		leader_trait_selection_options_add = 1
	}
}

civic_worker_coop = {
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	random_weight = { base = @civic_default_random_weight }
	ai_weight = {
		base = @ai_civic_default_base_weight
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = ruthless_capitalists
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = decadent_hierarchy
			}
		}
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = peaceful_traders
				has_ai_personality = erudite_explorers
				has_ai_personality = spiritual_seekers
				has_ai_personality = fanatic_purifiers
			}
		}
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_egalitarian
				value = ethic_egalitarian
				value = ethic_fanatic_egalitarian
			}
			NOR = {
				text = civic_tooltip_not_xenophobe
				value = ethic_xenophobe
				value = ethic_fanatic_xenophobe
			}
		}
		civics = {
			NOR = {
				value = civic_corporate_hedonism
				value = civic_pleasure_seekers
				value = civic_ruthless_competition
				value = civic_cutthroat_politics
				value = civic_shared_burden
				value = civic_police_state
			}
		}
	}
	modifier = {
		election_term_years_mult = -0.50
		pop_ethic_egalitarian_attraction_mult = 0.5
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}
	description = "civic_tooltip_worker_coop_effects"
}

civic_corporate_dark_consortium = {
	playable = { has_astral_planes_dlc = yes }
	ai_playable = { has_astral_planes_dlc = yes }
	description = "civic_corporate_dark_consortium_effects"
	potential = {
		OR = {
			authority = {
				value = auth_corporate
			}
			civics = {
				value = civic_galactic_sovereign_megacorp
			}
		}
		civics = {
			NOT = { value = civic_dark_consortium }
		}
	}
	possible = {
		origin = {
			NOT = {
				value = origin_unplugged
			}
		}
	}
	modification = {
		moddable_conditions_custom_tooltip = CIVIC_NOT_MODDABLE_ONLY_REMOVE
		add = {
			has_technology = tech_mine_dark_matter
		}
		remove = {
			fail_text = CIVIC_LOCKED
			NOT = { has_country_flag = civic_dark_consortium_locked }
		}
	}
	alternate_civic_version = civic_dark_consortium

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}
}

civic_augmentation_bazaars = {
	playable = { has_machine_age_dlc = yes }
	ai_playable = { has_machine_age_dlc = yes }
	random_weight = {
		base = 4
	}
	modification = no
	description = "civic_tooltip_augmentation_bazaars_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
	}
	possible = {
		origin = {
			NOR = {
				value = origin_shroudwalker_apprentice
				value = origin_synthetic_fertility
				value = origin_evolutionary_predators
				value = origin_endbringers
			}
		}
		civics = {
			NOR = {
				text = civic_tooltip_not_chosen
				value = civic_chosen
				value = civic_hive_chosen
				value = civic_machine_chosen
				value = civic_corporate_chosen
				value = civic_entropy_drinkers_corporate
			}
		}
		species_archetype = { NOT = { value = MACHINE } }
	}

	modifier = {
		planet_augmentors_trade_produces_add = 4
	}
}

civic_corporate_sovereign_guardianship = {
	playable = { has_astral_planes_dlc = yes }
	ai_playable = { has_astral_planes_dlc = yes }
	description = "civic_corporate_sovereign_guardianship_effects"
	potential = {
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
		OR = {
			authority = {
				value = auth_corporate
			}
			civics = {
				value = civic_galactic_sovereign_megacorp
			}
		}
	}
	alternate_civic_version = civic_sovereign_guardianship
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_sovereign_guardianship
			}
		}
		remove = {
			always = no
		}
	}
	possible = {
		is_nomadic = no
		ethics = {
			OR = {
				text = civic_tooltip_militarist
				value = ethic_militarist
				value = ethic_fanatic_militarist
			}
		}
		origin = {
			NOR = {
				value = origin_fear_of_the_dark
				value = origin_payback
				value = origin_broken_shackles
			}
		}
		civics = {
			NOR = {
				value = civic_sovereign_guardianship
				value = civic_inwards_perfection
				value = civic_fanatic_purifiers
			}
			NOR = {
				text = civic_tooltip_not_eager_explorers
				value = civic_eager_explorers
				value = civic_privatized_exploration
				value = civic_hive_stargazers
				value = civic_machine_exploration_protocol
			}
		}
	}

	modifier = {
		empire_size_colonies_mult = 0.75
		empire_size_branch_office_mult = 1
		empire_size_systems_mult = 1.50
		empire_size_pops_mult = -0.25
		empire_size_districts_mult = -0.50
		diplo_weight_mult = 0.2

		planet_soldiers_unity_produces_add = @sovereign_guardianship_soldier_unity
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}
}

civic_corporate_guided_sapience = {
	modification = yes
	playable = { has_machine_age_dlc = yes }
	ai_playable = { has_machine_age_dlc = yes }
	random_weight = {
		base = @civic_rare_random_weight
	}
	potential = {
		authority = {
			value = auth_corporate
		}
	}
	possible = {
		is_nomadic = no
		origin = {
			NOR = {
				value = origin_life_seeded
				value = origin_syncretic_evolution
				value = origin_unplugged
			}
		}
		ethics = {
			NOR = {
				text = civic_tooltip_not_xenophobe
				value = ethic_xenophobe
				value = ethic_fanatic_xenophobe
			}
		}
		civics = {
			NOR = {
				value = civic_private_prospectors
			}
			NOR = {
				text = civic_tooltip_not_eager_explorers
				value = civic_eager_explorers
				value = civic_privatized_exploration
				value = civic_hive_stargazers
				value = civic_machine_exploration_protocol
			}
		}
	}

	modifier = {
		terraforming_cost_mult = -0.25
		terraform_speed_mult = 0.25
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
	description = civic_tooltip_corporate_guided_sapience_effects
	negative_description = civic_tooltip_guided_sapience_negative_effects
}

civic_corporate_toxic_baths_individual_machine = {
	playable = { has_toxoids = yes }
	ai_playable = { has_toxoids = yes }
	description = "civic_tooltip_corporate_individual_machine_toxic_baths_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		species_archetype = {
			value = MACHINE
		}
	}
	possible = {
		origin = { NOT = { value = origin_life_seeded } }
		civics = { NOT = { value = civic_toxic_baths_individual_machine } }
	}
	random_weight = {
		base = @civic_uncommon_random_weight
	}
	ai_weight = {
		base = @ai_civic_uncommon_base_weight
		modifier = {
			factor = @ai_civic_personality_match_factor
			OR = {
				has_ai_personality = decadent_hierarchy
				has_ai_personality = harmonious_hierarchy
				has_ai_personality = xenophobic_isolationists
			}
		}
		modifier = {
			factor = @ai_civic_personality_mismatch_factor
			OR = {
				has_ai_personality = honorbound_warriors
				has_ai_personality = spiritual_seekers
				has_ai_personality = slaving_despots
				has_ai_personality = fanatic_purifiers
			}
		}
		modifier = {
			factor = @ai_civic_personality_forbid_factor
			OR = {
				has_ai_personality = evangelising_zealots
				has_ai_personality = erudite_explorers
				has_ai_personality = ruthless_capitalists
				has_ai_personality = peaceful_traders
				has_ai_personality = hegemonic_imperialists
				has_ai_personality = democratic_crusaders
				has_ai_personality = federation_builders
				has_ai_personality = fanatic_befrienders
			}
		}
	}

	modifier = {
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
	hide_modifiers = yes
}

civic_astrometeorology_megacorp = {
	playable = {
		has_cosmic_storms_dlc = yes
	}
	ai_playable = {
		has_cosmic_storms_dlc = yes
	}
	potential = {
		OR = {
			authority = {
				value = auth_corporate
			}
			civics = {
				value = civic_galactic_sovereign_megacorp
			}
		}
	}
	random_weight = {
		base = @civic_default_random_weight
	}
	ai_weight = {
		base = @ai_civic_default_base_weight
	}
	description = civic_astrometeorology_megacorp_effect_tooltip
}

civic_storm_callers_megacorp = {
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_storm_callers
			}
		}
		remove = {
			always = no
		}
	}
	alternate_civic_version = civic_storm_callers
	playable = { has_cosmic_storms_dlc = yes }
	ai_playable = { has_cosmic_storms_dlc = yes }
	description = "civic_storm_callers_megacorp_effect_tooltip"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		origin = {
			NOT = {
				value = origin_unplugged
			}
		}
	}
	traits = {
		trait = trait_storm_touched
	}
	modifier = {
		capital_storm_diplo_weight_mult = 0.20
		add_attunement_the_composer_of_strands = @civic_attunement1
	}
	random_weight = {
		base = @civic_default_random_weight
	}
}

civic_environmental_architects_megacorp = {
	playable = {
		has_cosmic_storms_dlc = yes
	}
	ai_playable = {
		has_cosmic_storms_dlc = yes
	}
	potential = {
		OR = {
			authority = {
				value = auth_corporate
			}
			civics = {
				value = civic_galactic_sovereign_megacorp
			}
		}
	}
	possible = {
		is_nomadic = no
		civics = {
			NOR = {
				value = civic_environmental_architects
				value = civic_environmentalist
			}
			NOR = {
				text = civic_tooltip_not_mutagenic
				value = civic_toxic_baths
				value = civic_toxic_baths_individual_machine
				value = civic_corporate_toxic_baths
				value = civic_corporate_toxic_baths_individual_machine
				value = civic_hive_toxic_baths
				value = civic_machine_toxic_baths
			}
			NOR = {
				text = civic_tooltip_not_relentless_industrialists
				value = civic_relentless_industrialists
				value = civic_corporate_relentless_industrialists
			}
		}
		origin = {
			NOR = {
				value = origin_remnants
				value = origin_post_apocalyptic
				value = origin_void_dwellers
				value = origin_shattered_ring
				value = origin_lithoid
				value = origin_machine
				value = origin_void_machines
			}
		}
	}
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_environmental_architects
			}
		}
		remove = {
			always = no
		}
	}
	alternate_civic_version = civic_environmental_architects
	random_weight = {
		base = @civic_default_random_weight
	}
	modifier = {
		planet_jobs_produces_mult = 0.1
		founder_species_growth_mult = 0.1
		planet_pops_upkeep_mult = -0.15
		planet_clear_blocker_speed_mult = 0.25
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
	description = civic_environmental_architects_megacorp_effect_tooltip
	negative_description = civic_environmental_architects_negative_effect_tooltip
}

########################
# Grand Archive Civics #
########################

civic_corporate_galactic_curators = {
	playable = { has_grand_archive_dlc = yes }
	ai_playable = { has_grand_archive_dlc = yes }
	description = "civic_corporate_galactic_curators_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = {
			NOT = { value = civic_galactic_curators }
		}
	}

	alternate_civic_version = civic_galactic_curators
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_galactic_curators
			}
		}
		remove = {
			always = no
		}
	}

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}

	modifier = {
		planet_jobs_unity_produces_mult = @galactic_curators_civic_unity_jobs_production_mult
		country_specimen_selling_cost_mult = 1.0
		country_exhibit_unlocking_cost_mult = -0.50
		ship_anomaly_generation_chance_mult = @galactic_curators_civic_anomaly_discovery_mult
		megastructures_grand_archive_cost_mult = @galactic_curators_grand_archive_cost_mult
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
}

civic_corporate_beastmasters = {
	playable = { has_grand_archive_dlc = yes }
	ai_playable = { has_grand_archive_dlc = yes }
	flags = { first_alien_life amoeba_encountered Story1 Story5 }
	description = "civic_corporate_beastmasters_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_beastmasters } }
	}
	possible = {
		civics = {
			NOR = {
				value = civic_privatized_exploration
				value = civic_corporate_galvanic_symbiosis
			}
		}
		origin = { NOT = { value = origin_cosmic_dawn } }
	}
	alternate_civic_version = civic_beastmasters
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_beastmasters
			}
		}
		remove = {
			always = no
		}
	}

	modifier = {
		starbase_shipyard_artificial_build_cost_mult = 2.0
		ship_military_artificial_upkeep_mult = 2.0
		space_fauna_ship_cost_mult = -0.15
		space_fauna_ship_upkeep_mult = -0.10
		add_attunement_the_composer_of_strands = @civic_attunement1
	}

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}
}

civic_corporate_genetic_identification = {
	playable = { has_biogenesis_dlc = yes }
	ai_playable = { has_biogenesis_dlc = yes }
	description = "civic_corporate_genetic_identification_effects"
	potential = {
		ethics = { NOT = { value = ethic_gestalt_consciousness } }
		OR = {
            authority = { value = auth_corporate }
            civics = { value = civic_galactic_sovereign_megacorp }
        }
		civics = { NOT = { value = civic_genetic_identification } }
		species_archetype = { NOT = { value = MACHINE } }
	}

	possible = {
		species_archetype = {
			NOT = {
				value = MACHINE
			}
		}
	}
	alternate_civic_version = civic_genetic_identification

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}

	modifier = {
		planet_bureaucrats_society_research_produces_add = 1.5
		planet_crime_mult = -0.15
		intel_encryption_add = 1
		add_attunement_the_instrument_of_desire = @civic_attunement1
	}
}

civic_corporate_crowdsourcing = {
	playable = { has_biogenesis_dlc = yes }
	ai_playable = { has_biogenesis_dlc = yes }
	description = "civic_corporate_crowdsourcing_effects"
	potential = {
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
		OR = {
            authority = { value = auth_corporate }
            civics = { value = civic_galactic_sovereign_megacorp }
        }
	}
	possible = {
		ethics = {
			NOR = {
				text = civic_tooltip_not_fanatic
				value = ethic_fanatic_xenophobe
				value = ethic_fanatic_xenophile
				value = ethic_fanatic_authoritarian
				value = ethic_fanatic_militarist
				value = ethic_fanatic_pacifist
				value = ethic_fanatic_spiritualist
				value = ethic_fanatic_materialist
				value = ethic_fanatic_egalitarian
			}
		}
		civics = {
			NOR = {
				value = civic_crowdsourcing
				value = civic_parliamentary_system
				value = civic_media_conglomerate
				value = civic_secret_societies
				value = civic_secret_societies_corporate
			}
		}
	}
	alternate_civic_version = civic_crowdsourcing

	modifier = {
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}
	hide_modifiers = yes

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}
}

#############################
# Corporate - Shroud Civics #
#############################

civic_entropy_drinkers_corporate = {
	description = "civic_entropy_drinkers_corporate_effects"
	playable = { has_shroud_dlc = yes }
	ai_playable = { has_shroud_dlc = yes }

	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_entropy_drinkers } }
	}
	possible = {
		ethics = {
			NOR = {
				text = civic_tooltip_not_egalitarian
				value = ethic_egalitarian
				value = ethic_fanatic_egalitarian
			}
		}
		civics = {
			NOR = {
				value = civic_memorialist
				value = civic_natural_design
				value = civic_entropy_drinkers
				value = civic_augmentation_bazaars
			}
		}
		origin = {
			NOR = {
				value = origin_mindwardens
				value = origin_cybernetic_creed
				value = origin_synthetic_fertility
				value = origin_evolutionary_predators
				value = origin_unplugged
			}
		}
	}
	alternate_civic_version = civic_entropy_drinkers

	modification = {
		moddable_conditions_custom_tooltip = CIVIC_NOT_MODDABLE_ONLY_REMOVE
		add = {
			OR = {
				has_technology = tech_psionic_theory
				custom_tooltip = {
					success_text = has_not_begun_non_psionic_ascension_success
					fail_text = has_not_begun_non_psionic_ascension_fail
					NOR = {
						has_ascension_perk = ap_engineered_evolution
						has_ascension_perk = ap_the_flesh_is_weak
						has_ascension_perk = ap_organo_machine_interfacing
						has_ascension_perk = ap_organo_machine_interfacing_assimilator
						has_ascension_perk = ap_synthetic_evolution
						has_ascension_perk = ap_synthetic_age
					}
				}
				has_civic = civic_entropy_drinkers
			}
		}
		remove = {
			custom_tooltip = {
				fail_text = CIVIC_LOCKED
				always = no
			}
		}
	}

	random_weight = {
		base = @civic_default_random_weight
	}

	custom_tooltip_with_modifiers = civic_entropy_drinkers_psionic_modifier
	modifier = {
		planet_jobs_produces_mult = -0.1
		all_technology_research_speed = -0.1
		logistic_growth_mult = -0.1
		planet_pop_assembly_mult = -0.1
		leaders_upkeep_mult = -0.5
		leader_lifespan_mult = 0.5
	}
}

civic_corporate_superstitious_beliefs = {
	playable = { has_shroud_dlc = yes }
	ai_playable = { has_shroud_dlc = yes }
	description = "civic_corporate_superstitious_beliefs_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_superstitious_beliefs } }
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_spiritualist
				value = ethic_spiritualist
				value = ethic_fanatic_spiritualist
			}
		}
		origin = {
			NOT = {
				value = origin_cybernetic_creed
			}
		}
		civics = {
			NOT = { value = civic_superstitious_beliefs }
		}
	}

	alternate_civic_version = civic_superstitious_beliefs
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_superstitious_beliefs
			}
		}
		remove = {
			always = no
		}
	}

	random_weight = { base = @civic_default_random_weight }
}

civic_twisted_experimenters_corporate = {
	playable = {
		has_shroud_dlc = yes
	}
	ai_playable = {
		has_shroud_dlc = yes
	}
	description = "civic_twisted_experimenters_corporate_effects"

	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_twisted_experimenters } }
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_authoritarian_or_xenophobe
				value = ethic_authoritarian
				value = ethic_fanatic_authoritarian
				value = ethic_xenophobe
				value = ethic_fanatic_xenophobe
			}
		}
		civics = {
			NOT = {
				value = civic_natural_design
			}
		}
		species_archetype = {
			NOT = {
				value = MACHINE
			}
		}
	}
	alternate_civic_version = civic_twisted_experimenters

	modifier = {
		crime_experiment_engineer_bonus_workforce_mult = 0.1
		refugee_attraction = -0.15
	}

	random_weight = {
		base = @civic_default_random_weight
	}
}

civic_secret_societies_corporate = {
	playable = { has_shroud_dlc = yes }
	ai_playable = { has_shroud_dlc = yes }
	flags = { suppress_vanilla_factions }
	description = "civic_secret_societies_corporate_effects"
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_secret_societies } }
	}
	possible = {
		civics = {
			NOR = {
				value = civic_parliamentary_system
				value = civic_media_conglomerate
				value = civic_crowdsourcing
				value = civic_corporate_crowdsourcing
				value = civic_secret_societies
			}
			NOR = {
				text = civic_tooltip_not_scorched_earth
				value = civic_scorched_earth
				value = civic_hive_scorched_earth
			}
		}
		origin = {
			NOR = {
				value = origin_broken_shackles
				value = origin_cybernetic_creed
				value = origin_unplugged
			}
		}
	}

	modifier = {
		proxy_war_cost_mult = -0.25
		operations_cost_mult = -0.5
		envoys_add = 1
		intel_encryption_add = 1
	}

	alternate_civic_version = civic_secret_societies
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_secret_societies
			}
		}
		remove = {
			always = no
		}
	}

	random_weight = {
		base = @civic_default_random_weight
	}
}

civic_corporate_chosen = {
	playable = { has_shroud_dlc = yes }
	ai_playable = { has_shroud_dlc = yes }
	description = "civic_corporate_chosen_effects"

	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_chosen } }
	}
	possible = {
		ethics = {
			OR = {
				text = civic_tooltip_spiritualist
				value = ethic_spiritualist
				value = ethic_fanatic_spiritualist
			}
		}
		origin = {
			NOR = {
				value = origin_cybernetic_creed
				value = origin_synthetic_fertility
				value = origin_evolutionary_predators
				value = origin_mindwardens
				value = origin_endbringers
				value = origin_unplugged
			}
		}
		civics = {
			NOT = {
				value = civic_augmentation_bazaars
			}
		}
	}

	modifier = {
		psionic_aura_intensity_add = 10
	}
	custom_tooltip_with_modifiers = "civic_chosen_effects_additional"

	alternate_civic_version = civic_chosen
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_chosen
			}
		}
		remove = {
			always = no
		}
	}

	random_weight = { base = @civic_default_random_weight }
}

civic_tankbound_corporate = {
	playable = { has_shroud_dlc = yes }
	ai_playable = { has_shroud_dlc = yes }
	description = "civic_tankbound_corporate_effects"
	negative_description = "civic_tankbound_negative_effects"

	potential = {
		ethics = { NOT = { value = ethic_gestalt_consciousness } }
		OR = {
            authority = { value = auth_corporate }
            civics = { value = civic_galactic_sovereign_megacorp }
        }
		civics = { NOT = { value = civic_tankbound } }
	}
	possible = {
		origin = {
			NOR = {
				value = origin_broken_shackles
				value = origin_payback
				value = origin_toxic_knights
				value = origin_clone_army
				value = origin_primal_calling
				value = origin_syncretic_evolution
				value = origin_unplugged
			}
		}
		civics = {
			NOR = {
				value = civic_corporate_anglers
				value = civic_indentured_assets
				value = civic_private_military_companies
				value = civic_tankbound
			}
		}
		species_class = {
			OR = {
				text = tankbound_species_class_requirement
				value = NECROID
				value = TOX
				value = AQUATIC
				value = INF
			}
		}
	}

	alternate_civic_version = civic_tankbound
	modification = {
		add = {
			hidden_trigger = {
				has_civic = civic_tankbound
			}
		}
		remove = {
			always = no
		}
	}

	traits = {
		trait = trait_tankbound
	}

	modifier = {
		planet_automated_jobs_upkeep_mult = @civic_tankbound_job_upkeep
		job_farmer_automated_workforce_mult = 1.0
		job_miner_automated_workforce_mult = 1.0
		job_technician_automated_workforce_mult = 1.0
	}

	random_weight = { base = @civic_default_random_weight }
}

civic_corporate_world_forgers = {
	modification = {
		add = {
			hidden_trigger = { has_civic = civic_world_forgers }
		}
		remove = { always = no }
	}
	alternate_civic_version = civic_world_forgers
	playable = { has_infernals = yes }
	ai_playable = { has_infernals = yes }
	description = "civic_world_forgers_effects"
	potential = {
		ethics = { NOT = { value = ethic_gestalt_consciousness } }
		OR = {
            authority = { value = auth_corporate }
            civics = { value = civic_galactic_sovereign_megacorp }
        }
	}
	possible = {
		# this does not prevent the empire from rolling the bioship at random
		# see 'ship_selection_weight' in biogenesis_01/02 definitions in 00_graphical_culture.txt
		is_nomadic = no
		graphical_culture = {
			NOR = {
				text = graphical_culture_tooltip_not_biological
				value = biogenesis_01
				value = biogenesis_02
			}
		}
		civics = {
			NOR = {
				text = civic_tooltip_not_relentless_industrialists
				value = civic_relentless_industrialists
				value = civic_corporate_relentless_industrialists
			}
		}
		origin = {
			NOT = {
				value = origin_ocean_paradise
			}
		}
	}
	modifier = {
		pc_volcanic_max_districts_add = 3
		pc_volcanic_habitability = 0.2
	}
	removed_climate_labels = { TYPE_HEADER_03 }
	added_climate_labels = { TYPE_HEADER_04 }
	removed_planet_types = { pc_arctic pc_alpine pc_tundra }
	added_planet_types = { pc_volcanic }
}

civic_corporate_galvanic_symbiosis = {
	modification = {
		add = {
			hidden_trigger = { has_civic = civic_galvanic_symbiosis }
		}
		remove = { always = no }
	}
	alternate_civic_version = civic_galvanic_symbiosis
	playable = { has_infernals = yes }
	ai_playable = { has_infernals = yes }
	description = "civic_corporate_galvanic_symbiosis_effects"
	potential = {
		ethics = { NOT = { value = ethic_gestalt_consciousness } }
		OR = {
            authority = { value = auth_corporate }
            civics = { value = civic_galactic_sovereign_megacorp }
        }
	}
	possible = {
		species_class = { value = INF }
		origin = {
			NOT = {
				value = origin_synthetic_fertility
			}
		}
		civics = {
			NOT = {
				value = civic_corporate_beastmasters
			}
		}
	}
	modifier = {
		planet_building_refund_mult = 0.75
	}
	random_weight = {
		base = @civic_rare_random_weight
		modifier = {
			factor = 0
			NOT = { host_has_dlc = "Infernals Species Pack" }
		}
	}
}

#################
# Nomads Civics #
#################

civic_caravan_masters_corporate = {
	playable = { has_nomads_dlc = yes }
	ai_playable = { has_nomads_dlc = yes }
	description = "civic_caravan_masters_effects_corporate"
	potential = {
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		is_nomadic = yes
	}
	modifier = {
		country_starbase_capacity_add = 2
        country_starbase_capacity_mult = 0.1
		megastructures_waystations_cost_mult = -0.2
		starbase_waystations_cost_mult = -0.2
		add_attunement_the_cradle_of_souls = @civic_attunement1
	}
}

civic_corporate_deep_sleep = {
	playable = { has_nomads_dlc = yes }
	ai_playable = { has_nomads_dlc = yes }
	description = "civic_corporate_deep_sleep_effects"
	potential = {
		ethics = {
			NOT = {
				value = ethic_gestalt_consciousness
			}
		}
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
	}
	possible = {
		is_nomadic = yes
		origin = {
			NOT = { value = origin_synthetic_fertility }
		}
	}

	modifier = {}

	custom_tooltip_with_modifiers = "civic_deep_sleep_effects_additional"
}

civic_corporate_flight_schools = {
	modification = yes
	playable = { has_nomads_dlc = yes }
	ai_playable = { has_nomads_dlc = yes }
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		civics = { NOT = { value = civic_flight_schools } }
	}
	description = "civic_corporate_flight_schools_effect_tooltip"
	alternate_civic_version = civic_flight_schools

	swap_type = {
		description = "civic_corporate_flight_schools_effect_nomadic_tooltip"

		trigger = {
			exists = this
			is_nomadic = yes
		}
	}

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}

	modifier = {
		weapon_type_strike_craft_weapon_fire_rate_mult = 0.15
		ship_speed_mult = 0.1
	}
}

civic_corporate_hired_guns = {
	modification = yes
	playable = { has_nomads_dlc = yes }
	ai_playable = { has_nomads_dlc = yes }
	potential = {
		ethics = {
			NOT = { value = ethic_gestalt_consciousness }
		}
		authority = { value = auth_corporate }
		civics = { NOT = { value = civic_hired_guns } }
	}
	possible = {
		is_nomadic = yes
		ethics = {
			OR = {
				text = civic_tooltip_militarist
				value = ethic_militarist
				value = ethic_fanatic_militarist
			}
		}
		civics = {
			NOR = {
				value = civic_warrior_culture
				value = civic_tankbound_corporate
			}
		}
	}
	description = "civic_corporate_hired_guns_effect_tooltip"
	alternate_civic_version = civic_hired_guns

	swap_type = {
		trigger = {
			host_has_dlc = "Overlord"
		}

		modifier = {
			country_enclave_capacity_add = 2
		}
		description = "civic_corporate_hired_guns_effect_tooltip"
	}

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}
}
civic_corporate_star_seekers = {
	modification = yes
	playable = { has_nomads_dlc = yes }
	ai_playable = { has_nomads_dlc = yes }
	potential = {
		OR = {
			authority = { value = auth_corporate }
			civics = { value = civic_galactic_sovereign_megacorp }
		}
		is_nomadic = yes
	}
	possible = {}
	description = "civic_star_seekers_effect_tooltip"

	random_weight = {
		base = @civic_rare_random_weight
	}
	ai_weight = {
		base = @civic_rare_random_weight
	}

	modifier = {
		ship_speed_mult = 0.2
	}
}
