﻿# Effects for axes of court

RE_axis_recount_diplo = {
	if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var <= 14
				has_character_modifier = RE_court_diplo_1_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_1_verhigh
		add_character_modifier = RE_court_diplo_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var <= 14
				has_character_modifier = RE_court_diplo_1_high
			}
		}
		remove_character_modifier = RE_court_diplo_1_high
		add_character_modifier = RE_court_diplo_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var <= 14
				has_character_modifier = RE_court_diplo_1_low
			}
		}
		remove_character_modifier = RE_court_diplo_1_low
		add_character_modifier = RE_court_diplo_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var <= 14
				NOT = { has_character_modifier = RE_court_diplo_1_verlow }
			}
		}
		add_character_modifier = RE_court_diplo_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 15
				var:RE_court_diplo_1_var <= 34
				has_character_modifier = RE_court_diplo_1_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_1_verhigh
		add_character_modifier = RE_court_diplo_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 15
				var:RE_court_diplo_1_var <= 34
				has_character_modifier = RE_court_diplo_1_high
			}
		}
		remove_character_modifier = RE_court_diplo_1_high
		add_character_modifier = RE_court_diplo_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 15
				var:RE_court_diplo_1_var <= 34
				has_character_modifier = RE_court_diplo_1_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_1_verlow
		add_character_modifier = RE_court_diplo_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 15
				var:RE_court_diplo_1_var <= 34
				NOT = { has_character_modifier = RE_court_diplo_1_low }
			}
		}
		add_character_modifier = RE_court_diplo_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 35
				var:RE_court_diplo_1_var <= 65
				has_character_modifier = RE_court_diplo_1_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 35
				var:RE_court_diplo_1_var <= 65
				has_character_modifier = RE_court_diplo_1_high
			}
		}
		remove_character_modifier = RE_court_diplo_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 35
				var:RE_court_diplo_1_var <= 65
				has_character_modifier = RE_court_diplo_1_low
			}
		}
		remove_character_modifier = RE_court_diplo_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 35
				var:RE_court_diplo_1_var <= 65
				has_character_modifier = RE_court_diplo_1_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 66
				var:RE_court_diplo_1_var <= 85
				has_character_modifier = RE_court_diplo_1_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_1_verhigh
		add_character_modifier = RE_court_diplo_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 66
				var:RE_court_diplo_1_var <= 85
				has_character_modifier = RE_court_diplo_1_low
			}
		}
		remove_character_modifier = RE_court_diplo_1_low
		add_character_modifier = RE_court_diplo_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 66
				var:RE_court_diplo_1_var <= 85
				has_character_modifier = RE_court_diplo_1_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_1_verlow
		add_character_modifier = RE_court_diplo_1_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 66
				var:RE_court_diplo_1_var <= 85
				NOT = { has_character_modifier = RE_court_diplo_1_high }
			}
		}
		add_character_modifier = RE_court_diplo_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 86
				has_character_modifier = RE_court_diplo_1_high
			}
		}
		remove_character_modifier = RE_court_diplo_1_high
		add_character_modifier = RE_court_diplo_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 86
				has_character_modifier = RE_court_diplo_1_low
			}
		}
		remove_character_modifier = RE_court_diplo_1_low
		add_character_modifier = RE_court_diplo_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 86
				has_character_modifier = RE_court_diplo_1_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_1_verlow
		add_character_modifier = RE_court_diplo_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_1_var >= 86
				NOT = { has_character_modifier = RE_court_diplo_1_verhigh }
			}
		}
		add_character_modifier = RE_court_diplo_1_verhigh
	}
	else = { }
	
	if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var <= 14
				has_character_modifier = RE_court_diplo_2_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_2_verhigh
		add_character_modifier = RE_court_diplo_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var <= 14
				has_character_modifier = RE_court_diplo_2_high
			}
		}
		remove_character_modifier = RE_court_diplo_2_high
		add_character_modifier = RE_court_diplo_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var <= 14
				has_character_modifier = RE_court_diplo_2_low
			}
		}
		remove_character_modifier = RE_court_diplo_2_low
		add_character_modifier = RE_court_diplo_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var <= 14
				NOT = { has_character_modifier = RE_court_diplo_2_verlow }
			}
		}
		add_character_modifier = RE_court_diplo_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 15
				var:RE_court_diplo_2_var <= 34
				has_character_modifier = RE_court_diplo_2_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_2_verhigh
		add_character_modifier = RE_court_diplo_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 15
				var:RE_court_diplo_2_var <= 34
				has_character_modifier = RE_court_diplo_2_high
			}
		}
		remove_character_modifier = RE_court_diplo_2_high
		add_character_modifier = RE_court_diplo_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 15
				var:RE_court_diplo_2_var <= 34
				has_character_modifier = RE_court_diplo_2_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_2_verlow
		add_character_modifier = RE_court_diplo_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 15
				var:RE_court_diplo_2_var <= 34
				NOT = { has_character_modifier = RE_court_diplo_2_low }
			}
		}
		add_character_modifier = RE_court_diplo_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 35
				var:RE_court_diplo_2_var <= 65
				has_character_modifier = RE_court_diplo_2_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 35
				var:RE_court_diplo_2_var <= 65
				has_character_modifier = RE_court_diplo_2_high
			}
		}
		remove_character_modifier = RE_court_diplo_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 35
				var:RE_court_diplo_2_var <= 65
				has_character_modifier = RE_court_diplo_2_low
			}
		}
		remove_character_modifier = RE_court_diplo_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 35
				var:RE_court_diplo_2_var <= 65
				has_character_modifier = RE_court_diplo_2_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 66
				var:RE_court_diplo_2_var <= 85
				has_character_modifier = RE_court_diplo_2_verhigh
			}
		}
		remove_character_modifier = RE_court_diplo_2_verhigh
		add_character_modifier = RE_court_diplo_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 66
				var:RE_court_diplo_2_var <= 85
				has_character_modifier = RE_court_diplo_2_low
			}
		}
		remove_character_modifier = RE_court_diplo_2_low
		add_character_modifier = RE_court_diplo_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 66
				var:RE_court_diplo_2_var <= 85
				has_character_modifier = RE_court_diplo_2_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_2_verlow
		add_character_modifier = RE_court_diplo_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 66
				var:RE_court_diplo_2_var <= 85
				NOT = { has_character_modifier = RE_court_diplo_2_high }
			}
		}
		add_character_modifier = RE_court_diplo_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 86
				has_character_modifier = RE_court_diplo_2_high
			}
		}
		remove_character_modifier = RE_court_diplo_2_high
		add_character_modifier = RE_court_diplo_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 86
				has_character_modifier = RE_court_diplo_2_low
			}
		}
		remove_character_modifier = RE_court_diplo_2_low
		add_character_modifier = RE_court_diplo_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 86
				has_character_modifier = RE_court_diplo_2_verlow
			}
		}
		remove_character_modifier = RE_court_diplo_2_verlow
		add_character_modifier = RE_court_diplo_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_diplo_2_var >= 86
				NOT = { has_character_modifier = RE_court_diplo_2_verhigh }
			}
		}
		add_character_modifier = RE_court_diplo_2_verhigh
	}
	else = { }
}

