﻿

diplomacy_foreign_affairs_focus = {
	lifestyle = diplomacy_lifestyle
	
	modifier = {
		diplomacy = 3
	}

	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
		}
	}
	
	focus_id = 0
}

diplomacy_majesty_focus = {
	lifestyle = diplomacy_lifestyle
	
	modifier = {
		diplomacy = 1
		monthly_prestige = 1
	}

	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
		}
	}

	focus_id = 1
}

diplomacy_family_focus = {
	lifestyle = diplomacy_lifestyle
	
	modifier = {
		diplomacy = 2
		fertility = 0.2
	}

	desc = {
		desc = diplomacy_family_focus_desc
		desc = line_break
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_diplomacy_trigger = yes
			}
			add = 1989
		}
	}

	focus_id = 2
}

martial_strategy_focus = {
	lifestyle = martial_lifestyle

	desc = {
		desc = martial_strategy_focus_desc
		desc = line_break
	}
	
	modifier = {
		martial = 3
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_martial_trigger = yes
			}
			add = 1989
		}
	}

	focus_id = 3
}

martial_authority_focus = {
	lifestyle = martial_lifestyle

	desc = {
		desc = martial_authority_focus_desc
		desc = line_break
	}
	
	modifier = {
		martial = 1
		monthly_county_control_change_add = 0.3
		dread_gain_mult = 0.2
	}

	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
		}
	}

	focus_id = 4
}

martial_chivalry_focus = {
	lifestyle = martial_lifestyle

	desc = {
		desc = martial_chivalry_focus_desc
		desc = line_break
	}
	
	modifier = {
		advantage = 5
		prowess = 3
		attraction_opinion = 10
	}

	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
		}
	}

	focus_id = 5
}

intrigue_skulduggery_focus = {
	lifestyle = intrigue_lifestyle

	desc = {
		desc = intrigue_skulduggery_focus_desc
		desc = line_break
	}
	
	modifier = {
		intrigue = 3
	}

	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
		}
		#GAME RULES
		if = {
			limit = {
				OR = {
					can_start_new_lifestyle_tree_trigger = no
					has_game_rule = no_intrigue
					AND = {
						OR = {
							has_game_rule = less_intrigue
							has_game_rule = restricted_intrigue
						}
						#Must have one of these traits
						OR = {
							AND = {
								has_education_intrigue_trigger = yes
								has_game_rule = less_intrigue
							}
							has_trait = schemer
							has_trait = torturer
							has_trait = greedy
							has_trait = deceitful
							has_trait = paranoid
							has_trait = sadistic
							has_trait = vengeful
							has_trait = callous
						}
						#Cannot have one of these traits
						NOR = {
							has_trait = honest
							#has_trait = kind
							has_trait = compassionate
						}	
					}
				}
			}
			multiply = 0
		}
	}

	focus_id = 6
}

intrigue_temptation_focus = {
	lifestyle = intrigue_lifestyle

	desc = {
		desc = intrigue_temptation_focus_desc
		desc = line_break
	}
	
	modifier = {
		attraction_opinion = 10
		fertility = 0.2
		seduce_scheme_power_mult = 0.2
	}

	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_game_rule = less_seduction
					has_game_rule = restricted_seduction
				}
			}
			multiply = 0.5
		}
		if = {
			limit = {
				OR = {
					has_trait = celibate
					has_trait = chaste
					has_game_rule = no_seduction
					AND = {
						has_game_rule = restricted_seduction
						NOR = {
							has_trait = lustful
							has_trait = seducer
							has_trait = reveler_1
							has_trait = reveler_2
							has_trait = reveler_3	
							has_trait = rakish						
						}
					}
				}
			}
			multiply = 0
		}
	}

	focus_id = 7
}

intrigue_intimidation_focus = {
	lifestyle = intrigue_lifestyle

	desc = {
		desc = intrigue_intimidation_focus_desc
		desc = line_break
	}
	
	modifier = {
		intrigue = 2
		dread_baseline_add = 30
	}

	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
		}
		#GAME RULES
		if = {
			limit = {
				OR = {
					can_start_new_lifestyle_tree_trigger = no
					has_game_rule = no_intrigue
					AND = {
						OR = {
							has_game_rule = less_intrigue
							has_game_rule = restricted_intrigue
						}
						#Must have one of these traits
						NOR = {
							AND = {
								has_education_intrigue_trigger = yes
								has_game_rule = less_intrigue
							}
							has_trait = schemer
							has_trait = torturer
							has_trait = greedy
							has_trait = deceitful
							has_trait = paranoid
							has_trait = sadistic
							has_trait = vengeful
							has_trait = callous
						}	
					}
				}
			}
			multiply = 0
		}
	}

	focus_id = 8
}

stewardship_wealth_focus = {
	lifestyle = stewardship_lifestyle

	desc = {
		desc = stewardship_wealth_focus_desc
		desc = line_break
	}
	
	modifier = {
		monthly_income_mult = 0.1
	}

	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
		}
	}

	focus_id = 9
}

stewardship_domain_focus = {
	lifestyle = stewardship_lifestyle

	desc = {
		desc = stewardship_domain_focus_desc
		desc = line_break
	}
	
	modifier = {
		stewardship = 3
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_stewardship_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = diligent
			}
			multiply = 2
		}
	}

	focus_id = 10
}

stewardship_duty_focus = {
	lifestyle = stewardship_lifestyle

	desc = {
		desc = stewardship_duty_focus_desc
		desc = line_break
	}
	
	modifier = {
		stewardship = 1
		courtier_and_guest_opinion = 20
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_stewardship_trigger = yes
			}
			add = 1989
		}
		if = {
			limit = {
				has_trait = just
			}
			multiply = 5
		}
	}

	focus_id = 11
}

learning_medicine_focus = {
	lifestyle = learning_lifestyle

	desc = {
		desc = learning_medicine_focus_desc
		desc = line_break
	}
	
	modifier = {
		learning = 1
		health = 0.25
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_learning_trigger = yes
			}
			add = 1989
		}
	}

	focus_id = 12
}

learning_scholarship_focus = {
	lifestyle = learning_lifestyle

	desc = {
		desc = learning_scholarship_focus_desc
		desc = line_break
	}
	
	modifier = {
		learning = 3
		development_growth_factor = 0.15
	}

	auto_selection_weight = {
		value = 11
		if = {
			limit = {
				has_education_learning_trigger = yes
			}
			add = 1989
		}
	}

	focus_id = 13
}

learning_theology_focus = {
	lifestyle = learning_lifestyle

	desc = {
		desc = learning_theology_focus_desc
		desc = line_break
	}
	
	modifier = {
		learning = 1
		monthly_piety = 1
	}

	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
		}
	}

	focus_id = 14
}
