﻿#custom loc trait/opinion
physician_hateyou_disloyal_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait = disloyal 
		}
        localization_key = physician_hateyou_disloyal_text
    }
}

physician_hateyou_nemesis_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_relation_nemesis = liege 
	}
        localization_key = physician_hateyou_nemesis_text
    }
}

physician_hateyou_grudge_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_relation_grudge = liege

	}
        localization_key = physician_hateyou_grudge_text
    }
}

physician_hateyou_rival_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_relation_rival = liege
		NOT = { has_relation_nemesis = liege }
		}
        localization_key = physician_hateyou_rival_text
    }
}

physician_hateyou_low_negative_opinion_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		opinion = { target = liege value < -20 } 
		}
        localization_key = physician_hateyou_low_negative_opinion_text
    }
}


physician_hateyou_inte_revoke_court_position_loc = {
	type = character
	random_valid = no
	text = {
		trigger = { 
			NOT = { has_government = landless_adventurer_government }
		}
		localization_key = physician_hateyou_inte_revoke_court_position_text
	}
	text = {
		trigger = { 
			has_government = landless_adventurer_government
		}
		localization_key = physician_hateyou_inte_revoke_camp_officier_text
	}
}


physician_hateyou_inte_revoke_court_position_nott_loc = {
	type = character
	random_valid = no
	text = {
		trigger = { 
			NOT = { has_government = landless_adventurer_government }
		}
		localization_key = physician_hateyou_inte_revoke_court_position_nott_text
	}
	text = {
		trigger = { 
			has_government = landless_adventurer_government
		}
		localization_key = physician_hateyou_inte_revoke_camp_officier_nott_text
	}
}