RE_axis_recount_mart = {
	if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var <= 14
				has_character_modifier = RE_court_mart_1_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_1_verhigh
		add_character_modifier = RE_court_mart_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var <= 14
				has_character_modifier = RE_court_mart_1_high
			}
		}
		remove_character_modifier = RE_court_mart_1_high
		add_character_modifier = RE_court_mart_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var <= 14
				has_character_modifier = RE_court_mart_1_low
			}
		}
		remove_character_modifier = RE_court_mart_1_low
		add_character_modifier = RE_court_mart_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var <= 14
				NOT = { has_character_modifier = RE_court_mart_1_verlow }
			}
		}
		add_character_modifier = RE_court_mart_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 15
				var:RE_court_mart_1_var <= 34
				has_character_modifier = RE_court_mart_1_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_1_verhigh
		add_character_modifier = RE_court_mart_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 15
				var:RE_court_mart_1_var <= 34
				has_character_modifier = RE_court_mart_1_high
			}
		}
		remove_character_modifier = RE_court_mart_1_high
		add_character_modifier = RE_court_mart_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 15
				var:RE_court_mart_1_var <= 34
				has_character_modifier = RE_court_mart_1_verlow
			}
		}
		remove_character_modifier = RE_court_mart_1_verlow
		add_character_modifier = RE_court_mart_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 15
				var:RE_court_mart_1_var <= 34
				NOT = { has_character_modifier = RE_court_mart_1_low }
			}
		}
		add_character_modifier = RE_court_mart_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 35
				var:RE_court_mart_1_var <= 65
				has_character_modifier = RE_court_mart_1_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 35
				var:RE_court_mart_1_var <= 65
				has_character_modifier = RE_court_mart_1_high
			}
		}
		remove_character_modifier = RE_court_mart_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 35
				var:RE_court_mart_1_var <= 65
				has_character_modifier = RE_court_mart_1_low
			}
		}
		remove_character_modifier = RE_court_mart_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 35
				var:RE_court_mart_1_var <= 65
				has_character_modifier = RE_court_mart_1_verlow
			}
		}
		remove_character_modifier = RE_court_mart_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 66
				var:RE_court_mart_1_var <= 85
				has_character_modifier = RE_court_mart_1_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_1_verhigh
		add_character_modifier = RE_court_mart_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 66
				var:RE_court_mart_1_var <= 85
				has_character_modifier = RE_court_mart_1_low
			}
		}
		remove_character_modifier = RE_court_mart_1_low
		add_character_modifier = RE_court_mart_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 66
				var:RE_court_mart_1_var <= 85
				has_character_modifier = RE_court_mart_1_verlow
			}
		}
		remove_character_modifier = RE_court_mart_1_verlow
		add_character_modifier = RE_court_mart_1_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 66
				var:RE_court_mart_1_var <= 85
				NOT = { has_character_modifier = RE_court_mart_1_high }
			}
		}
		add_character_modifier = RE_court_mart_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 86
				has_character_modifier = RE_court_mart_1_high
			}
		}
		remove_character_modifier = RE_court_mart_1_high
		add_character_modifier = RE_court_mart_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 86
				has_character_modifier = RE_court_mart_1_low
			}
		}
		remove_character_modifier = RE_court_mart_1_low
		add_character_modifier = RE_court_mart_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 86
				has_character_modifier = RE_court_mart_1_verlow
			}
		}
		remove_character_modifier = RE_court_mart_1_verlow
		add_character_modifier = RE_court_mart_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_1_var >= 86
				NOT = { has_character_modifier = RE_court_mart_1_verhigh }
			}
		}
		add_character_modifier = RE_court_mart_1_verhigh
	}
	else = { }
	
	if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var <= 14
				has_character_modifier = RE_court_mart_2_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_2_verhigh
		add_character_modifier = RE_court_mart_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var <= 14
				has_character_modifier = RE_court_mart_2_high
			}
		}
		remove_character_modifier = RE_court_mart_2_high
		add_character_modifier = RE_court_mart_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var <= 14
				has_character_modifier = RE_court_mart_2_low
			}
		}
		remove_character_modifier = RE_court_mart_2_low
		add_character_modifier = RE_court_mart_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var <= 14
				NOT = { has_character_modifier = RE_court_mart_2_verlow }
			}
		}
		add_character_modifier = RE_court_mart_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 15
				var:RE_court_mart_2_var <= 34
				has_character_modifier = RE_court_mart_2_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_2_verhigh
		add_character_modifier = RE_court_mart_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 15
				var:RE_court_mart_2_var <= 34
				has_character_modifier = RE_court_mart_2_high
			}
		}
		remove_character_modifier = RE_court_mart_2_high
		add_character_modifier = RE_court_mart_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 15
				var:RE_court_mart_2_var <= 34
				has_character_modifier = RE_court_mart_2_verlow
			}
		}
		remove_character_modifier = RE_court_mart_2_verlow
		add_character_modifier = RE_court_mart_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 15
				var:RE_court_mart_2_var <= 34
				NOT = { has_character_modifier = RE_court_mart_2_low }
			}
		}
		add_character_modifier = RE_court_mart_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 35
				var:RE_court_mart_2_var <= 65
				has_character_modifier = RE_court_mart_2_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 35
				var:RE_court_mart_2_var <= 65
				has_character_modifier = RE_court_mart_2_high
			}
		}
		remove_character_modifier = RE_court_mart_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 35
				var:RE_court_mart_2_var <= 65
				has_character_modifier = RE_court_mart_2_low
			}
		}
		remove_character_modifier = RE_court_mart_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 35
				var:RE_court_mart_2_var <= 65
				has_character_modifier = RE_court_mart_2_verlow
			}
		}
		remove_character_modifier = RE_court_mart_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 66
				var:RE_court_mart_2_var <= 85
				has_character_modifier = RE_court_mart_2_verhigh
			}
		}
		remove_character_modifier = RE_court_mart_2_verhigh
		add_character_modifier = RE_court_mart_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 66
				var:RE_court_mart_2_var <= 85
				has_character_modifier = RE_court_mart_2_low
			}
		}
		remove_character_modifier = RE_court_mart_2_low
		add_character_modifier = RE_court_mart_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 66
				var:RE_court_mart_2_var <= 85
				has_character_modifier = RE_court_mart_2_verlow
			}
		}
		remove_character_modifier = RE_court_mart_2_verlow
		add_character_modifier = RE_court_mart_2_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 66
				var:RE_court_mart_2_var <= 85
				NOT = { has_character_modifier = RE_court_mart_2_high }
			}
		}
		add_character_modifier = RE_court_mart_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 86
				has_character_modifier = RE_court_mart_2_high
			}
		}
		remove_character_modifier = RE_court_mart_2_high
		add_character_modifier = RE_court_mart_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 86
				has_character_modifier = RE_court_mart_2_low
			}
		}
		remove_character_modifier = RE_court_mart_2_low
		add_character_modifier = RE_court_mart_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 86
				has_character_modifier = RE_court_mart_2_verlow
			}
		}
		remove_character_modifier = RE_court_mart_2_verlow
		add_character_modifier = RE_court_mart_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_mart_2_var >= 86
				NOT = { has_character_modifier = RE_court_mart_2_verhigh }
			}
		}
		add_character_modifier = RE_court_mart_2_verhigh
	}
	else = { }
}

