﻿# ## The Four Consorts ## - check
# # Pure Consort
# pure_consort_modifier = {
# 	icon = grandeur_positive
# 	monthly_piety = 0.15
# }
# pure_lord_modifier = {
# 	icon = grandeur_positive
# 	monthly_piety = 0.15
# }

# # Virtuous Consort
# virtuous_consort_modifier = {
# 	icon = grandeur_positive
# 	same_culture_opinion = 5
# }
# virtuous_lord_modifier = {
# 	icon = grandeur_positive
# 	same_culture_opinion = 5
# }

# # Worthy Consort
# worthy_consort_modifier = {
# 	icon = grandeur_positive
# 	monthly_prestige = 0.15
# }
# worthy_lord_modifier = {
# 	icon = grandeur_positive
# 	monthly_prestige = 0.15
# }

# # Imperial Consort
# imperial_consort_modifier = {
# 	icon = grandeur_positive
# 	liege_opinion = 10
# }
# imperial_lord_modifier = {
# 	icon = grandeur_positive
# 	liege_opinion = 10
# }

## Others ##
unfilial_opinion_modifier = {
	icon = social_negative
	general_opinion = -10
	zealot_opinion = -10
	clergy_opinion = -20
}

# filial_child_modifier = {
# 	icon = social_positive
# 	general_opinion = 5
# 	zealot_opinion = 5
# 	clergy_opinion = 10
# }

demoted_primary_spouse_modifier = {
	icon = diplomacy_negative
	diplomacy = -3
	fertility = -0.70
	health = minor_health_penalty
	general_opinion = -10
	monthly_prestige = -0.1
}

demoted_spouse_modifier = {
	icon = diplomacy_negative
	diplomacy = -1
	fertility = -0.60
	health = miniscule_health_penalty
	general_opinion = -5
	monthly_prestige = -0.5
}

beloved_consort_modifier = {
	icon = social_positive
	fertility = 0.35
	monthly_income = 0.1
	health = minor_health_bonus
	monthly_influence = 0.6
	liege_opinion = 15
	owned_hostile_scheme_success_chance_growth_add = 10
	owned_personal_scheme_success_chance_growth_add = 20
	hostile_scheme_phase_duration_add = -10
	personal_scheme_phase_duration_add = -15
}

favored_consort_modifier = {
	icon = social_positive
	fertility = 0.2
	monthly_income = 0.05
	health = miniscule_health_bonus
	monthly_influence = 0.3
	liege_opinion = 10
	owned_hostile_scheme_success_chance_growth_add = 5
	owned_personal_scheme_success_chance_growth_add = 10
	hostile_scheme_phase_duration_add = -5
	personal_scheme_phase_duration_add = -10
}

unfavored_consort_modifier = {
	icon = social_negative
	fertility = -0.5
	health = miniscule_health_penalty
	liege_opinion = -5
	hostile_scheme_phase_duration_add = 5
	owned_scheme_secrecy_add = 10
}

forgotten_consort_modifier = {
	icon = social_negative
	fertility = -0.9
	health = minor_health_penalty
	liege_opinion = -10
	hostile_scheme_phase_duration_add = 10
	owned_scheme_secrecy_add = 15
}

favored_child_modifier = {
	icon = social_positive
	health = 0.25
	monthly_influence = 0.3
	close_relative_opinion = 10
	general_opinion = 5
}

scheming_consort_modifier = {
	icon = intrigue_positive
	intrigue = 1
	owned_hostile_scheme_success_chance_add = 5
	hostile_scheme_phase_duration_add = -5
}

diplomatic_consort_modifier = {
	icon = diplomacy_positive
	diplomacy = 1
	general_opinion = 5
	owned_personal_scheme_success_chance_add = 5
	personal_scheme_phase_duration_add = -5
}

shu_fei_conception_medicine_modifier = {
	icon = wedding_mixed
	monthly_prestige = 0.1
	health = -0.1
	fertility = -0.5
}

hua_fei_fragrance_modifier = {
	icon = wedding_mixed
	monthly_prestige = 0.2
	health = -0.45
	fertility = -0.95
}

