# TODO: Rename to be more in line with other culture triggers
german_cultures_trigger = {
	custom_tooltip = {
		text = GERMAN_CULTURES_TRIGGER

		culture_group = central_germanic

		NOR = {
			culture = suebi
			culture = lombard
		}
	}
}

potential_late_german_cultures_trigger = {
	custom_tooltip = {
		text = POTENTIAL_LATE_GERMAN_CULTURES_TRIGGER

		OR = {
			culture = saxon
			culture = bavarian
		}
	}
}

late_german_cultures_trigger = {
	custom_tooltip = {
		text = LATE_GERMAN_CULTURES_TRIGGER

		OR = {
			culture = teutonic
			culture = austrian
		}
	}
}

german_cultures_no_old_german_trigger = {
	OR = {
		culture = german
		culture = swabian
		culture = franconian
		culture = swiss
		culture = teutonic
		culture = austrian
	}
}

german_cultures_no_german_trigger = {
	OR = {
		culture = alemannic
		culture = swabian
		culture = franconian
		culture = swiss
		culture = teutonic
		culture = thuringian
		culture = bavarian
		culture = austrian
		culture = saxon
	}
}

compare_cultures_ROOT_trigger = { # Compares the culture of the current scope with ROOT and returns true if they are the same, or part of an exception
	trigger_if = {
		limit = { german_cultures_trigger = yes }
		ROOT = { german_cultures_trigger = yes }
	}
	trigger_else_if = {
		limit = { is_italian_trigger = yes }
		ROOT = { is_italian_trigger = yes }
	}
	trigger_else_if = {
		limit = { is_greek_trigger = yes }
		ROOT = { is_greek_trigger = yes }
	}
	trigger_else = {
		culture = ROOT
	}
}

compare_cultures_FROM_trigger = { # Compares the culture of the current scope with FROM and returns true if they are the same, or part of an exception
	trigger_if = {
		limit = { german_cultures_trigger = yes }
		FROM = { german_cultures_trigger = yes }
	}
	trigger_else_if = {
		limit = { is_italian_trigger = yes }
		FROM = { is_italian_trigger = yes }
	}
	trigger_else_if = {
		limit = { is_greek_trigger = yes }
		FROM = { is_greek_trigger = yes }
	}
	trigger_else = {
		culture = FROM
	}
}

german_culture_region_trigger = { # Checks if is within "German" area
	OR = {
		region = custom_germany
		region = custom_lotharingia
		region = custom_swiss
	}
}

late_german_culture_region_trigger = {
	OR = {
		region = custom_austrian
		region = custom_prussian
	}
}

is_greek_trigger = {
	OR = {
		culture = greek
		culture = pontic_greek
		culture = sicilian_greek
	}
}

is_italian_trigger = {
	custom_tooltip = {
		text = IS_ITALIAN_TRIGGER

		trigger_if = {
			limit = { culture_group = italian_group }
			NOT = { culture = sicilian }
		}
		trigger_else = {
			culture_group = island_romance
		}
	}
}

is_italian_cultural_unitor_trigger = {
	OR = {
        culture = emilian
        culture = ligurian
        culture = lombard_italian
        culture = neapolitan
        culture = tuscan
        culture = umbrian
        culture = veneto
    }
}

is_dalmatian_meltingpot_culture_italian = {
	culture_group = italian_group

	NOR = {
        culture = dalmatian
		culture = sicilian
    }
}

is_dalmatian_meltingpot_culture_yugoslav = {
	OR = {
        culture = yugoslavian
        culture = croatian
		culture = slovien # TODO: Change back to 'slovene' in the big culture redo
        culture = serbian
    }
}

is_greekpersian_meltingpot_greek = {
	OR = {
		culture = greek
		culture = pontic_greek
	}
}

is_greekpersian_meltingpot_persian = {
	OR = {
		culture = persian
		culture = sogdian
		culture = baloch
		culture = afghan
	}
}

is_israelite_meltingpot_israeli = {
	OR = {
		culture_group = israelite
		religion_group = jewish_group
	}

	NOT = { culture = israeli }
}