RE_axis_recount_stew = {
	if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var <= 14
				has_character_modifier = RE_court_stew_1_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_1_verhigh
		add_character_modifier = RE_court_stew_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var <= 14
				has_character_modifier = RE_court_stew_1_high
			}
		}
		remove_character_modifier = RE_court_stew_1_high
		add_character_modifier = RE_court_stew_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var <= 14
				has_character_modifier = RE_court_stew_1_low
			}
		}
		remove_character_modifier = RE_court_stew_1_low
		add_character_modifier = RE_court_stew_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var <= 14
				NOT = { has_character_modifier = RE_court_stew_1_verlow }
			}
		}
		add_character_modifier = RE_court_stew_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 15
				var:RE_court_stew_1_var <= 34
				has_character_modifier = RE_court_stew_1_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_1_verhigh
		add_character_modifier = RE_court_stew_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 15
				var:RE_court_stew_1_var <= 34
				has_character_modifier = RE_court_stew_1_high
			}
		}
		remove_character_modifier = RE_court_stew_1_high
		add_character_modifier = RE_court_stew_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 15
				var:RE_court_stew_1_var <= 34
				has_character_modifier = RE_court_stew_1_verlow
			}
		}
		remove_character_modifier = RE_court_stew_1_verlow
		add_character_modifier = RE_court_stew_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 15
				var:RE_court_stew_1_var <= 34
				NOT = { has_character_modifier = RE_court_stew_1_low }
			}
		}
		add_character_modifier = RE_court_stew_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 35
				var:RE_court_stew_1_var <= 65
				has_character_modifier = RE_court_stew_1_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 35
				var:RE_court_stew_1_var <= 65
				has_character_modifier = RE_court_stew_1_high
			}
		}
		remove_character_modifier = RE_court_stew_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 35
				var:RE_court_stew_1_var <= 65
				has_character_modifier = RE_court_stew_1_low
			}
		}
		remove_character_modifier = RE_court_stew_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 35
				var:RE_court_stew_1_var <= 65
				has_character_modifier = RE_court_stew_1_verlow
			}
		}
		remove_character_modifier = RE_court_stew_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 66
				var:RE_court_stew_1_var <= 85
				has_character_modifier = RE_court_stew_1_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_1_verhigh
		add_character_modifier = RE_court_stew_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 66
				var:RE_court_stew_1_var <= 85
				has_character_modifier = RE_court_stew_1_low
			}
		}
		remove_character_modifier = RE_court_stew_1_low
		add_character_modifier = RE_court_stew_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 66
				var:RE_court_stew_1_var <= 85
				has_character_modifier = RE_court_stew_1_verlow
			}
		}
		remove_character_modifier = RE_court_stew_1_verlow
		add_character_modifier = RE_court_stew_1_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 66
				var:RE_court_stew_1_var <= 85
				NOT = { has_character_modifier = RE_court_stew_1_high }
			}
		}
		add_character_modifier = RE_court_stew_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 86
				has_character_modifier = RE_court_stew_1_high
			}
		}
		remove_character_modifier = RE_court_stew_1_high
		add_character_modifier = RE_court_stew_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 86
				has_character_modifier = RE_court_stew_1_low
			}
		}
		remove_character_modifier = RE_court_stew_1_low
		add_character_modifier = RE_court_stew_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 86
				has_character_modifier = RE_court_stew_1_verlow
			}
		}
		remove_character_modifier = RE_court_stew_1_verlow
		add_character_modifier = RE_court_stew_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_1_var >= 86
				NOT = { has_character_modifier = RE_court_stew_1_verhigh }
			}
		}
		add_character_modifier = RE_court_stew_1_verhigh
	}
	else = { }
	
	if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var <= 14
				has_character_modifier = RE_court_stew_2_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_2_verhigh
		add_character_modifier = RE_court_stew_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var <= 14
				has_character_modifier = RE_court_stew_2_high
			}
		}
		remove_character_modifier = RE_court_stew_2_high
		add_character_modifier = RE_court_stew_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var <= 14
				has_character_modifier = RE_court_stew_2_low
			}
		}
		remove_character_modifier = RE_court_stew_2_low
		add_character_modifier = RE_court_stew_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var <= 14
				NOT = { has_character_modifier = RE_court_stew_2_verlow }
			}
		}
		add_character_modifier = RE_court_stew_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 15
				var:RE_court_stew_2_var <= 34
				has_character_modifier = RE_court_stew_2_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_2_verhigh
		add_character_modifier = RE_court_stew_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 15
				var:RE_court_stew_2_var <= 34
				has_character_modifier = RE_court_stew_2_high
			}
		}
		remove_character_modifier = RE_court_stew_2_high
		add_character_modifier = RE_court_stew_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 15
				var:RE_court_stew_2_var <= 34
				has_character_modifier = RE_court_stew_2_verlow
			}
		}
		remove_character_modifier = RE_court_stew_2_verlow
		add_character_modifier = RE_court_stew_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 15
				var:RE_court_stew_2_var <= 34
				NOT = { has_character_modifier = RE_court_stew_2_low }
			}
		}
		add_character_modifier = RE_court_stew_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 35
				var:RE_court_stew_2_var <= 65
				has_character_modifier = RE_court_stew_2_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 35
				var:RE_court_stew_2_var <= 65
				has_character_modifier = RE_court_stew_2_high
			}
		}
		remove_character_modifier = RE_court_stew_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 35
				var:RE_court_stew_2_var <= 65
				has_character_modifier = RE_court_stew_2_low
			}
		}
		remove_character_modifier = RE_court_stew_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 35
				var:RE_court_stew_2_var <= 65
				has_character_modifier = RE_court_stew_2_verlow
			}
		}
		remove_character_modifier = RE_court_stew_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 66
				var:RE_court_stew_2_var <= 85
				has_character_modifier = RE_court_stew_2_verhigh
			}
		}
		remove_character_modifier = RE_court_stew_2_verhigh
		add_character_modifier = RE_court_stew_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 66
				var:RE_court_stew_2_var <= 85
				has_character_modifier = RE_court_stew_2_low
			}
		}
		remove_character_modifier = RE_court_stew_2_low
		add_character_modifier = RE_court_stew_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 66
				var:RE_court_stew_2_var <= 85
				has_character_modifier = RE_court_stew_2_verlow
			}
		}
		remove_character_modifier = RE_court_stew_2_verlow
		add_character_modifier = RE_court_stew_2_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 66
				var:RE_court_stew_2_var <= 85
				NOT = { has_character_modifier = RE_court_stew_2_high }
			}
		}
		add_character_modifier = RE_court_stew_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 86
				has_character_modifier = RE_court_stew_2_high
			}
		}
		remove_character_modifier = RE_court_stew_2_high
		add_character_modifier = RE_court_stew_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 86
				has_character_modifier = RE_court_stew_2_low
			}
		}
		remove_character_modifier = RE_court_stew_2_low
		add_character_modifier = RE_court_stew_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 86
				has_character_modifier = RE_court_stew_2_verlow
			}
		}
		remove_character_modifier = RE_court_stew_2_verlow
		add_character_modifier = RE_court_stew_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_stew_2_var >= 86
				NOT = { has_character_modifier = RE_court_stew_2_verhigh }
			}
		}
		add_character_modifier = RE_court_stew_2_verhigh
	}
	else = { }
}

