﻿remove_prefect_modifiers_effect_rome = {
	hidden_effect = {
		scope:liege ?= {
			if = {
				limit = {
					title:c_roma = {
						has_county_modifier = aurelian_walls_prefect_1
					}
				}
				title:c_roma = {
					remove_county_modifier = aurelian_walls_prefect_1
				}
			}
		}
		scope:liege ?= {
			if = {
				limit = {
					province:2575 = {
						has_province_modifier = aurelian_walls_prefect_2
					}
				}
				province:2575 = {
					remove_province_modifier = aurelian_walls_prefect_2
				}
			}
		}

		scope:liege ?= {
			if = {
				limit = {
					title:c_roma = {
						has_county_modifier = aurelian_walls_prefect_3
					}
				}
				title:c_roma = {
					remove_county_modifier = aurelian_walls_prefect_3
				}
			}
		}
	}
}

remove_prefect_modifiers_effect_byz = {
	hidden_effect = {
		scope:liege ?= {
			if = {
				limit = {
					title:c_byzantion = {
						has_county_modifier = theodosian_walls_domestikos_1
					}
				}
				title:c_byzantion = {
					remove_county_modifier = theodosian_walls_domestikos_1
				}
			}
		}
		scope:liege ?= {
			if = {
				limit = {
					province:496 = {
						has_province_modifier = theodosian_walls_domestikos_2
					}
				}
				province:496 = {
					remove_province_modifier = theodosian_walls_domestikos_2
				}
			}
		}

		scope:liege ?= {
			if = {
				limit = {
					title:c_byzantion = {
						has_county_modifier = theodosian_walls_domestikos_3
					}
				}
				title:c_byzantion = {
					remove_county_modifier = theodosian_walls_domestikos_3
				}
			}
		}
	}
}