事件
偏爱

有人说父母对孩子的爱是无限的,但是很明显有些爱比其他的更胜一筹。尽管Target Ruler肯定很喜欢Heir,但人人都知道his/her的brother/sister在Target Ruler心中占据了更大的位置。Ruler Title很宠爱him/her并确保he/she接受了最好的教育。现在Target Consort想要说服Ruler Title改立Favorite Child为Country的新Heir Title。
君主国政体trigger定义in_game/events/character/consort_events.txt:743
744type = country_event
745title = consort_events.102.title 偏爱
746desc = consort_events.102.desc 有人说父母对孩子的爱是无限的,但是很明显有些爱比其他的更胜一筹。尽管Target Ruler肯定很喜欢Heir,但人人都知道his/her的brother/sister在Target Ruler心中占据了更大的位置。Ruler Title很宠爱him/her并确保he/she接受了最好的教育。现在Target Consort想要说服Ruler Title改立Favorite Child为Country的新Heir Title。
747outcome = neutral
749trigger = {
750has_heir = yes
751has_consort = yes
755OR = {
756heir.father ?= ruler
757heir.mother ?= ruler
}
759NOR = {
760heir.father ?= consort
761heir.mother ?= consort
}
764consort = {
765age_in_years > 30
766num_of_children > 1
767any_child = {
768OR = {
769AND = {
770exists = father
771father = root.ruler
}
773AND = {
774exists = mother
775mother = root.ruler
}
}
778is_alive = yes
779is_heir = no
780is_adult = no
}
}
}
785illustration_tags = {
78610 = regular
78710 = interior
}
790immediate = {
}
792ruler ?= {
792save_scope_as = target_ruler
}
793consort = {
794save_scope_as = target_consort
795random_child = {
796limit = {
797OR = {
798father = root.ruler
799mother = root.ruler
}
801is_alive = yes
802is_heir = no
803is_adult = no
}
805save_scope_as = favorite_child
}
}
}