﻿diplomacy_foreign_affairs_focus = {
	lifestyle = diplomacy_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	
	modifier = {
		independent_ruler_opinion = 15
		fellow_vassal_opinion = 15
		additional_fort_level = -2
	}

	desc = {
		desc = diplomacy_foreign_affairs_focus_desc
		desc = line_break
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_diplomacy_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = shy
			}
			multiply = 0
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
diplomacy_majesty_focus = {
	lifestyle = diplomacy_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	
	modifier = {
		monthly_prestige = 1
		monthly_piety = -1
		courtly_opinion = 5
	}

	desc = {
		desc = diplomacy_majesty_focus_desc
		desc = line_break
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_diplomacy_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = arrogant
			}
			multiply = 5
		}
		if = {
			limit = {
				has_trait = ambitious
			}
			multiply = 2
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
diplomacy_family_focus = {
	lifestyle = diplomacy_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	
	modifier = {
		powerful_vassal_opinion = -20
		years_of_fertility = 10
		monthly_dynasty_prestige = 0.02
	}

	desc = {
		desc = diplomacy_family_focus_desc
		desc = line_break
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_diplomacy_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
diplomacy_adventurer_focus = { # Reputation
	lifestyle = diplomacy_lifestyle
	
	is_shown = {
		government_has_flag = government_is_landless_adventurer
	}
	is_valid = {
		government_has_flag = government_is_landless_adventurer
	}
	
	modifier = {
		diplomacy_scheme_phase_duration = -20
		monthly_prestige = 1
		monthly_piety = -1
	}

	desc = {
		desc = diplomacy_adventurer_focus_desc
		desc = line_break
	}

	auto_selection_weight = {
		value = 5000
		if = {
			limit = {
				has_education_diplomacy_trigger = yes
			}
			add = 50000
		}
	}
}
martial_strategy_focus = { # War
	lifestyle = martial_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = martial_strategy_focus_desc
		desc = line_break
	}
	
	modifier = {
		advantage = 5
		parochial_opinion = -30
		glory_hound_opinion = 5
		#parochial_tax_contribution_mult = -0.20
		#county_opinion_add = -20
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_martial_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
martial_authority_focus = {
	lifestyle = martial_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = martial_authority_focus_desc
		desc = line_break
	}
	
	modifier = {
		monthly_county_control_growth_add = 0.3
		monthly_tyranny = 0.50
		#barons_and_minor_landholders_opinion = -5
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_martial_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = arrogant
			}
			multiply = 2
		}
		if = {
			limit = {
				has_trait = shy
			}
			multiply = 0
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
martial_chivalry_focus = { # Contest
	lifestyle = martial_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = martial_chivalry_focus_desc
		desc = line_break
	}
	
	modifier = {
		prowess = 5
		tourney_participant_xp_gain_mult = 0.50
		#advantage = -5
		#belligerent_opinion = 5
		intrigue_scheme_resistance = -50
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_martial_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = brave
			}
			multiply = 5
		}
		if = {
			limit = {
				has_trait = honest
			}
			multiply = 2
		}
		if = {
			limit = {
				has_trait = chaste
			}
			multiply = 1.5
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
martial_adventurer_focus = {
	lifestyle = martial_lifestyle
	
	is_shown = {
		government_has_flag = government_is_landless_adventurer
	}
	is_valid = {
		government_has_flag = government_is_landless_adventurer
	}

	desc = {
		desc = martial_adventurer_focus_desc
		desc = line_break
	}
	
	modifier = {
		advantage = 5
		provisions_use_mult = 0.2
		martial_scheme_phase_duration = -20
	}

	auto_selection_weight = {
		value = 5000
		if = {
			limit = {
				has_education_martial_trigger = yes
			}
			add = 50000
		}
	}
}
intrigue_skulduggery_focus = {
	lifestyle = intrigue_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = intrigue_skulduggery_focus_desc
		desc = line_break
	}
	
	modifier = {
		scheme_discovery_chance_mult = 0.05
		direct_vassal_opinion = -20
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_intrigue_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = deceitful
			}
			multiply = 2
		}
		if = {
			limit = {
				has_trait = paranoid
			}
			multiply = 5
		}
		if = {
			limit = {
				has_trait = trusting
			}
			multiply = 0.1
		}
		if = {
			limit = {
				has_trait = honest
			}
			multiply = 0.1
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
intrigue_temptation_focus = {
	lifestyle = intrigue_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = intrigue_temptation_focus_desc
		desc = line_break
	}
	
	modifier = {
		attraction_opinion = 10
		fertility = 0.1
		negate_health_penalty_add = -0.5
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_intrigue_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = lustful
			}
			multiply = 7
		}
		if = {
			limit = {
				OR = {
					has_trait = celibate
					has_trait = chaste
				}
			}
			multiply = 0
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
intrigue_intimidation_focus = {
	lifestyle = intrigue_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = intrigue_intimidation_focus_desc
		desc = line_break
	}
	
	modifier = {
		dread_decay_mult = -10
		#dread_baseline_add = 10
		#dread_loss_mult = -0.25
		#general_opinion = -10
		enemy_hostile_scheme_success_chance_max_add = 10
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_intrigue_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = callous
			}
			multiply = 3
		}
		if = {
			limit = {
				has_trait = wrathful
			}
			multiply = 2
		}
		if = {
			limit = {
				has_trait = vengeful
			}
			multiply = 2
		}
		if = {
			limit = {
				OR = {
					has_trait = craven
					has_trait = compassionate
					has_trait = forgiving
				}
			}
			multiply = 0
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
intrigue_adventurer_focus = {
	lifestyle = intrigue_lifestyle
	
	is_shown = {
		government_has_flag = government_is_landless_adventurer
	}
	is_valid = {
		government_has_flag = government_is_landless_adventurer
	}

	desc = {
		desc = intrigue_adventurer_focus_desc
		desc = line_break
	}
	
	modifier = {
		intrigue_scheme_phase_duration = -20
		independent_ruler_opinion = -20
		owned_hostile_scheme_success_chance_growth_add = 2.5
	}

	auto_selection_weight = {
		value = 5000
		if = {
			limit = {
				has_education_intrigue_trigger = yes
			}
			add = 50000
		}
	}
}
stewardship_wealth_focus = { # Business
	lifestyle = stewardship_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = stewardship_wealth_focus_desc
		desc = line_break
	}
	
	modifier = {
		monthly_income_mult = 0.2
		republic_government_opinion = 5
		epidemic_resistance = -20
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_stewardship_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = greedy
			}
			multiply = 5
		}
		if = {
			limit = {
				has_trait = generous
			}
			multiply = 0
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
stewardship_domain_focus = { # Rulership
	lifestyle = stewardship_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = stewardship_domain_focus_desc
		desc = line_break
	}
	
	modifier = {
		domain_limit = 1
		#monthly_legitimacy_add = 0.10
		stress_gain_mult = 0.50
		parochial_opinion = 5
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_stewardship_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = diligent
			}
			multiply = 2
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
stewardship_duty_focus = { # Vassalry
	lifestyle = stewardship_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = stewardship_duty_focus_desc
		desc = line_break
	}
	
	modifier = {
		direct_vassal_opinion = 10
		monthly_county_control_growth_add = -0.3
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_stewardship_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = just
			}
			multiply = 5
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
stewardship_adventurer_focus = { # Stockpile
	lifestyle = stewardship_lifestyle
	
	is_shown = {
		government_has_flag = government_is_landless_adventurer
	}
	is_valid = {
		government_has_flag = government_is_landless_adventurer
	}

	desc = {
		desc = stewardship_adventurer_focus_desc
		desc = line_break
	}
	
	modifier = {
		stewardship_scheme_phase_duration = -20
		provisions_gain_mult = 0.20
		health = -0.25
	}

	auto_selection_weight = {
		value = 5000
		if = {
			limit = {
				has_education_stewardship_trigger = yes
			}
			add = 50000
		}
	}
}
learning_medicine_focus = {
	lifestyle = learning_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = learning_medicine_focus_desc
		desc = line_break
	}
	
	modifier = {
		negate_health_penalty_add = 0.25
		enemy_hostile_scheme_success_chance_add = 10
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_learning_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
learning_scholarship_focus = {
	lifestyle = learning_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = learning_scholarship_focus_desc
		desc = line_break
	}
	
	modifier = {
		development_growth_factor = 0.20
		health = -0.25
		#diplomatic_range_mult = 0.05
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_learning_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
learning_theology_focus = {
	lifestyle = learning_lifestyle
	
	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = learning_theology_focus_desc
		desc = line_break
	}
	
	modifier = {
		monthly_prestige = -1
		monthly_piety = 1
		zealot_opinion = 5
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_learning_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = zealous
			}
			multiply = 5
		}
		if = {
			limit = {
				has_trait = cynical
			}
			multiply = 0
		}
		if = {
			limit = {
				government_has_flag = government_is_landless_adventurer
			}
			multiply = 0
		}
	}
}
learning_adventurer_focus = {
	lifestyle = learning_lifestyle
	
	is_shown = {
		government_has_flag = government_is_landless_adventurer
	}
	is_valid = {
		government_has_flag = government_is_landless_adventurer
	}

	desc = {
		desc = learning_adventurer_focus_desc
		desc = line_break
	}
	
	modifier = {
		learning_scheme_phase_duration = -20
		monthly_piety = 1
		monthly_prestige = -1
	}

	auto_selection_weight = {
		value = 5000
		if = {
			limit = {
				has_education_learning_trigger = yes
			}
			add = 50000
		}
	}
}
wanderer_internal_affairs_focus = {
	lifestyle = wanderer_lifestyle

	is_shown = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}
	is_valid = {
		NOT = { government_has_flag = government_is_landless_adventurer }
	}

	desc = {
		desc = wanderer_internal_affairs_focus_desc
		desc = line_break
		desc = vts_internal_affairs_effect_desc
	}

	modifier = {
		intrigue_lifestyle_xp_gain_add = 50
		councillor_opinion = -25
		#monthly_county_control_growth_factor = 0.30
	}

	auto_selection_weight = {
		value = 0
		if = {
			limit = {
				has_bp3_dlc_trigger = yes
				has_trait_xp = {
					trait = lifestyle_traveler
					track = travel
					value >= 50
				}
			}
			add = 500
		}
		if = {
			limit = {
				has_bp3_dlc_trigger = yes
				has_trait = adventurer
			}
			add = 500
		}
	}
}
wanderer_journey_focus = {
	lifestyle = wanderer_lifestyle

	desc = {
		desc = wanderer_journey_focus_desc
		desc = line_break
	}

	modifier = {
		character_travel_speed = -20
		learning_lifestyle_xp_gain_add = 5
	}

	auto_selection_weight = {
		value = 0
		if = {
			limit = {
				has_bp3_dlc_trigger = yes
				has_trait_xp = {
					trait = lifestyle_traveler
					track = travel
					value >= 50
				}
			}
			add = 500
		}
		if = {
			limit = {
				has_bp3_dlc_trigger = yes
				has_trait = adventurer
			}
			add = 500
		}
	}
}
wanderer_destination_focus = {
	lifestyle = wanderer_lifestyle

	desc = {
		desc = wanderer_destination_focus_desc
		desc = line_break
	}

	modifier = {
		character_travel_safety = -20
	}

	auto_selection_weight = {
		value = 0
		if = {
			limit = {
				has_bp3_dlc_trigger = yes
				has_trait_xp = {
					trait = lifestyle_traveler
					track = travel
					value >= 50
				}
			}
			add = 500
		}
		if = {
			limit = {
				has_bp3_dlc_trigger = yes
				has_trait = adventurer
			}
			add = 500
		}
	}
}