langhua_bracelet_modifier = {
	icon = prestige_mixed
	monthly_prestige = 0.2
	health = -0.15
	fertility = -0.95
}

mourner_modifier = {
	icon = piety_positive
	monthly_piety = 1
}

merry_mourner_modifier = {
	icon = piety_negative
	same_faith_opinion = -10
	monthly_piety = -1
}

lingrong_ointment_modifier = {
	icon = prestige_positive
	attraction_opinion = 5
	health = -0.15
	fertility = -0.75
}

favor_boost_modifier = {
	icon = love_positive
	monthly_income = 0.1
	monthly_influence = 0.4
	liege_opinion = 5
	owned_personal_scheme_success_chance_add = 20
	personal_scheme_phase_duration_add = -15
	enemy_hostile_scheme_phase_duration_add = -10
}

poor_tutelage_modifier = {
	icon = learning_negative
	learning = -1
}

misguided_diplomacy_modifier = {
	icon = diplomacy_negative
	diplomacy = -1
}

poisonous_court_modifier = {
	icon = intrigue_negative
	owned_scheme_secrecy_add = 20
	owned_hostile_scheme_success_chance_growth_add = 15
	enemy_hostile_scheme_success_chance_add = 15
	enemy_political_scheme_success_chance_add = 15
}

relaxing_baths_health_modifier = {
	icon = health_positive
	health = minor_health_bonus
	stress_loss_mult = 0.15
	epidemic_resistance = 5
}

outmoded_fashion_modifier = {
	icon = fashion_mixed
	monthly_income_mult = 0.05
	monthly_prestige = -0.5
	courtly_opinion = -5
	courtier_opinion = -5
}

extravagant_fashion_modifier = {
	icon = fashion_mixed
	monthly_income_mult = -0.05
	monthly_prestige = 0.5
	courtly_opinion = 5
	courtier_opinion = 5
}
# Worship Ancestors #
# Big blessing modifiers
health_ancestors_big_blessing_modifier = {
	icon = health_positive
	health = medium_health_bonus
	stress_loss_mult = 0.15
}
merit_ancestors_big_blessing_modifier = {
	icon = influence_positive
	monthly_merit_mult = 0.15
}
legitimacy_ancestors_big_blessing_modifier = {
	icon = legitimacy_positive
	legitimacy_gain_mult = 0.15
}
war_ancestors_big_blessing_modifier = {
	icon = martial_positive
    martial = 3
    army_maintenance_mult = -0.15
}
# Moderate blessing modifiers
health_ancestors_moderate_blessing_modifier = {
	icon = health_positive
	health = miniscule_health_bonus
	stress_loss_mult = 0.05
}
merit_ancestors_moderate_blessing_modifier = {
	icon = influence_positive
	monthly_merit_mult = 0.05
}
legitimacy_ancestors_moderate_blessing_modifier = {
	icon = legitimacy_positive
	legitimacy_gain_mult = 0.05
}
war_ancestors_moderate_blessing_modifier = {
	icon = martial_positive
    martial = 1
    army_maintenance_mult = -0.05
}

