# Federation Laws
#
# A federation law is one selectable option within a law category (common/federation_law_categories/).
# Every law must be listed in exactly one category. Members vote laws in; the law key is also its
# localisation name key. Apply a law directly with the set_federation_law effect.
#
# federation_law_example = {
#
#	### Availability ###
#
#	potential = {                                 # Whether the law appears as a voting option at all. Scope = Federation.
#		NOT = { has_federation_flag = special_federation }
#	}
#
#	allow = {                                     # Whether the law can be enacted right now (requirements, cooldowns). Scope = Federation.
#		custom_tooltip = {
#			fail_text = "requires_federation_lvl_2"
#			federation_level > 1
#		}
#	}
#
#	### Centralization gating ###
#
#	display_level = 2                             # Federation level (centralization tier) required before this law is shown in the UI.
#
#	unlocks_centralization = 2                    # Centralization tier this law unlocks (1-5). Use 0 / omit for non-centralization laws. Must be > 0 only inside a centralization category.
#
#	required_centralization = 2                   # Scriptable minimum centralization required to enact this law. Scope = Federation. Accepts variables/script values.
#
#	### Ongoing effect ###
#
#	cohesion_growth = -1                          # Flat change to federation cohesion growth while this law is active. Negative reduces cohesion.
#
#	modifier = {                                  # Static modifier applied while this law is enacted.
#		description = federation_law_example_effect  # Optional override for the modifier's tooltip line.
#	}
#
#	on_enact = {                                  # Effects run when the law is successfully enacted. Scope = Federation.
#		add_cohesion = -10
#	}
#
#	### AI ###
#
#	ai_weight = {                                 # AI desirability of voting for this law. Scope = Country.
#		base = 0
#		modifier = {
#			desc = federation_acceptance_generally_positive
#			add = 26
#		}
#	}
#
# }
