﻿

el_landed_martial_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		martial > good_skill_level
	}
        localization_key = el_landed_martial_level_text
    }
}

el_landed_diplomacy_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		diplomacy > good_skill_level
	}
        localization_key = el_landed_diplomacy_level_text
    }
}

el_landed_stewardship_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		stewardship > good_skill_level
	}
        localization_key = el_landed_stewardship_level_text
    }
}

el_landed_intrigue_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		intrigue > good_skill_level
	}
        localization_key = el_landed_intrigue_level_text
    }
}

el_landed_learning_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		learning > good_skill_level
	}
        localization_key = el_landed_learning_level_text
    }
}

el_landed_prowess_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		prowess > good_skill_level
	}
        localization_key = el_landed_prowess_level_text
    }
}

el_landed_military_strength_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		max_military_strength > 2000
	}
        localization_key = el_landed_military_strength_level_text
    }
}

el_landed_nothing_level_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		AND = {
			martial <= good_skill_level
			diplomacy <= good_skill_level
			stewardship <= good_skill_level
			intrigue <= good_skill_level
			learning <= good_skill_level
			prowess <= good_skill_level
		}
		always = no
	}
        localization_key = el_landed_nothing_level_text
    }
}

el_landed_diplomacy_1_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_diplomacy_1
	}
        localization_key = el_landed_diplomacy_1_text
    }
}
el_landed_diplomacy_2_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_diplomacy_2
	}
        localization_key = el_landed_diplomacy_2_text
    }
}
el_landed_diplomacy_3_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_diplomacy_3
	}
        localization_key = el_landed_diplomacy_3_text
    }
}
el_landed_diplomacy_4_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_diplomacy_4
	}
        localization_key = el_landed_diplomacy_4_text
    }
}
el_landed_diplomacy_5_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_diplomacy_5
	}
        localization_key = el_landed_diplomacy_5_text
    }
}


el_landed_martial_1_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_martial_1
	}
        localization_key = el_landed_martial_1_text
    }
}
el_landed_martial_2_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_martial_2
	}
        localization_key = el_landed_martial_2_text
    }
}
el_landed_martial_3_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_martial_3
	}
        localization_key = el_landed_martial_3_text
    }
}
el_landed_martial_4_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_martial_4
	}
        localization_key = el_landed_martial_4_text
    }
}
el_landed_martial_5_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_martial_5
	}
        localization_key = el_landed_martial_5_text
    }
}

el_landed_stewardship_1_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_stewardship_1
	}
        localization_key = el_landed_stewardship_1_text
    }
}
el_landed_stewardship_2_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_stewardship_2
	}
        localization_key = el_landed_stewardship_2_text
    }
}
el_landed_stewardship_3_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_stewardship_3
	}
        localization_key = el_landed_stewardship_3_text
    }
}
el_landed_stewardship_4_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_stewardship_4
	}
        localization_key = el_landed_stewardship_4_text
    }
}
el_landed_stewardship_5_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_stewardship_5
	}
        localization_key = el_landed_stewardship_5_text
    }
}

el_landed_intrigue_1_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_intrigue_1
	}
        localization_key = el_landed_intrigue_1_text
    }
}
el_landed_intrigue_2_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_intrigue_2
	}
        localization_key = el_landed_intrigue_2_text
    }
}
el_landed_intrigue_3_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_intrigue_3
	}
        localization_key = el_landed_intrigue_3_text
    }
}
el_landed_intrigue_4_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_intrigue_4
	}
        localization_key = el_landed_intrigue_4_text
    }
}
el_landed_intrigue_5_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_intrigue_5
	}
        localization_key = el_landed_intrigue_5_text
    }
}

el_landed_learning_1_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_learning_1
	}
        localization_key = el_landed_learning_1_text
    }
}
el_landed_learning_2_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_learning_2
	}
        localization_key = el_landed_learning_2_text
    }
}
el_landed_learning_3_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_learning_3
	}
        localization_key = el_landed_learning_3_text
    }
}
el_landed_learning_4_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_learning_4
	}
        localization_key = el_landed_learning_4_text
    }
}
el_landed_learning_5_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  education_learning_5
	}
        localization_key = el_landed_learning_5_text
    }
}

el_landed_shrewd_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  shrewd
	}
        localization_key = el_landed_shrewd_text
    }
}

el_landed_dull_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait = dull
	}
        localization_key = el_landed_dull_text
    }
}

el_landed_inbred_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait = inbred
	}
        localization_key = el_landed_inbred_text
    }
}

el_landed_intellect_good_1_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  intellect_good_1
	}
        localization_key = el_landed_intellect_good_1_text
    }
}

