﻿historical_figure_adjust_modifier_misc_effect = {

	if = {
		limit = { is_imprisoned = yes }
		add_diplomacy_skill = 5
	}

}


historical_figure_adjust_modifier_effect = {

	if = {
		limit = { has_character_modifier = murder_feast_great_murderer_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = i_am_corteous_guest_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_scholarly_confidence_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = feast_practiced_secrecy_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = feast_showed_great_restraint_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_had_interesting_conversation_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_suspicious_of_food_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_bird_based_exercise_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_blew_off_steam_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_moonlight_shadow_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_truth_bender_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = feast_untruthful_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = feast_sneakily_defaced_artifact_modifier }
		add_intrigue_skill = -1
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = hold_court_written_language_women_modifier }
		add_intrigue_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = hold_court_written_language_women_advanced_modifier }
		add_intrigue_skill = -2
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = hold_court_written_language_men_modifier }
		add_intrigue_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = hold_court_written_language_men_advanced_modifier }
		add_intrigue_skill = -2
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = hunt_poacher_training_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = hunt_fresh_air_and_exercise_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_focused_attention_modifier }
		add_stewardship_skill = -2
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = modifier_hunt_dog_fighting_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_mediated_fight_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_focused_effort_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_treated_injury_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_mystical_animal_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = hunt_stocked_medicus_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_witch_protector_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_poisonous_herbs_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunt_medicinal_herbs_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = dog_story_scenthound_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = dog_story_beasthound_modifier }
		add_prowess_skill = -1
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = pilgrimage_religious_reflections_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = pilgrimage_combat_omen_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = pilgrimage_watchful_omen_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = pilgrimage_hostile_omen_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = imperial_contemplation_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = contemplated_ancient_gods_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = pilgrimage_turned_back_buried_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = pilgrimage_herbalist_modifier }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = playdate_practicing_trade_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = playdate_boring_playmate_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = playdate_struggling_with_writing_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = pondering_rulership_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = pondering_religion_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = pondering_schemes_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = pondering_management_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_melee_winner_modifier }
		add_martial_skill = -3
	}
	if = {
		limit = { has_character_modifier = tournament_recital_winner_modifier }
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = tournament_board_game_winner_modifier }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = tournament_melee_participant_modifier }
		add_martial_skill = -3
	}
	if = {
		limit = { has_character_modifier = tournament_recital_participant_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_board_game_participant_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_dislocated_finger_modifier }
		add_prowess_skill = 3
	}
	if = {
		limit = { has_character_modifier = tournament_blurry_vision_modifier }
		add_prowess_skill = 2
	}
	if = {
		limit = { has_character_modifier = tournament_really_blurry_vision_modifier }
		add_prowess_skill = 5
	}
	if = {
		limit = { has_character_modifier = tournament_walking_funny_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = tournament_discombobulated_modifier }
		add_prowess_skill = 2
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = tournament_poison_tummy_ache_modifier }
		add_prowess_skill = 2
	}
	if = {
		limit = { has_character_modifier = tournament_thug_escape_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = tournament_attempted_sabotage_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = tournament_wicked_hangover_modifier }
		add_prowess_skill = 3
	}
	if = {
		limit = { has_character_modifier = tournament_weaponsmith_ornament_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_armorer_shield_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_armorer_tournament_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_bowyer_quiver_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_tailor_glove_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_tailor_mixup_scheme_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_bracer_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_two_bracers_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_kept_the_peace_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_dice_player_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_foreign_knight_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_ambidextrous_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_ambisinister_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = tournament_fashionable_duelist_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = tournament_roguish_duelist_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = tournament_melee_protector_modifier }
		add_prowess_skill = -5
	}
	if = {
		limit = { has_character_modifier = played_it_cool_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = festival_2080_red_prowess }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = festival_2080_red_prowess_bad }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = super_sleuth_modifier }
		add_learning_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = tour_vassal_cat_killer_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = tour_liege_cat_killer_modifier }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = tour_vassal_dog_killer_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = tour_liege_dog_killer_modifier }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = tour_smooth_talker_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = tour_snooping_liege_modifier }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = tours_grounds_excellent_horses_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = wedding_of_the_century_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep2_wedding_shared_values_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = gwedding_hosted_murder_wedding_modifier }
		add_diplomacy_skill = 8
	}
	if = {
		limit = { has_character_modifier = wedding_barred_doors_modifier }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = wedding_enforced_security_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = wedding_political_mentality_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = wedding_thinking_outside_box_modifier }
		add_diplomacy_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = artifact_tournament_sharpened_blade_modifier }
		add_prowess_skill = -8
	}
	if = {
		limit = { has_character_modifier = befriend_martial_study_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = befriend_diplomacy_study_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = befriend_intrigue_study_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = befriend_stewardship_study_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = befriend_learning_study_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = abandoned_marriage_modifier }
		add_stewardship_skill = -4
	}
	if = {
		limit = { has_character_modifier = vengeance_obsessed_modifier }
		add_diplomacy_skill = 2
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = drinking_binge }
		add_stewardship_skill = 2
	}
	if = {
		limit = { has_character_modifier = focused_on_realm }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = memory_of_sunlight_personal }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = childhood_prison_escape }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_diplomacy_1_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_diplomacy_2_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_martial_1_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_martial_2_modifier }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_stewardship_1_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_stewardship_2_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_intrigue_1_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_intrigue_2_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_learning_1_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_learning_2_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = heir_easier_to_marry_off_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = child_easier_to_marry_off_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = practiced_manners_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = spouse_martial_personal_guard_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = councillor_spouse_espionage_support_modifier }
		add_intrigue_skill = -5
	}
	if = {
		limit = { has_character_modifier = warfare_tutor }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = statecraft_tutor }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = guile_tutor }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = governance_tutor }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = scholarship_tutor }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studying_diplomacy }
		add_diplomacy_skill = -2
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studying_martial }
		add_martial_skill = -2
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studying_stewardship }
		add_stewardship_skill = -2
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studying_intrigue }
		add_intrigue_skill = -2
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studying_learning }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = focused_student }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = hold_court_inspector_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = hold_court_bilingual_readings_modifier }
		add_learning_skill = -1
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = used_sumptuary_debate_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = sumptuary_debated_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = experimental_brew_diplomacy_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = experimental_brew_martial_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = experimental_brew_stewardship_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = experimental_brew_intrigue_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = experimental_brew_learning_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = experimental_brew_prowess_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = orchid_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t1_treasure_modifier }
		add_diplomacy_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t1_property_modifier }
		add_stewardship_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t2_treasure_modifier }
		add_diplomacy_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t2_property_modifier }
		add_stewardship_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t3_treasure_modifier }
		add_diplomacy_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t3_property_modifier }
		add_stewardship_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t4_treasure_modifier }
		add_diplomacy_skill = -2
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = vizier_extravagance_t4_property_modifier }
		add_stewardship_skill = -2
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = diplomacy_majesty_4030_basic_strategy_modifier }
		add_diplomacy_skill = -1
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = diplomacy_majesty_4030_advanced_strategy_modifier }
		add_diplomacy_skill = -2
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = diplomacy_majesty_4090_resplendent_raiment_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = diplomacy_majesty_4090_traditional_raiment_modifier }
		add_diplomacy_skill = -2
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = pacifist_mindset_modifier }
		add_prowess_skill = 20
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = told_good_story_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = mystic_wisdom_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = trained_in_warrior_culture_modifier }
		add_prowess_skill = -5
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = training_hard_modifier }
		add_prowess_skill = -20
	}
	if = {
		limit = { has_character_modifier = philosophical_musings_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = personal_chivalry_modifier }
		add_diplomacy_skill = -1
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = travel_events.3000_interest_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = satiated_curiosity }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = adventurous_pet_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = feral_pet_love_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = confident_diplomat }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = confident_strategist }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = confident_organizer }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = confident_schemer }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = confident_scholar }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = confident_duelist }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = clear_mind_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = diplomacy_student_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = prowess_student_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = intrigue_student_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = seeker_of_knowledge }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = trickster_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = defender_of_the_faith }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = dynasty_of_many_crowns }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = dynasty_of_many_crowns_nomad }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = ruler_of_the_ganges_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = covered_in_feces }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = aspiring_flatulist }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = suspicious_of_furniture }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = playing_with_miniatures }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = guarded_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = studied_venomous_animal_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = focused_reading_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = focused_on_mystical_animal_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = extra_efforts_depressed_modifier }
		add_diplomacy_skill = -1
		add_stewardship_skill = -1
		add_martial_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = studying_corpses_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = useful_insights_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = confused_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = busy_tutoring_modifier }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = focused_on_teaching_martial_modifier }
		add_martial_skill = 2
	}
	if = {
		limit = { has_character_modifier = almohad_leader_modifier }
		add_martial_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = rulership_playful_experimentation_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = rulership_mudraking_river_banks_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = governance_1062_natural_philosopher_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = stewardship_domain_special_1500_hoarding_assessment_records }
		add_intrigue_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = stewardship_duty_value_of_service_exchange_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = stewardship_general_bartering_strategies_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = chastised_physician_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = exhausted_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = low_social_energy_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = lunatic_made_of_glass_modifier }
		add_prowess_skill = 4
	}
	if = {
		limit = { has_character_modifier = holy_order_experience_modifier }
		add_martial_skill = -1
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = more_vigilant_recistance_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = intrigue_risky_poison_experimentation_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = intrigue_starved_and_deprived_modifier }
		add_diplomacy_skill = 1
		add_martial_skill = 1
		add_stewardship_skill = 1
		add_intrigue_skill = 1
		add_learning_skill = 1
		add_prowess_skill = 2
	}
	if = {
		limit = { has_character_modifier = intrigue_suffered_degredation_modifier }
		add_diplomacy_skill = 2
		add_stewardship_skill = 1
		add_intrigue_skill = 2
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = intrigue_broken_modifier }
		add_diplomacy_skill = 2
		add_martial_skill = 2
		add_stewardship_skill = 2
		add_intrigue_skill = 2
		add_learning_skill = 2
		add_prowess_skill = 3
	}
	if = {
		limit = { has_character_modifier = intrigue_hoarding_secrets_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = dark_insights_prowess_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = dark_insights_intrigue_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = intrigue_yes_man_spymaster_modifier }
		add_intrigue_skill = 2
	}
	if = {
		limit = { has_character_modifier = intrigue_yes_man_chancellor_modifier }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = intrigue_yes_man_marshal_modifier }
		add_martial_skill = 2
	}
	if = {
		limit = { has_character_modifier = intrigue_yes_man_steward_modifier }
		add_stewardship_skill = 2
	}
	if = {
		limit = { has_character_modifier = intrigue_yes_man_court_chaplain_modifier }
		add_learning_skill = 2
	}
	if = {
		limit = { has_character_modifier = intrigue_trusty_spymaster_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_trusty_chancellor_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_trusty_steward_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_trusty_marshal_modifier }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_trusty_court_chaplain_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_doing_spymasters_job_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_doing_chancellors_job_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_doing_stewards_job_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_doing_marshals_job_modifier }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = intrigue_doing_court_chaplains_job_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = laamp_base_3661_stole_dogs_modifier }
		add_diplomacy_skill = -5
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = scholarship_bird_dissection_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = book_translation_ongoing_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = scholarship_astrological_insights_modifier }
		add_learning_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = logical_thinking_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = wide_vocabulary_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = exercise_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = divine_guidance_modifier }
		add_learning_skill = -1
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = bibliomancy_tense_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = hallucinogenic_visions_terrifying_modifier }
		add_learning_skill = -6
	}
	if = {
		limit = { has_character_modifier = hallucinogenic_visions_uplifting_modifier }
		add_learning_skill = -6
	}
	if = {
		limit = { has_character_modifier = cosmic_insights_modifier }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = mounted_warrior_practice_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = innovative_strategy_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = fought_a_seasoned_warrior }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = studied_an_old_battle }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = studying_ancient_texts }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = studied_the_battle_of_gaixia }
		add_martial_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studied_the_battle_of_red_cliffs }
		add_martial_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studied_the_battle_of_thermopylae }
		add_martial_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = studied_the_battle_of_teutoburg_forest }
		add_martial_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = won_practice_duel }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = respected_expertise }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = faced_my_fears }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = respected_vigor }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = warfare_motivated_instructor_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = warfare_tamer_of_horses_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_story_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_strength_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_agility_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = horse_endurance_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_fierceness_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_strength_strength_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = horse_agility_strength_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = horse_agility_agility_modifier }
		add_prowess_skill = -3
	}
	if = {
		limit = { has_character_modifier = horse_endurance_strength_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_endurance_agility_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = horse_endurance_endurance_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_fierceness_strength_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_fierceness_agility_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = horse_fierceness_endurance_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_fierceness_fierceness_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = horse_practice_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = parent_aids_martial_modifier }
		add_martial_skill = -3
	}
	if = {
		limit = { has_character_modifier = parent_aids_diplomacy_modifier }
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = parent_aids_stewardship_modifier }
		add_stewardship_skill = -3
	}
	if = {
		limit = { has_character_modifier = parent_aids_intrigue_modifier }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = parent_aids_learning_modifier }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = parent_dealing_with_courtiers_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = parent_events_wrangling_courtiers_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = party_baron_reflection_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = party_baron_endorsed_successor_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = embassies_perk_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = sound_foundations_martial_gain }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = sound_foundations_diplomacy_gain }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = sound_foundations_intrigue_gain }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = sound_foundations_stewardship_gain }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = sound_foundations_learning_gain }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = friendly_counsel_martial_gain }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = friendly_counsel_diplomacy_gain }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = friendly_counsel_intrigue_gain }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = friendly_counsel_stewardship_gain }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = friendly_counsel_learning_gain }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = domain_tutoring_martial }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = domain_tutoring_diplomacy }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = domain_tutoring_intrigue }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = domain_tutoring_stewardship }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = domain_tutoring_learning }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = house_arrest }
		add_diplomacy_skill = 5
	}
	if = {
		limit = { has_character_modifier = dungeon }
		add_diplomacy_skill = 5
	}
	if = {
		limit = { has_character_modifier = driven_by_vengeance_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = focused_on_revenge_modifier }
		add_prowess_skill = -2
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = wind_spirit_blessing }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = water_spirit_blessing }
		add_stewardship_skill = -3
	}
	if = {
		limit = { has_character_modifier = rock_spirit_blessing }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = tree_spirit_blessing }
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = bush_spirit_blessing }
		add_martial_skill = -3
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = bhakti_hinduism_saraswati }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = bhakti_hinduism_kali }
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = bhakti_hinduism_kubera }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = bhakti_vaishnavism_jagganath }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = bhakti_vaishnavism_hayagriva }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = bhakti_shaivism_virabhadra }
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = bhakti_smartism_ganesha }
		add_learning_skill = -2
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = meditating_in_seclusion_modifier }
		add_diplomacy_skill = 1
		add_martial_skill = 1
		add_stewardship_skill = 1
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = astrology_great_battle }
		add_martial_skill = -2
		add_learning_skill = 2
	}
	if = {
		limit = { has_character_modifier = astrology_new_friends }
		add_diplomacy_skill = -2
		add_martial_skill = 2
	}
	if = {
		limit = { has_character_modifier = astrology_hard_work }
		add_stewardship_skill = -2
		add_intrigue_skill = 2
	}
	if = {
		limit = { has_character_modifier = astrology_betrayal }
		add_intrigue_skill = -2
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = astrology_new_beginnings }
		add_learning_skill = -2
		add_stewardship_skill = 2
	}
	if = {
		limit = { has_character_modifier = used_literalist_debate_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = literally_debated_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = seduce_horse_gift_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = seduce_rare_book_gift_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = seduce_woodcarving_gift_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = seduce_flower_display_gift_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = seduce_warfare_military_ideas_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = seduce_diplomatic_practice_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = seduce_figting_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = seduce_intrigue_knowing_knowledge_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = sibling_aids_in_diplomacy }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = sibling_aids_in_martial }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = sibling_aids_in_intrigue }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = sibling_aids_in_stewardship }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = sibling_aids_in_learning }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = combat_move_hurt_me_better_wounded_1_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = combat_move_hurt_me_better_wounded_2_modifier }
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = combat_move_hurt_me_better_wounded_3_modifier }
		add_prowess_skill = -8
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_01_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_02_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_03_modifier }
		add_prowess_skill = -3
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_04_modifier }
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_05_modifier }
		add_prowess_skill = -5
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_06_modifier }
		add_prowess_skill = -6
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_07_modifier }
		add_prowess_skill = -7
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_08_modifier }
		add_prowess_skill = -8
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_09_modifier }
		add_prowess_skill = -9
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_10_modifier }
		add_prowess_skill = -10
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_11_modifier }
		add_prowess_skill = -11
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_12_modifier }
		add_prowess_skill = -12
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_13_modifier }
		add_prowess_skill = -13
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_14_modifier }
		add_prowess_skill = -14
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_15_modifier }
		add_prowess_skill = -15
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_16_modifier }
		add_prowess_skill = -16
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_17_modifier }
		add_prowess_skill = -17
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_18_modifier }
		add_prowess_skill = -18
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_19_modifier }
		add_prowess_skill = -19
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_20_modifier }
		add_prowess_skill = -20
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_21_modifier }
		add_prowess_skill = -21
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_22_modifier }
		add_prowess_skill = -22
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_23_modifier }
		add_prowess_skill = -23
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_24_modifier }
		add_prowess_skill = -24
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_25_modifier }
		add_prowess_skill = -25
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_26_modifier }
		add_prowess_skill = -26
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_27_modifier }
		add_prowess_skill = -27
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_28_modifier }
		add_prowess_skill = -28
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_29_modifier }
		add_prowess_skill = -29
	}
	if = {
		limit = { has_character_modifier = duel_edge_buff_30_modifier }
		add_prowess_skill = -30
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_01_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_02_modifier }
		add_prowess_skill = 2
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_03_modifier }
		add_prowess_skill = 3
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_04_modifier }
		add_prowess_skill = 4
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_05_modifier }
		add_prowess_skill = 5
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_06_modifier }
		add_prowess_skill = 6
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_07_modifier }
		add_prowess_skill = 7
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_08_modifier }
		add_prowess_skill = 8
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_09_modifier }
		add_prowess_skill = 9
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_10_modifier }
		add_prowess_skill = 10
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_11_modifier }
		add_prowess_skill = 11
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_12_modifier }
		add_prowess_skill = 12
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_13_modifier }
		add_prowess_skill = 13
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_14_modifier }
		add_prowess_skill = 14
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_15_modifier }
		add_prowess_skill = 15
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_16_modifier }
		add_prowess_skill = 16
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_17_modifier }
		add_prowess_skill = 17
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_18_modifier }
		add_prowess_skill = 18
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_19_modifier }
		add_prowess_skill = 19
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_20_modifier }
		add_prowess_skill = 20
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_21_modifier }
		add_prowess_skill = 21
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_22_modifier }
		add_prowess_skill = 22
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_23_modifier }
		add_prowess_skill = 23
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_24_modifier }
		add_prowess_skill = 24
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_25_modifier }
		add_prowess_skill = 25
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_26_modifier }
		add_prowess_skill = 26
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_27_modifier }
		add_prowess_skill = 27
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_28_modifier }
		add_prowess_skill = 28
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_29_modifier }
		add_prowess_skill = 29
	}
	if = {
		limit = { has_character_modifier = duel_edge_debuff_30_modifier }
		add_prowess_skill = 30
	}
	if = {
		limit = { has_character_modifier = spymaster_task_sacrificed_efficiency_modifier }
		add_intrigue_skill = 2
	}
	if = {
		limit = { has_character_modifier = studies_murders_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = mystical_animal_distracted_knight_modifier }
		add_prowess_skill = 2
		add_diplomacy_skill = 2
		add_martial_skill = 2
		add_stewardship_skill = 2
		add_intrigue_skill = 2
		add_learning_skill = 2
	}
	if = {
		limit = { has_character_modifier = cat_story_modifier }
		add_learning_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = dog_story_modifier }
		add_prowess_skill = -1
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = eagle_story_modifier }
		add_martial_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = brave_eagle_story_modifier }
		add_prowess_skill = -1
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = curious_eagle_story_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = loyal_eagle_story_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = wise_eagle_story_modifier }
		add_stewardship_skill = -2
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = cunning_eagle_story_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = weak_eagle_modifier }
		add_martial_skill = 1
	}
	if = {
		limit = { has_character_modifier = very_weak_eagle_modifier }
		add_martial_skill = 1
	}
	if = {
		limit = { has_character_modifier = skilled_eagle_modifier }
		add_prowess_skill = -1
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = eagle_hunter_childhood_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = stress_frozen_grief }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = stress_managed_grief }
		add_diplomacy_skill = 1
		add_martial_skill = 1
		add_stewardship_skill = 1
		add_intrigue_skill = 1
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = encouraged_city_burn_modifier }
		add_diplomacy_skill = 4
	}
	if = {
		limit = { has_character_modifier = running_from_responsibilities_modifier }
		add_diplomacy_skill = 6
		add_stewardship_skill = 6
	}
	if = {
		limit = { has_character_modifier = good_exercise_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = messy_library_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = travel_ran_like_the_wind_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = travel_sore_muscles_modifier }
		add_prowess_skill = 2
	}
	if = {
		limit = { has_character_modifier = travel_bull_fighter_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = travel_down_to_earth_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = travel_ate_poisonous_plant_modifier }
		add_prowess_skill = 4
	}
	if = {
		limit = { has_character_modifier = travel_good_poisonous_plant_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = emaciated_modifier }
		add_prowess_skill = 5
	}
	if = {
		limit = { has_character_modifier = contemplated_life }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = travel_city_existential_dread }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = unity_house_organized_for_war_modifier }
		add_martial_skill = -1
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = unity_house_focused_on_economy_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = journey_pauper_king_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = journey_blame_game_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = destination_inspired_by_language }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = journey_bellicose_modifier }
		add_martial_skill = -2
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = journey_bureaucratic_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = journey_spiritual_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = journey_egalitarian_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = sparring_honed_skills_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = sparring_delusions_of_superiority_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = sparring_leader_of_knights_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = sparring_sprained_ankle_modifier }
		add_prowess_skill = 3
	}
	if = {
		limit = { has_character_modifier = yearly_0001_improved_diplomacy }
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = yearly_0001_improved_martial }
		add_martial_skill = -3
	}
	if = {
		limit = { has_character_modifier = yearly_0001_improved_stewardship }
		add_stewardship_skill = -3
	}
	if = {
		limit = { has_character_modifier = yearly_0001_improved_intrigue }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = yearly_0001_improved_learning }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = yearly_improved_impressions_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = yearly_9020_personal_war_elephant }
		add_prowess_skill = -10
	}
	if = {
		limit = { has_character_modifier = yearly_0011_friends_in_high_places }
		add_diplomacy_skill = -6
		add_martial_skill = -4
	}
	if = {
		limit = { has_character_modifier = performance_enhancers_modifier }
		add_prowess_skill = -10
	}
	if = {
		limit = { has_character_modifier = bp1_yearly_2030_failed_student_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = bp_yearly_8040_trying_to_be_mindful_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = bp1_yearly_8000_trusting_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = close_support_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = financial_support_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = life_of_the_party_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = bedrock_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = brawny_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = generous_friend_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = linguistically_challenged_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = descriptivist_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = house_feud_story_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = effective_agents_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = spyamateur_modifier }
		add_intrigue_skill = 2
	}
	if = {
		limit = { has_character_modifier = welcome_distraction_modifier }
		add_stewardship_skill = 2
	}
	if = {
		limit = { has_character_modifier = fanned_flame_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = bested_nemesis_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = bested_rival_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = unpredictable_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = exotic_pet_wolf }
		add_martial_skill = -1
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = exotic_pet_bear }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = exotic_pet_lion }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = knight_of_love_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = more_work_less_fun_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = spies_behind_every_corner_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = ghost_writer_at_court_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = lust_for_adventure }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp1_focusing_on_rule_modifier }
		add_diplomacy_skill = -1
		add_martial_skill = -1
		add_stewardship_skill = -1
		add_intrigue_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = brand_new_hunting_tools }
		add_prowess_skill = -3
	}
	if = {
		limit = { has_character_modifier = harald_tanglehairs_vow_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = harald_tanglehairs_reminder_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = harald_tanglehairs_vow_broken_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_martial_1_fp1_modifier }
		add_martial_skill = -4
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_martial_2_fp1_modifier }
		add_martial_skill = -8
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_martial_3_fp1_modifier }
		add_martial_skill = -12
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_prowess_1_fp1_modifier }
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_prowess_2_fp1_modifier }
		add_prowess_skill = -8
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_prowess_3_fp1_modifier }
		add_prowess_skill = -12
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_intrigue_1_fp1_modifier }
		add_intrigue_skill = -4
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_intrigue_2_fp1_modifier }
		add_intrigue_skill = -8
	}
	if = {
		limit = { has_character_modifier = shieldmaiden_level_intrigue_3_fp1_modifier }
		add_intrigue_skill = -12
	}
	if = {
		limit = { has_character_modifier = fp3_call_of_the_wild_modifier }
		add_learning_skill = -1
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_dutiful_scion_modifier }
		add_diplomacy_skill = -2
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_galvanized_heretics_county_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_great_tower_of_silence_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_less_great_tower_of_silence_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_praying_too_much_modifier }
		add_diplomacy_skill = 1
		add_stewardship_skill = 1
	}
	if = {
		limit = { has_character_modifier = fp3_name_read_in_friday_prayer_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_displayed_pious_submission_to_caliph_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_crushed_by_failure_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = fp3_rare_books_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_oil_of_vitriol_modifier }
		add_learning_skill = -1
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_dabbling_in_alchemy_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_alchemical_insights_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_thinking_about_the_afterlife_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_relentless_skeptic_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_capable_magistrates_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_army_influence_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_cutting_corners_modifier }
		add_learning_skill = 2
	}
	if = {
		limit = { has_character_modifier = fp3_wary_of_sabotage_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_paper_shortage_modifier }
		add_learning_skill = 2
	}
	if = {
		limit = { has_character_modifier = fp3_paper_surplus_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_liquid_wisdom_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_morbid_insights_modifier }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = fp3_impious_tax_collector_modifier }
		add_learning_skill = 5
	}
	if = {
		limit = { has_character_modifier = fp3_higher_purpose_modifier }
		add_diplomacy_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_honorary_title_scholarship_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp3_treatise_on_strategy_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_treatise_on_development_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_treatise_on_mathematics_modifier }
		add_learning_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp3_treatise_on_taxation_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = hold_court_8100_adopted_modifier }
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = hold_court_8280_nomadic_guard }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = servant_informants_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = medical_insights_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = misread_medicine_incompetence_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = inspired_medicine_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = compelling_apology_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = tortured_smith_spilling_secrets_modifier }
		add_martial_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = master_smith_npc_modifier }
		add_stewardship_skill = -3
	}
	if = {
		limit = { has_character_modifier = saw_the_world_from_above_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = great_translation_school_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = mediocre_translation_school_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = translation_effort_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = dusty_libraries_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = fp2_translated_skill_book_diplomacy_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp2_translated_skill_book_martial_modifier }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp2_translated_skill_book_stewardship_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = fp2_translated_skill_book_intrigue_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = fp2_translated_skill_book_learning_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = scratched_and_bruised }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = makeover_from_wise_woman_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = bad_makeover_from_wise_woman_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = cryptid_obssessed }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = feral_modifier }
		add_learning_skill = 5
		add_diplomacy_skill = 5
		add_stewardship_skill = 5
		add_prowess_skill = -10
	}
	if = {
		limit = { has_character_modifier = ignores_gender_army_rules }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = executed_assassin_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = drunken_stupor }
		add_learning_skill = 1
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = boozeless_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = embarassing_performance_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = interpreter_option_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = holding_torch_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = rejecting_bellicose_ways_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = rejecting_bureaucratic_ways_modifier }
		add_diplomacy_skill = -1
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = rejecting_communal_ways_modifier }
		add_learning_skill = -1
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = rejecting_courtly_ways_modifier }
		add_martial_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = rejecting_egalitarian_ways_modifier }
		add_martial_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = rejecting_spiritual_ways_modifier }
		add_intrigue_skill = -1
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = rejecting_stoic_ways_modifier }
		add_intrigue_skill = -1
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = bp2_dialogue_with_the_masters_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = bp2_uni_connections_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = bp2_uni_isolation_modifier }
		add_learning_skill = -1
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = bp2_understanding_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = bp2_ringing_ears_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = imaginary_friend_modifier }
		add_learning_skill = -5
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = bp2_destiny_tutor_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = rock_story_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = bp2_sore_thumb_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = bp2_good_parent_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = bp2_joust_prodigy_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = dearth_of_intellectuals_modifier }
		add_learning_skill = 2
	}
	if = {
		limit = { has_character_modifier = bereft_of_intellectuals_modifier }
		add_learning_skill = 3
	}
	if = {
		limit = { has_character_modifier = scorched_soles_modifier }
		add_prowess_skill = 4
	}
	if = {
		limit = { has_character_modifier = strong_flock_of_eagles_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = artifact_physician_aptitude_1_modifier }
		add_learning_skill = -5
	}
	if = {
		limit = { has_character_modifier = not_believable_modifier }
		add_intrigue_skill = 4
	}
	if = {
		limit = { has_character_modifier = legend_bruised_head }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = ce1_evil_spirit }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = angelic_founder }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = legend_nick_of_time }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = legend_well_organised }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = legend_bravely_ran_away }
		add_martial_skill = 1
	}
	if = {
		limit = { has_character_modifier = ce1_forward_thinking }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = ce1_avenging_child }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = fealty_demanded }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = ce1_gone_dancing }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = isolating_modifier }
		add_diplomacy_skill = 3
	}
	if = {
		limit = { has_character_modifier = legend_loose_lips }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = strange_levity }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = plague_the_long_road }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = sea_monsters_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = learned_in_demonology }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = dream_envious }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = cid_refused_betrothal }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = hunger_sickness_modifier }
		add_prowess_skill = 2
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = bandit_king_modifier }
		add_martial_skill = -2
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_0051_check_building_camp_fire_modifier }
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_0051_check_building_proving_grounds_modifier }
		add_martial_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_0051_check_building_camp_perimeter_modifier }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_1091_confidence_gained_modifier }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_2011_truth_hound_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_2071_b_work_self_to_death_modifier }
		add_diplomacy_skill = -4
		add_martial_skill = -4
		add_stewardship_skill = -4
		add_intrigue_skill = -4
		add_learning_skill = -4
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_2081_d_well_oiled_operation_modifier }
		add_stewardship_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_3011_d_presiding_over_lively_debates_modifier }
		add_diplomacy_skill = -4
		add_learning_skill = -4
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_3011_d_presiding_over_debates_modifier }
		add_diplomacy_skill = -2
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_3031_d_brooding_over_titles_modifier }
		add_martial_skill = -4
		add_prowess_skill = -4
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_3061_peoples_and_places_modifier }
		add_diplomacy_skill = -4
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_3061_prose_and_poetry_modifier }
		add_learning_skill = -4
	}
	if = {
		limit = { has_character_modifier = ep3_laamp_flavour_ewan_3061_plants_and_animals_modifier }
		add_diplomacy_skill = -2
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = fleeting_diplomacy_knowledge_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = fleeting_martial_knowledge_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = fleeting_stewardship_knowledge_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = fleeting_intrigue_knowledge_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = fleeting_learning_knowledge_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = fleeting_prowess_knowledge_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_rationalist_gov_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_religious_debate_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_restored_pentarchy_seat_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_maximum_border_modifier }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_new_justinian_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_western_tetrarch_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_long_lost_province_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_long_contested_province_modifier }
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_medi_gem_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_politics_before_all_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_triumph_promised_victories_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_triumph_promised_stability_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_triumph_promised_prosperity_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_unbeliever_in_signs_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = ep3_law_and_order_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_crowd_bender_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_governor_yearly_8040_overwhelmed_modifier }
		add_stewardship_skill = 2
	}
	if = {
		limit = { has_character_modifier = ep3_governor_yearly_8070_ignore_modifier }
		add_stewardship_skill = 2
	}
	if = {
		limit = { has_character_modifier = hostile_schemes_distracted_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = personal_schemes_distracted_modifier }
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = restored_greek_theme_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_1_modifier }
		add_stewardship_skill = 3
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_2_modifier }
		add_stewardship_skill = 2
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_3_modifier }
		add_stewardship_skill = 1
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_4_modifier }
		add_stewardship_skill = -2
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_5_modifier }
		add_stewardship_skill = -3
		add_intrigue_skill = 2
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_6_modifier }
		add_stewardship_skill = -4
		add_intrigue_skill = 3
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_7_modifier }
		add_stewardship_skill = -5
		add_intrigue_skill = 4
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_liege_8_modifier }
		add_stewardship_skill = -6
		add_intrigue_skill = 5
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_eunuch_4_modifier }
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_eunuch_5_modifier }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_eunuch_6_modifier }
		add_intrigue_skill = -4
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_eunuch_7_modifier }
		add_intrigue_skill = -5
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_eunuch_8_modifier }
		add_intrigue_skill = -6
	}
	if = {
		limit = { has_character_modifier = admin_eunuch_puppet_modifier }
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = eager_for_empire_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_refreshed_and_relaxed }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_reunited_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_famous_connections_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_tutoring_noblewoman_modifier }
		add_learning_skill = 1
		add_diplomacy_skill = 1
	}
	if = {
		limit = { has_character_modifier = ep3_focused_on_studies_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_renounced_governorship }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = laamp_decision_exotic_story_diplomacy_gain_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = laamp_decision_exotic_story_martial_gain_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = laamp_decision_exotic_story_stewardship_gain_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = laamp_decision_exotic_story_intrigue_gain_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = laamp_decision_exotic_story_learning_gain_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_rested_and_refreshed_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_cricked_neck_modifier }
		add_prowess_skill = 2
	}
	if = {
		limit = { has_character_modifier = ep3_friend_to_old_soldiers_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_new_tastes_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_recently_mentored_governor }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_lust_for_land_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_foreign_affairs_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_responsible_with_money }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_clumsy_rescuer_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = ep3_under_suspicion_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_modifier_1 }
		add_martial_skill = -1
		add_diplomacy_skill = -1
		add_stewardship_skill = -1
		add_intrigue_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_modifier_2 }
		add_martial_skill = -2
		add_diplomacy_skill = -2
		add_stewardship_skill = -2
		add_intrigue_skill = -2
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_modifier_3 }
		add_martial_skill = -3
		add_diplomacy_skill = -3
		add_stewardship_skill = -3
		add_intrigue_skill = -3
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_culturally_greek_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_stewardship }
		add_stewardship_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_martial }
		add_martial_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_learning }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_diplomacy }
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = ep3_fireside_chat_intrigue }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = raid_insight_living_quarters }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = raid_insight_trophy_room }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = raid_insight_office }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = raid_insight_servants_quarters }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = raid_insight_library }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = knight_teacher_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = charlatan_inspiration }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = landless_local_arbitration_wanderers_modifier }
		add_diplomacy_skill = -1
		add_martial_skill = -1
		add_stewardship_skill = -1
		add_intrigue_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = landless_local_arbitration_mercenaries_modifier }
		add_martial_skill = -2
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = landless_local_arbitration_scholars_modifier }
		add_learning_skill = -2
		add_stewardship_skill = -2
	}
	if = {
		limit = { has_character_modifier = landless_local_arbitration_explorers_modifier }
		add_diplomacy_skill = -2
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = landless_local_arbitration_brigands_modifier }
		add_prowess_skill = -2
		add_intrigue_skill = -2
	}
	if = {
		limit = { has_character_modifier = landless_local_arbitration_legitimists_modifier }
		add_diplomacy_skill = -2
		add_martial_skill = -2
	}
	if = {
		limit = { has_character_modifier = criminal_family_dynasty_modifier }
		add_intrigue_skill = 1
	}
	if = {
		limit = { has_character_modifier = mpo_paiza_robbed_merchants }
		add_intrigue_skill = -2
		add_diplomacy_skill = 2
	}
	if = {
		limit = { has_character_modifier = mpo_magical_tree_wisdom_modifier }
		add_learning_skill = -3
	}
	if = {
		limit = { has_character_modifier = mpo_throatsinging_practice_modifier }
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_throatsinging_great_practice_modifier }
		add_learning_skill = -2
	}
	if = {
		limit = { has_character_modifier = mpo_throatsinging_duet_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = mpo_throatsinging_great_performance_modifier }
		add_diplomacy_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_lunar_new_year_monkey_modifier }
		add_intrigue_skill = -3
	}
	if = {
		limit = { has_character_modifier = mpo_lunar_new_year_pig_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_lunar_new_year_rat_modifier }
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_lunar_new_year_tiger_modifier }
		add_martial_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_lunar_new_year_rabbit_modifier }
		add_diplomacy_skill = -3
	}
	if = {
		limit = { has_character_modifier = mpo_lunar_new_year_dragon_modifier }
		add_learning_skill = -2
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = inspired_in_wifely_duties_modifier }
		add_stewardship_skill = -2
		add_diplomacy_skill = -1
		add_intrigue_skill = -1
		add_learning_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_destined_leader_modifier }
		add_martial_skill = -2
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = aspiring_great_khan_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = mpo_yurt_merc_modifier_1 }
		add_martial_skill = -1
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_yurt_merc_modifier_2 }
		add_martial_skill = -1
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_yurt_merc_modifier_3 }
		add_martial_skill = -1
		add_prowess_skill = -2
		add_stewardship_skill = -1
	}
	if = {
		limit = { has_character_modifier = jamukha_chose_loyalty_modifier }
		add_diplomacy_skill = -2
	}
	if = {
		limit = { has_character_modifier = mpo_sharp_wits_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_storyteller_heroic_triumphs_modifier }
		add_prowess_skill = -2
	}
	if = {
		limit = { has_character_modifier = mpo_whistling_is_difficult_modifier }
		add_learning_skill = 1
	}
	if = {
		limit = { has_character_modifier = mpo_sufficient_liar_modifier }
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_messenger_positive_liege_modifier }
		add_prowess_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_messenger_negative_liege_modifier }
		add_prowess_skill = 1
	}
	if = {
		limit = { has_character_modifier = mpo_hardened_modifier }
		add_diplomacy_skill = -1
		add_learning_skill = -1
		add_stewardship_skill = -1
		add_martial_skill = -1
		add_intrigue_skill = -1
	}
	if = {
		limit = { has_character_modifier = mpo_honorable_ruler }
		add_diplomacy_skill = -1
	}

}