ancestor_blessing_modifier_diplomacy = {
	icon = diplomacy_positive

	diplomacy = 1
	monthly_diplomacy_lifestyle_xp_gain_mult = 0.05
	owned_personal_scheme_success_chance_add = 5
	scale = {
		value = {
			if = {
				limit = {
					scope:matriarch = {
						has_education_rank_1_trigger = yes
					}
				}
				add = 1
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_2_trigger = yes
					}
				}
				add = 2
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_3_trigger = yes
					}
				}
				add = 3
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_4_trigger = yes
					}
				}
				add = 4
			}
			else = {
				add = 5
			}
		}
		desc = matriarch_education_scale_desc
	}
}
ancestor_blessing_modifier_martial = {
	icon = martial_positive

	martial = 1
	monthly_martial_lifestyle_xp_gain_mult = 0.05
	prowess = 1
	scale = {
		value = {
			if = {
				limit = {
					scope:matriarch = {
						has_education_rank_1_trigger = yes
					}
				}
				add = 1
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_2_trigger = yes
					}
				}
				add = 2
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_3_trigger = yes
					}
				}
				add = 3
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_4_trigger = yes
					}
				}
				add = 4
			}
			else = {
				add = 5
			}
		}
		desc = matriarch_education_scale_desc
	}
}
ancestor_blessing_modifier_learning = {
	icon = learning_positive

	learning = 1
	monthly_learning_lifestyle_xp_gain_mult = 0.05
	negate_health_penalty_add = 0.05
	scale = {
		value = {
			if = {
				limit = {
					scope:matriarch = {
						has_education_rank_1_trigger = yes
					}
				}
				add = 1
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_2_trigger = yes
					}
				}
				add = 2
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_3_trigger = yes
					}
				}
				add = 3
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_4_trigger = yes
					}
				}
				add = 4
			}
			else = {
				add = 5
			}
		}
		desc = matriarch_education_scale_desc
	}
}
ancestor_blessing_modifier_stewardship = {
	icon = stewardship_positive

	stewardship = 1
	monthly_stewardship_lifestyle_xp_gain_mult = 0.05
	tax_mult = 0.05
	scale = {
		value = {
			if = {
				limit = {
					scope:matriarch = {
						has_education_rank_1_trigger = yes
					}
				}
				add = 1
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_2_trigger = yes
					}
				}
				add = 2
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_3_trigger = yes
					}
				}
				add = 3
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_4_trigger = yes
					}
				}
				add = 4
			}
			else = {
				add = 5
			}
		}
		desc = matriarch_education_scale_desc
	}
}
ancestor_blessing_modifier_intrigue = {
	icon = intrigue_positive

	intrigue = 1
	monthly_intrigue_lifestyle_xp_gain_mult = 0.05
	owned_hostile_scheme_success_chance_add = 5
	scale = {
		value = {
			if = {
				limit = {
					scope:matriarch = {
						has_education_rank_1_trigger = yes
					}
				}
				add = 1
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_2_trigger = yes
					}
				}
				add = 2
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_3_trigger = yes
					}
				}
				add = 3
			}
			else_if = {
				limit = {
					scope:matriarch = {
						has_education_rank_4_trigger = yes
					}
				}
				add = 4
			}
			else = {
				add = 5
			}
		}
		desc = matriarch_education_scale_desc
	}
}
filial_care_modifier = {
	icon = family_positive
	close_relative_opinion = 5
	health = 0.2
	stress_loss_mult = 0.1
}
# Silk Worship #
big_silk_worship_modifier = {
	icon = county_modifier_development_positive
	development_growth_factor = 0.1
	monthly_income_mult = 0.1
	county_opinion_add = 10
}
# Apothecary Sex Lessons #
herbalist_sex_lessons_modifier = {
	icon = fertility_positive
	fertility = 0.15
}
good_drink_modifier = {
	icon = health_positive
	health = 0.1
	stress_gain_mult = -0.05
}
# Artifacts #
rites_of_zhou_modifier = {
	legitimacy_gain_mult = 0.05
	vassal_opinion = 5
	councillor_opinion = 5
	courtier_opinion = 5
}
## Story cycles ## - check
# Modifier for relatives
# in_the_harem_modifier = {
# 	icon = intrigue_positive
# 	fertility = -0.9
# 	intrigue = 1
# 	monthly_influence = 0.1
# }

# # Modifiers for the influential harem
# influential_consorts_level_1_modifier = {
# 	icon = love_positive
# 	fertility = 0.1
# 	stress_loss_mult = 0.1
# 	courtier_opinion = 5
# }
# influential_consort_level_2_modifier = {
# 	icon = love_positive
# 	diplomacy = 1
# 	fertility = 0.15
# 	stress_loss_mult = 0.15
# 	courtier_opinion = 5
# }
# influential_consorts_level_3_modifier = {
# 	icon = love_mixed
# 	diplomacy = 2
# 	intrigue = -1
# 	fertility = 0.2
# 	stress_loss_mult = 0.2
# 	vassal_opinion = -5
# }
# influential_consorts_level_4_modifier = {
# 	icon = love_mixed
# 	diplomacy = 2
# 	stewardship = 1
# 	intrigue = -2
# 	fertility = 0.2
# 	stress_loss_mult = 0.25
# 	vassal_opinion = -10
# }
# influential_consorts_level_5_modifier = {
# 	icon = love_mixed
# 	diplomacy = 3
# 	stewardship = 2
# 	intrigue = -3
# 	fertility = 0.2
# 	stress_loss_mult = 0.35
# 	vassal_opinion = -15
# }

