﻿# Vanilla changes

INJECT:amendment_generic_sponsor_polstr_increase = {
	sponsor_modifier = {
		state_tax_waste_add = 0.01
		country_bureaucracy_mult = -0.02
	}
}

INJECT:amendment_generic_sponsor_polstr_approval_increase = {
	sponsor_modifier = {
		state_tax_waste_add = 0.01
		country_bureaucracy_mult = -0.02
	}
}

INJECT:amendment_generic_sponsor_polstr_increase_negotiation_1 = {
	sponsor_modifier = {
		state_tax_waste_add = 0.01
		country_bureaucracy_mult = -0.02
	}
}

INJECT:amendment_generic_sponsor_polstr_increase_negotiation_2 = {
	sponsor_modifier = {
		state_tax_waste_add = 0.015
		country_bureaucracy_mult = -0.03
	}
}

INJECT:amendment_generic_sponsor_polstr_increase_negotiation_3 = {
	sponsor_modifier = {
		state_tax_waste_add = 0.02
		country_bureaucracy_mult = -0.04
	}
}


# Ultra Unique amendments

amendment_3_class_franchise = {
	parent = law_wealth_voting

	allowed_laws = {
		law_census_voting
		law_universal_suffrage
	}

	modifier = {
		country_authority_add = 50
		country_voting_power_base_add = -25
		country_electoral_confidence_impact_mult = -0.1
		country_legitimacy_ideological_incoherence_mult = 0.1
		interest_group_ig_landowners_pol_str_mult = 0.25
		state_political_strength_from_wealth_mult = 0.5
		country_capitalists_pol_str_mult = 0.5
		country_aristocrats_pol_str_mult = 0.5
	}

	possible = {
		country_has_primary_culture = cu:north_german
		has_law_or_variant = law_type:law_monarchy
	}

	would_sponsor = {
		OR = {
			is_interest_group_type = ig_landowners
			is_interest_group_type = ig_industrialists
			is_interest_group_type = ig_armed_forces
			AND = {
				is_interest_group_type = ig_petty_bourgeoisie
				AND = {
					exists = scope:approval
					scope:approval > 0
				}
			}
		}
	}

	ai_will_revoke = {
		NOT = {
			any_interest_group = {
				is_in_government = yes
				OR = {
					is_interest_group_type = ig_landowners
					is_interest_group_type = ig_industrialists
					is_interest_group_type = ig_armed_forces
				}
			}
		}
	}

	can_repeal = {
		legitimacy >= legitimacy_to_repeal_amendment
		OR = {
			NOT = {
				has_law_or_variant = law_type:law_monarchy
			}
			scope:country = c:GER
			scope:country = c:NGF
		}
	}

	amendment_activism_multiplier = 0.5
}

amendment_reform_act_1832 = {
	parent = law_landed_voting

	allowed_laws = {
		law_wealth_voting
	}

	modifier = {
		country_voting_power_base_add = -10
		country_electoral_confidence_impact_mult = -0.1
		country_legitimacy_ideological_incoherence_mult = 0.1
		interest_group_ig_landowners_pol_str_mult = 0.25
	}

	possible = {
		country_has_primary_culture = cu:british
		has_law_or_variant = law_type:law_monarchy
	}

	would_sponsor = {
		OR = {
			is_interest_group_type = ig_landowners
		}
	}

	ai_will_revoke = {
		NOT = {
			any_interest_group = {
				is_in_government = yes
				is_interest_group_type = ig_landowners
			}
		}
	}

	can_repeal = {
		legitimacy >= legitimacy_to_repeal_amendment
	}

	amendment_activism_multiplier = 0.5
}



amendment_light_migration_controls = {
	parent = law_migration_controls

	allowed_laws = {
		law_no_migration_controls
	}

	modifier = {
		country_migration_restrictiveness_add = 20
	}

	possible = {
		always = yes
	}

	would_sponsor = {
		always = yes
	}

	ai_will_revoke = {
		any_interest_group = {
				is_in_government = yes
				OR = {
					is_interest_group_type = ig_petty_bourgeoisie
					is_interest_group_type = ig_rural_folk
					has_ideology = ideology:ideology_ethno_nationalist
					has_ideology = ideology:ideology_fascist
				}
			}
	}

	can_repeal = {
		legitimacy >= legitimacy_to_repeal_amendment
	}

	amendment_activism_multiplier = 0.1
}