﻿##############################################
#
# CULTURE
#
##############################################
	

##############################################
#
# CULTURE EXPANDED MASTER SCRIPTED EFFECTS
#
##############################################
##############################################
#
# Whole Realm Conversion
#
##############################################
ce_convert_realm_from_old_culture_to_new_effect = {
	# For localization
	$OLD_CULTURE$ = { save_scope_as = old_culture }
	$NEW_CULTURE$ = { save_scope_as = new_culture }
	every_county_in_region = {
		region = $REGION$
        limit = {
            culture = $OLD_CULTURE$
        }
        set_county_culture = $NEW_CULTURE$
    }
	every_ruler = {
		limit = {
			location = { geographical_region = $REGION$ }
		}
		if = {
			limit = {
				culture = $OLD_CULTURE$
			}
			set_culture = $NEW_CULTURE$
		} 
		every_courtier_or_guest = {
			limit = {
				culture = $OLD_CULTURE$
			}
			set_culture = $NEW_CULTURE$
		}
	}
}