

##########################################################################
# DECAY
##########################################################################

#被强迫开放边境
opinion_forced_to_open_border = {
	opinion = {
		base = -10
	}
	decay = {
		base = 1
	}
}

#同意开放边境给希灵帝国
opinion_agree_to_open_border = {
	opinion = {
		base = 10
	}
	decay = {
		base = 1
	}
}

#被迫销毁宣称
opinion_forced_to_destroy_claim = {
	opinion = {
		base = -15
	}
	decay = {
		base = 1
	}
}

#同意销毁在希灵帝国境内的宣称
opinion_agree_to_destroy_claim = {
	opinion = {
		base = 10
	}
	decay = {
		base = 1
	}
}

#激怒希灵帝国
opinion_anger_xilin = {
	opinion = {
		base = -10
	}
	decay = {
		base = 1
	}
}

#大大激怒希灵帝国
opinion_greate_anger_xilin = {
	opinion = {
		base = -25
	}
	decay = {
		base = 1
	}
}

#附庸晋升
opinion_vassal_level_up = {
	opinion = {
		base = 50
	}
	decay = {
		base = 1
	}
}
#技术支援
opinion_tech_assistance = {
	opinion = {
		base = 30
	}
	decay = {
		base = 1
	}
}

##########################################################################
# TRIGGERED
##########################################################################

# Scope is the opinionator and FROM the target of their opinion

#同意开放边境给希灵帝国
triggered_opinion_agree_to_open_border = {
	trigger = {
		has_authority = auth_xilin_mind
		FROM = {
			has_country_flag = f_open_border_to_xilin
		}
	}

	opinion = {
		base = 10 
	}
}

#拒绝开放边境给希灵帝国
triggered_opinion_refuse_to_open_border = {
	trigger = {
		has_authority = auth_xilin_mind
		FROM = {
			has_country_flag = f_refuse_open_border_to_xilin
			has_closed_borders = ROOT
		}
	}

	opinion = {
		base = -10 
	}
}

#同意希灵帝国境内宣称
triggered_opinion_agree_to_destroy_claim = {
	trigger = {
		has_authority = auth_xilin_mind
		FROM = {
			has_country_flag = f_agree_destroy_claim 
		}
	}

	opinion = {
		base = 10 
	}
}

#拒绝放弃希灵帝国境内宣称
triggered_opinion_refuse_to_destroy_claim = {
	trigger = {
		has_authority = auth_xilin_mind
		FROM = {
			has_country_flag = f_refuse_destroy_claim
		}
	}

	opinion = {
		base = -10 
	}
}

#希灵附庸
triggered_opinion_is_xilin_subject = {
	trigger = {
		exists = overlord
		overlord = { is_same_value = FROM }
		FROM = {
			has_authority = auth_xilin_mind
		}
	}

	opinion = {
		base = 20 # remember to update the tradition's tooltip
	}
}