RE_axis_recount_intr = {
	if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var <= 14
				has_character_modifier = RE_court_intr_1_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_1_verhigh
		add_character_modifier = RE_court_intr_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var <= 14
				has_character_modifier = RE_court_intr_1_high
			}
		}
		remove_character_modifier = RE_court_intr_1_high
		add_character_modifier = RE_court_intr_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var <= 14
				has_character_modifier = RE_court_intr_1_low
			}
		}
		remove_character_modifier = RE_court_intr_1_low
		add_character_modifier = RE_court_intr_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var <= 14
				NOT = { has_character_modifier = RE_court_intr_1_verlow }
			}
		}
		add_character_modifier = RE_court_intr_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 15
				var:RE_court_intr_1_var <= 34
				has_character_modifier = RE_court_intr_1_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_1_verhigh
		add_character_modifier = RE_court_intr_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 15
				var:RE_court_intr_1_var <= 34
				has_character_modifier = RE_court_intr_1_high
			}
		}
		remove_character_modifier = RE_court_intr_1_high
		add_character_modifier = RE_court_intr_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 15
				var:RE_court_intr_1_var <= 34
				has_character_modifier = RE_court_intr_1_verlow
			}
		}
		remove_character_modifier = RE_court_intr_1_verlow
		add_character_modifier = RE_court_intr_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 15
				var:RE_court_intr_1_var <= 34
				NOT = { has_character_modifier = RE_court_intr_1_low }
			}
		}
		add_character_modifier = RE_court_intr_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 35
				var:RE_court_intr_1_var <= 65
				has_character_modifier = RE_court_intr_1_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 35
				var:RE_court_intr_1_var <= 65
				has_character_modifier = RE_court_intr_1_high
			}
		}
		remove_character_modifier = RE_court_intr_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 35
				var:RE_court_intr_1_var <= 65
				has_character_modifier = RE_court_intr_1_low
			}
		}
		remove_character_modifier = RE_court_intr_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 35
				var:RE_court_intr_1_var <= 65
				has_character_modifier = RE_court_intr_1_verlow
			}
		}
		remove_character_modifier = RE_court_intr_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 66
				var:RE_court_intr_1_var <= 85
				has_character_modifier = RE_court_intr_1_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_1_verhigh
		add_character_modifier = RE_court_intr_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 66
				var:RE_court_intr_1_var <= 85
				has_character_modifier = RE_court_intr_1_low
			}
		}
		remove_character_modifier = RE_court_intr_1_low
		add_character_modifier = RE_court_intr_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 66
				var:RE_court_intr_1_var <= 85
				has_character_modifier = RE_court_intr_1_verlow
			}
		}
		remove_character_modifier = RE_court_intr_1_verlow
		add_character_modifier = RE_court_intr_1_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 66
				var:RE_court_intr_1_var <= 85
				NOT = { has_character_modifier = RE_court_intr_1_high }
			}
		}
		add_character_modifier = RE_court_intr_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 86
				has_character_modifier = RE_court_intr_1_high
			}
		}
		remove_character_modifier = RE_court_intr_1_high
		add_character_modifier = RE_court_intr_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 86
				has_character_modifier = RE_court_intr_1_low
			}
		}
		remove_character_modifier = RE_court_intr_1_low
		add_character_modifier = RE_court_intr_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 86
				has_character_modifier = RE_court_intr_1_verlow
			}
		}
		remove_character_modifier = RE_court_intr_1_verlow
		add_character_modifier = RE_court_intr_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_1_var >= 86
				NOT = { has_character_modifier = RE_court_intr_1_verhigh }
			}
		}
		add_character_modifier = RE_court_intr_1_verhigh
	}
	else = { }
	
	if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var <= 14
				has_character_modifier = RE_court_intr_2_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_2_verhigh
		add_character_modifier = RE_court_intr_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var <= 14
				has_character_modifier = RE_court_intr_2_high
			}
		}
		remove_character_modifier = RE_court_intr_2_high
		add_character_modifier = RE_court_intr_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var <= 14
				has_character_modifier = RE_court_intr_2_low
			}
		}
		remove_character_modifier = RE_court_intr_2_low
		add_character_modifier = RE_court_intr_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var <= 14
				NOT = { has_character_modifier = RE_court_intr_2_verlow }
			}
		}
		add_character_modifier = RE_court_intr_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 15
				var:RE_court_intr_2_var <= 34
				has_character_modifier = RE_court_intr_2_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_2_verhigh
		add_character_modifier = RE_court_intr_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 15
				var:RE_court_intr_2_var <= 34
				has_character_modifier = RE_court_intr_2_high
			}
		}
		remove_character_modifier = RE_court_intr_2_high
		add_character_modifier = RE_court_intr_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 15
				var:RE_court_intr_2_var <= 34
				has_character_modifier = RE_court_intr_2_verlow
			}
		}
		remove_character_modifier = RE_court_intr_2_verlow
		add_character_modifier = RE_court_intr_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 15
				var:RE_court_intr_2_var <= 34
				NOT = { has_character_modifier = RE_court_intr_2_low }
			}
		}
		add_character_modifier = RE_court_intr_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 35
				var:RE_court_intr_2_var <= 65
				has_character_modifier = RE_court_intr_2_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 35
				var:RE_court_intr_2_var <= 65
				has_character_modifier = RE_court_intr_2_high
			}
		}
		remove_character_modifier = RE_court_intr_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 35
				var:RE_court_intr_2_var <= 65
				has_character_modifier = RE_court_intr_2_low
			}
		}
		remove_character_modifier = RE_court_intr_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 35
				var:RE_court_intr_2_var <= 65
				has_character_modifier = RE_court_intr_2_verlow
			}
		}
		remove_character_modifier = RE_court_intr_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 66
				var:RE_court_intr_2_var <= 85
				has_character_modifier = RE_court_intr_2_verhigh
			}
		}
		remove_character_modifier = RE_court_intr_2_verhigh
		add_character_modifier = RE_court_intr_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 66
				var:RE_court_intr_2_var <= 85
				has_character_modifier = RE_court_intr_2_low
			}
		}
		remove_character_modifier = RE_court_intr_2_low
		add_character_modifier = RE_court_intr_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 66
				var:RE_court_intr_2_var <= 85
				has_character_modifier = RE_court_intr_2_verlow
			}
		}
		remove_character_modifier = RE_court_intr_2_verlow
		add_character_modifier = RE_court_intr_2_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 66
				var:RE_court_intr_2_var <= 85
				NOT = { has_character_modifier = RE_court_intr_2_high }
			}
		}
		add_character_modifier = RE_court_intr_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 86
				has_character_modifier = RE_court_intr_2_high
			}
		}
		remove_character_modifier = RE_court_intr_2_high
		add_character_modifier = RE_court_intr_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 86
				has_character_modifier = RE_court_intr_2_low
			}
		}
		remove_character_modifier = RE_court_intr_2_low
		add_character_modifier = RE_court_intr_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 86
				has_character_modifier = RE_court_intr_2_verlow
			}
		}
		remove_character_modifier = RE_court_intr_2_verlow
		add_character_modifier = RE_court_intr_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_intr_2_var >= 86
				NOT = { has_character_modifier = RE_court_intr_2_verhigh }
			}
		}
		add_character_modifier = RE_court_intr_2_verhigh
	}
	else = { }
}