el_landed_intellect_good_2_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  intellect_good_2
	}
        localization_key = el_landed_intellect_good_2_text
    }
}

el_landed_intellect_good_3_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  intellect_good_3
	}
        localization_key = el_landed_intellect_good_3_text
    }
}

el_landed_intellect_bad_1_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  intellect_bad_1
	}
        localization_key = el_landed_intellect_bad_1_text
    }
}

el_landed_intellect_bad_2_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  intellect_bad_2
	}
        localization_key = el_landed_intellect_bad_2_text
    }
}

el_landed_intellect_bad_3_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_trait =  intellect_bad_3
	}
        localization_key = el_landed_intellect_bad_3_text
    }
}

el_landed_camp_purpose_mercenaries_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_realm_law = camp_purpose_mercenaries
	}
        localization_key = el_landed_camp_purpose_mercenaries_text
    }
}

el_landed_camp_purpose_scholars_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_realm_law = camp_purpose_scholars
	}
        localization_key = el_landed_camp_purpose_scholars_text
    }
}

el_landed_camp_purpose_explorers_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_realm_law = camp_purpose_explorers
	}
        localization_key = el_landed_camp_purpose_explorers_text
    }
}

el_landed_camp_purpose_brigands_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_realm_law = camp_purpose_brigands
	}
        localization_key = el_landed_camp_purpose_brigands_text
    }
}

el_landed_camp_purpose_legitimists_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		is_alive = yes
		has_realm_law = camp_purpose_legitimists
	}
        localization_key = el_landed_camp_purpose_legitimists_text
    }
}

el_landed_contract_train_knights_avail_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_train_knight = yes
	}
        localization_key = el_landed_train_knight_avail_ok
    }
}

el_landed_contract_tutor_child_avail_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_tutor_child = yes
	}
        localization_key = el_landed_tutor_child_avail_ok
    }
}

el_landed_contract_destabilize_neighbor_avail_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_des_nei = yes
	}
        localization_key = el_landed_des_nei_avail_ok
    }
}

el_landed_contract_regale_court_avail_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_regale_court = yes
	}
        localization_key = el_landed_regale_court_avail_ok
    }
}

el_landed_contract_improving_the_domain_avail_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_imp_dom = yes
	}
        localization_key = el_landed_imp_dom_avail_ok
    }
}

el_landed_contract_converting_neighbors_avail_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_con_nei = yes
	}
        localization_key = el_landed_con_nei_avail_ok
    }
}

el_landed_contract_support_faction_avail_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_sup_fac = yes
	}
        localization_key = el_landed_sup_fac_avail_ok
    }
}

el_landed_train_knight_success_chance_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_chance_success_train_knight <= 20
	}
        localization_key = el_landed_success_chance_very_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_train_knight <= 40
		el_landed_chance_success_train_knight > 20
	}
        localization_key = el_landed_success_chance_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_train_knight <= 60
		el_landed_chance_success_train_knight > 40
	}
        localization_key = el_landed_success_chance_medium
    }
	text = {
        trigger = { 
		el_landed_chance_success_train_knight <= 80
		el_landed_chance_success_train_knight > 60
	}
        localization_key = el_landed_success_chance_high
    }
	text = {
        trigger = { 
		el_landed_chance_success_train_knight > 80
	}
        localization_key = el_landed_success_chance_very_high
    }
}

el_landed_tutor_child_success_chance_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_chance_success_tutor_child <= 20
	}
        localization_key = el_landed_success_chance_very_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_tutor_child <= 40
		el_landed_chance_success_tutor_child > 20
	}
        localization_key = el_landed_success_chance_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_tutor_child <= 60
		el_landed_chance_success_tutor_child > 40
	}
        localization_key = el_landed_success_chance_medium
    }
	text = {
        trigger = { 
		el_landed_chance_success_tutor_child <= 80
		el_landed_chance_success_tutor_child > 60
	}
        localization_key = el_landed_success_chance_high
    }
	text = {
        trigger = { 
		el_landed_chance_success_tutor_child > 80
	}
        localization_key = el_landed_success_chance_very_high
    }
}

el_landed_des_nei_success_chance_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_chance_success_des_nei <= 20
	}
        localization_key = el_landed_success_chance_very_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_des_nei <= 40
		el_landed_chance_success_des_nei > 20
	}
        localization_key = el_landed_success_chance_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_des_nei <= 60
		el_landed_chance_success_des_nei > 40
	}
        localization_key = el_landed_success_chance_medium
    }
	text = {
        trigger = { 
		el_landed_chance_success_des_nei <= 80
		el_landed_chance_success_des_nei > 60
	}
        localization_key = el_landed_success_chance_high
    }
	text = {
        trigger = { 
		el_landed_chance_success_des_nei > 80
	}
        localization_key = el_landed_success_chance_very_high
    }
}

