# Federation Perks
#
# Perks are the bonuses a federation unlocks as it levels up. A perk is granted by listing its
# key under a level's "perks" block in a federation type (common/federation_types/). The perk key
# is also its localisation name key. Define the actual perk entries in 00_perks.txt.
#
# federation_perk_example = {
#
#	### Identity ###
#
#	icon = GFX_example_perk                       # Icon for the perk. Defaults to "gfx/interface/icons/federation/federation_perks/<perk key>.dds" if omitted.
#
#	custom_tooltip = example_perk_effect          # Localisation key shown instead of the auto-generated modifier description. Use when the effect is scripted rather than a plain modifier.
#
#	### Flat modifiers (always active while the perk is unlocked) ###
#
#	federation_modifier = {                       # Modifier applied to the federation itself. Scope = Federation.
#		description = example_perk_effect          # Optional override for this block's tooltip line.
#	}
#
#	members_modifier = {                          # Modifier applied to every member, including the president. Scope = Country.
#	}
#
#	leader_modifier = {                           # Modifier applied only to the federation president. Scope = Country.
#	}
#
#	envoy_modifier = {                            # Modifier applied once per envoy assigned to the federation.
#	}
#
#	### Conditional modifiers (applied only while their potential is true) ###
#
#	federation_triggered_modifier = {             # Conditional federation modifier. Scope = Federation.
#		potential = {                             # Condition for the modifier to apply.
#			always = yes
#		}
#		# modifier values go here, e.g. cohesion_add = 10
#	}
#
#	member_triggered_modifier = {                 # Conditional modifier applied to each member that qualifies. Scope = Country.
#		key = example_perk                        # Optional identifier; used to merge/group the modifier in tooltips.
#		potential = {
#			has_crisis = yes
#		}
#		all_technology_research_speed = 0.10
#	}
#
#	leader_triggered_modifier = {                 # Conditional modifier applied to the president when it qualifies. Scope = Country.
#		potential = {
#			always = yes
#		}
#	}
#
#	### Events ###
#
#	on_activate = {                               # Effects run when the perk is unlocked. Scope = Federation.
#		set_federation_settings = {               # Toggle built-in federation settings. Also usable in a federation type's on_create and a law's on_enact.
#			commercial_pact = yes                 # Free, automatic Commercial Pacts between all members (default no).
#			waystation_pact = yes                 # Free, automatic Wayline Pacts between all members; Nomads DLC only (default no).
#			research_sharing = yes                # Free, automatic Research Sharing between all members (default no).
#			research_agreement = yes              # Free, automatic Research Agreements between all members (default no).
#			free_migration = yes                  # Free migration between all members (default no).
#			allow_subjects_to_join = yes          # Members' subjects may join the federation (default yes).
#			equal_voting_power = yes              # All members vote with equal weight (default yes).
#			only_leader_builds_fleets = yes       # Only the president may build federation fleets (default no).
#			failed_vote_half_price = yes          # Failed votes cost half the usual influence (default no).
#		}                                         # Note: free_migration, allow_subjects_to_join and equal_voting_power are normally driven by federation laws instead.
#	}
#
#	on_deactivate = {                             # Effects run when the perk is lost (e.g. the level decays). Scope = Federation. Usually mirrors on_activate with the value flipped.
#		set_federation_settings = {
#			commercial_pact = no
#		}
#	}
#
# }
