Interaction de personnages
Arranger un mariage
Le Personnage va épouser un membre important de notre tribu.
Horde des steppesType de régime politiquepotential
TribuType de régime politiquepotential
Interactions endiguéesType de modificateurselect trigger 23sound = UI_action_character_marry_noble
5is_consort_action = yes
6on_own_nation = yes
7context_menu_click_mode = click
9message = yes
12potential = {
13scope:actor = {
}
}
21ai_tick = daily
22ai_tick_frequency = 45
24allow = {
}
27select_trigger = {
28looking_for_a = character
29source = actor
30target_flag = recipient
31name = "choose_character" Sélectionner le Personnage :
32column = {
33data = name
}
35visible = {
36is_alive = yes
}
}
43select_trigger = {
44looking_for_a = character
45source = actor
46target_flag = target
47name = "tribal_arrange_marriage_select_title" Choisir qui épouser
48none_available_msg_key = "tribal_arrange_marriage_no_characters"
49column = {
50data = character_info
}
52visible = {
53is_alive = yes
54is_adult = yes
55has_available_marriage_slot = yes
56NOT = {
56is_same_gender = scope:recipient
}
57NOT = {
57is_close_relative = scope:recipient
}
}
}
64effect = {
65if = {
66limit = {
67exists = scope:recipient
68exists = scope:target
}
70scope:recipient = {
71marry_character = scope:target
}
}
}
76ai_will_do = {
80add = {
81if = {
82limit = {
83scope:recipient = {
84is_ruler = yes
}
}
87value = scope:recipient.age_in_years
88subtract = 22
89multiply = 5
}
}
93add = {
94if = {
95limit = {
96scope:recipient = {
97OR = {
98is_heir = yes
99AND = {
100exists = father
101father = {
102is_ruler = yes
}
}
105AND = {
106exists = mother
107mother = {
108is_ruler = yes
}
}
}
}
}
114value = scope:recipient.age_in_years
115subtract = 22
116multiply = 5
}
}
120add = {
121if = {
122limit = {
123scope:target = {
124is_female = yes
125age_in_years = 35
}
}
128value = 35
129subtract = scope:target.age_in_years
130multiply = 10
}
}
}