# Prevent certain events from ever happening
disable_events = {
	FRA = {
		if = {
			limit = {
				is_ai = yes # Exclude other player-controlled nations that might be working with Germany
			}
			country_event = { id = ragnarok.91 } # Disable French non-intervention in Spain decisions
		}
	}
	GER = { set_country_flag = FRA_non_intervention_refused } # Ensure Germany never gets asked

	MEX = {
		if = {
			limit = {
				is_ai = yes # Exclude other player-controlled nations that might be working with Germany
			}
			set_global_flag = flag_second_mexican_civil_war
		}
	}
}

# All countries in the Allies join France in declaring war on Germany
all_allies_join_war_against_germany = {
	every_country = {
		limit = {
			is_in_faction_with = ENG
			NOT = { has_war_with = GER }
		}

		add_to_war = { targeted_alliance = FRA enemy = GER hostility_reason = ally }
	}
}

# Prevents rebel countries popping up during the war
resistance_disabled = {
	every_owned_state = {
		limit = {
			has_resistance = yes
		}

		add_resistance = -100
		force_disable_resistance = THIS
	}
}