el_landed_regale_court_success_chance_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_chance_success_regale_court <= 20
	}
        localization_key = el_landed_success_chance_very_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_regale_court <= 40
		el_landed_chance_success_regale_court > 20
	}
        localization_key = el_landed_success_chance_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_regale_court <= 60
		el_landed_chance_success_regale_court > 40
	}
        localization_key = el_landed_success_chance_medium
    }
	text = {
        trigger = { 
		el_landed_chance_success_regale_court <= 80
		el_landed_chance_success_regale_court > 60
	}
        localization_key = el_landed_success_chance_high
    }
	text = {
        trigger = { 
		el_landed_chance_success_regale_court > 80
	}
        localization_key = el_landed_success_chance_very_high
    }
}

el_landed_imp_dom_success_chance_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_chance_success_imp_dom <= 20
	}
        localization_key = el_landed_success_chance_very_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_imp_dom <= 40
		el_landed_chance_success_imp_dom > 20
	}
        localization_key = el_landed_success_chance_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_imp_dom <= 60
		el_landed_chance_success_imp_dom > 40
	}
        localization_key = el_landed_success_chance_medium
    }
	text = {
        trigger = { 
		el_landed_chance_success_imp_dom <= 80
		el_landed_chance_success_imp_dom > 60
	}
        localization_key = el_landed_success_chance_high
    }
	text = {
        trigger = { 
		el_landed_chance_success_imp_dom > 80
	}
        localization_key = el_landed_success_chance_very_high
    }
}

el_landed_con_nei_success_chance_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_chance_success_con_nei <= 20
	}
        localization_key = el_landed_success_chance_very_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_con_nei <= 40
		el_landed_chance_success_con_nei > 20
	}
        localization_key = el_landed_success_chance_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_con_nei <= 60
		el_landed_chance_success_con_nei > 40
	}
        localization_key = el_landed_success_chance_medium
    }
	text = {
        trigger = { 
		el_landed_chance_success_con_nei <= 80
		el_landed_chance_success_con_nei > 60
	}
        localization_key = el_landed_success_chance_high
    }
	text = {
        trigger = { 
		el_landed_chance_success_con_nei > 80
	}
        localization_key = el_landed_success_chance_very_high
    }
}

el_landed_sup_fac_success_chance_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_chance_success_sup_fac <= 20
	}
        localization_key = el_landed_success_chance_very_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_sup_fac <= 40
		el_landed_chance_success_sup_fac > 20
	}
        localization_key = el_landed_success_chance_low
    }
	text = {
        trigger = { 
		el_landed_chance_success_sup_fac <= 60
		el_landed_chance_success_sup_fac > 40
	}
        localization_key = el_landed_success_chance_medium
    }
	text = {
        trigger = { 
		el_landed_chance_success_sup_fac <= 80
		el_landed_chance_success_sup_fac > 60
	}
        localization_key = el_landed_success_chance_high
    }
	text = {
        trigger = { 
		el_landed_chance_success_sup_fac > 80
	}
        localization_key = el_landed_success_chance_very_high
    }
}



el_landed_contract_train_knights_avail_value_loc = { ### modif 3
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_train_knight_value = yes 
	}
        localization_key = el_landed_train_knight_avail_value_ok
    }
}

el_landed_contract_tutor_child_avail_value_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		 el_landed_available_tutor_child_value = yes
	}
        localization_key = el_landed_tutor_child_avail_value_ok
    }
}

el_landed_contract_destabilize_neighbor_avail_value_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		 el_landed_available_des_nei_value = yes 
	}
        localization_key = el_landed_des_nei_avail_value_ok
    }
}

el_landed_contract_regale_court_avail_value_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_regale_court_value = yes 
	}
        localization_key = el_landed_regale_court_avail_value_ok
    }
}

el_landed_contract_improving_the_domain_avail_value_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_imp_dom_value = yes 
	}
        localization_key = el_landed_imp_dom_avail_value_ok
    }
}

el_landed_contract_converting_neighbors_avail_value_loc = {
    type = character
    random_valid = no
    text = {
        trigger = { 
		el_landed_available_con_nei_value = yes 
	}
        localization_key = el_landed_con_nei_avail_value_ok
    }
}

el_landed_contract_support_faction_avail_value_loc = {
    type = character
    random_valid = no
    text = {
        trigger = {			
		el_landed_available_sup_fac_value = yes 
	}
        localization_key = el_landed_sup_fac_avail_value_ok
    }
}