# influential_consort_level_1_modifier = {
# 	icon = love_positive
# 	fertility = 0.1
# 	liege_opinion = 5
# }
# influential_consort_level_2_modifier = {
# 	icon = love_positive
# 	diplomacy = 1
# 	intrigue = 1
# 	monthly_income = 0.05
# 	fertility = 0.15
# 	stress_loss_mult = -0.1
# 	liege_opinion = 10
# }
# influential_consort_level_3_modifier = {
# 	icon = love_mixed
# 	diplomacy = 2
# 	intrigue = 2
# 	monthly_income = 0.1
# 	fertility = 0.2
# 	stress_loss_mult = -0.15
# 	liege_opinion = 15
# 	general_opinion = -10
# }
# influential_consort_level_4_modifier = {
# 	icon = love_mixed
# 	diplomacy = 3
# 	intrigue = 3
# 	monthly_income = 0.15
# 	fertility = 0.25
# 	stress_loss_mult = -0.2
# 	liege_opinion = 20
# 	general_opinion = -15
# }
# influential_consort_level_5_modifier = {
# 	icon = love_mixed
# 	diplomacy = 3
# 	intrigue = 4
# 	monthly_income = 0.2
# 	fertility = 0.4
# 	stress_loss_mult = -0.25
# 	liege_opinion = 25
# 	general_opinion = -20
# }

# # Influential relatives
# influential_relatvies_level_1_modifier = {
# 	icon = family_positive
# 	stress_loss_mult = 0.1
# 	close_relative_opinion = 5
# }
# influential_relatvies_level_2_modifier = {
# 	icon = family_positive
# 	diplomacy = 1
# 	stress_loss_mult = 0.15
# 	close_relative_opinion = 10
# }
# influential_relatvies_level_3_modifier = {
# 	icon = family_mixed
# 	diplomacy = 2
# 	intrigue = -1
# 	stress_loss_mult = 0.2
# 	close_relative_opinion = 10
# 	vassal_opinion = -5
# }
# influential_relatvies_level_4_modifier = {
# 	icon = family_mixed
# 	diplomacy = 2
# 	stewardship = 1
# 	intrigue = -2
# 	stress_loss_mult = 0.2
# 	close_relative_opinion = 15
# 	vassal_opinion = -10
# }
# influential_relatvies_level_5_modifier = {
# 	icon = family_mixed
# 	diplomacy = 3
# 	stewardship = 2
# 	intrigue = -3
# 	stress_loss_mult = 0.25
# 	close_relative_opinion = 20
# 	vassal_opinion = -15
# }

# influential_relative_level_1_modifier = {
# 	icon = family_positive
# 	intrigue = 1
# 	stress_loss_mult = -0.1
# 	close_relative_opinion = 5
# }
# influential_relative_level_2_modifier = {
# 	icon = family_positive
# 	intrigue = 1
# 	monthly_income = 0.05
# 	stress_loss_mult = -0.1
# 	close_relative_opinion = 10
# }
# influential_relative_level_3_modifier = {
# 	icon = family_mixed
# 	intrigue = 2
# 	stewardship = 1
# 	monthly_income = 0.1
# 	stress_loss_mult = -0.15
# 	close_relative_opinion = 10
# 	general_opinion = -10
# }
# influential_relative_level_4_modifier = {
# 	icon = family_mixed
# 	intrigue = 3
# 	stewardship = 2
# 	monthly_income = 0.15
# 	stress_loss_mult = -0.2
# 	close_relative_opinion = 15
# 	general_opinion = -15
# }
# influential_relative_level_5_modifier = {
# 	icon = family_mixed
# 	intrigue = 4
# 	stewardship = 2
# 	monthly_income = 0.2
# 	stress_loss_mult = -0.25
# 	close_relative_opinion = 20
# 	general_opinion = -20
# }