RE_axis_recount_lear = {
	if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var <= 14
				has_character_modifier = RE_court_lear_1_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_1_verhigh
		add_character_modifier = RE_court_lear_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var <= 14
				has_character_modifier = RE_court_lear_1_high
			}
		}
		remove_character_modifier = RE_court_lear_1_high
		add_character_modifier = RE_court_lear_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var <= 14
				has_character_modifier = RE_court_lear_1_low
			}
		}
		remove_character_modifier = RE_court_lear_1_low
		add_character_modifier = RE_court_lear_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var <= 14
				NOT = { has_character_modifier = RE_court_lear_1_verlow }
			}
		}
		add_character_modifier = RE_court_lear_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 15
				var:RE_court_lear_1_var <= 34
				has_character_modifier = RE_court_lear_1_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_1_verhigh
		add_character_modifier = RE_court_lear_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 15
				var:RE_court_lear_1_var <= 34
				has_character_modifier = RE_court_lear_1_high
			}
		}
		remove_character_modifier = RE_court_lear_1_high
		add_character_modifier = RE_court_lear_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 15
				var:RE_court_lear_1_var <= 34
				has_character_modifier = RE_court_lear_1_verlow
			}
		}
		remove_character_modifier = RE_court_lear_1_verlow
		add_character_modifier = RE_court_lear_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 15
				var:RE_court_lear_1_var <= 34
				NOT = { has_character_modifier = RE_court_lear_1_low }
			}
		}
		add_character_modifier = RE_court_lear_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 35
				var:RE_court_lear_1_var <= 65
				has_character_modifier = RE_court_lear_1_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 35
				var:RE_court_lear_1_var <= 65
				has_character_modifier = RE_court_lear_1_high
			}
		}
		remove_character_modifier = RE_court_lear_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 35
				var:RE_court_lear_1_var <= 65
				has_character_modifier = RE_court_lear_1_low
			}
		}
		remove_character_modifier = RE_court_lear_1_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 35
				var:RE_court_lear_1_var <= 65
				has_character_modifier = RE_court_lear_1_verlow
			}
		}
		remove_character_modifier = RE_court_lear_1_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 66
				var:RE_court_lear_1_var <= 85
				has_character_modifier = RE_court_lear_1_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_1_verhigh
		add_character_modifier = RE_court_lear_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 66
				var:RE_court_lear_1_var <= 85
				has_character_modifier = RE_court_lear_1_low
			}
		}
		remove_character_modifier = RE_court_lear_1_low
		add_character_modifier = RE_court_lear_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 66
				var:RE_court_lear_1_var <= 85
				has_character_modifier = RE_court_lear_1_verlow
			}
		}
		remove_character_modifier = RE_court_lear_1_verlow
		add_character_modifier = RE_court_lear_1_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 66
				var:RE_court_lear_1_var <= 85
				NOT = { has_character_modifier = RE_court_lear_1_high }
			}
		}
		add_character_modifier = RE_court_lear_1_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 86
				has_character_modifier = RE_court_lear_1_high
			}
		}
		remove_character_modifier = RE_court_lear_1_high
		add_character_modifier = RE_court_lear_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 86
				has_character_modifier = RE_court_lear_1_low
			}
		}
		remove_character_modifier = RE_court_lear_1_low
		add_character_modifier = RE_court_lear_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 86
				has_character_modifier = RE_court_lear_1_verlow
			}
		}
		remove_character_modifier = RE_court_lear_1_verlow
		add_character_modifier = RE_court_lear_1_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_1_var >= 86
				NOT = { has_character_modifier = RE_court_lear_1_verhigh }
			}
		}
		add_character_modifier = RE_court_lear_1_verhigh
	}
	else = { }
	
	if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var <= 14
				has_character_modifier = RE_court_lear_2_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_2_verhigh
		add_character_modifier = RE_court_lear_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var <= 14
				has_character_modifier = RE_court_lear_2_high
			}
		}
		remove_character_modifier = RE_court_lear_2_high
		add_character_modifier = RE_court_lear_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var <= 14
				has_character_modifier = RE_court_lear_2_low
			}
		}
		remove_character_modifier = RE_court_lear_2_low
		add_character_modifier = RE_court_lear_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var <= 14
				NOT = { has_character_modifier = RE_court_lear_2_verlow }
			}
		}
		add_character_modifier = RE_court_lear_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 15
				var:RE_court_lear_2_var <= 34
				has_character_modifier = RE_court_lear_2_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_2_verhigh
		add_character_modifier = RE_court_lear_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 15
				var:RE_court_lear_2_var <= 34
				has_character_modifier = RE_court_lear_2_high
			}
		}
		remove_character_modifier = RE_court_lear_2_high
		add_character_modifier = RE_court_lear_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 15
				var:RE_court_lear_2_var <= 34
				has_character_modifier = RE_court_lear_2_verlow
			}
		}
		remove_character_modifier = RE_court_lear_2_verlow
		add_character_modifier = RE_court_lear_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 15
				var:RE_court_lear_2_var <= 34
				NOT = { has_character_modifier = RE_court_lear_2_low }
			}
		}
		add_character_modifier = RE_court_lear_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 35
				var:RE_court_lear_2_var <= 65
				has_character_modifier = RE_court_lear_2_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 35
				var:RE_court_lear_2_var <= 65
				has_character_modifier = RE_court_lear_2_high
			}
		}
		remove_character_modifier = RE_court_lear_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 35
				var:RE_court_lear_2_var <= 65
				has_character_modifier = RE_court_lear_2_low
			}
		}
		remove_character_modifier = RE_court_lear_2_low
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 35
				var:RE_court_lear_2_var <= 65
				has_character_modifier = RE_court_lear_2_verlow
			}
		}
		remove_character_modifier = RE_court_lear_2_verlow
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 66
				var:RE_court_lear_2_var <= 85
				has_character_modifier = RE_court_lear_2_verhigh
			}
		}
		remove_character_modifier = RE_court_lear_2_verhigh
		add_character_modifier = RE_court_lear_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 66
				var:RE_court_lear_2_var <= 85
				has_character_modifier = RE_court_lear_2_low
			}
		}
		remove_character_modifier = RE_court_lear_2_low
		add_character_modifier = RE_court_lear_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 66
				var:RE_court_lear_2_var <= 85
				has_character_modifier = RE_court_lear_2_verlow
			}
		}
		remove_character_modifier = RE_court_lear_2_verlow
		add_character_modifier = RE_court_lear_2_high
	}
		else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 66
				var:RE_court_lear_2_var <= 85
				NOT = { has_character_modifier = RE_court_lear_2_high }
			}
		}
		add_character_modifier = RE_court_lear_2_high
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 86
				has_character_modifier = RE_court_lear_2_high
			}
		}
		remove_character_modifier = RE_court_lear_2_high
		add_character_modifier = RE_court_lear_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 86
				has_character_modifier = RE_court_lear_2_low
			}
		}
		remove_character_modifier = RE_court_lear_2_low
		add_character_modifier = RE_court_lear_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 86
				has_character_modifier = RE_court_lear_2_verlow
			}
		}
		remove_character_modifier = RE_court_lear_2_verlow
		add_character_modifier = RE_court_lear_2_verhigh
	}
	else_if = { 
		limit = { 
			AND = {
				var:RE_court_lear_2_var >= 86
				NOT = { has_character_modifier = RE_court_lear_2_verhigh }
			}
		}
		add_character_modifier = RE_court_lear_2_verhigh
	}
	else = { }
}