﻿poison_opinion_opinion_decrease_per_success = -25
poison_opinion_min_value = -100

odds_poison_opinion_scheme_misc_value = {
	add = {
		value = 30
		desc = scheme_odds.misc_modifiers
		if = {
			limit = {
				scope:owner = { knows_language_of_culture = scope:target.culture }
			}
			add = 4
		}
		if = {
			limit = {
				scope:owner = { has_trait = schemer }
			}
			add = 8
		}
		if = {
			limit = {
				scope:target = { has_trait = ambitious }
			}
			add = 8
		}
		if = {
			limit = {
				scope:target = { has_trait = deceitful }
			}
			add = 8
		}
		if = {
			limit = {
				scope:target = { has_trait = content }
			}
			add = -8
		}
		if = {
			limit = {
				scope:target = { has_trait = forgiving }
			}
			add = -8
		}
		if = {
			limit = {
				scope:owner = { is_adult = no }
			}
			add = -6
		}
		if = {
			limit = {
				scope:target = {
					has_opinion_modifier = {
						target = scope:owner
						modifier = scheme_poison_opinion_opinion
						value < 0
					}
				}
			}
			add = -8
		}
		if = {
			limit = {
				scope:target = {
					personal_scheme_success_compare_target_liege_tier_trigger = no
				}
				scope:owner = {
					tier_difference = {
						target = scope:target
						value >= 1
					}
				}
			}
			add = 6
		}
		if = {
			limit = {
				scope:target = {
					personal_scheme_success_compare_target_liege_tier_trigger = no
				}
				scope:owner = {
					tier_difference = {
						target = scope:target
						value <= -1
					}
				}
			}
			add = -14
		}
		if = {
			limit = {
				scope:target = {
					is_theocratic_lessee = yes
				}
				scope:owner.piety_level < 0
			}
			add = -50
		}
		if = {
			limit = {
				scope:target = {
					is_theocratic_lessee = yes
				}
				scope:owner.piety_level > 1
			}
			add = 12
		}
		if = {
			limit = {
				scope:target = {
					faith = scope:owner.faith
					faith = {
						exists = religious_head
						religious_head = {
				 			this = scope:target
				 		}
					}
				}
			}
			add = -50
		}
	}	
}
