
Action
Soudoyer une garnison
Les loyautés sont mises à l'épreuve pendant une guerre civile, et l'instabilité ébranle notre Actor Flavor Rank. Nous devrions tirer parti de ce chaos en offrant de l'argent et des garanties aux bastions ennemis, pour convaincre leurs commandants de se rendre pacifiquement plutôt que de recourir à un siège.
Guerre des Deux-RosesCatastropheselect trigger 1wotr_bribe_garrison_variableVariablepotentialDéfinitionin_game/common/generic_actions/war_of_the_roses_actions.txt:1
2type = disaster
8allow = {
9scope:actor = {
10in_civil_war = yes
11stability > 0
}
}
15automation_tick = never
16price = price:wotr_action_price
18cooldown = {
19type = wotr_bribe_garrison
20months = 6
}
23select_trigger = {
24looking_for_a = disaster
30name = "choose_disaster" Choisir la Catastrophe :
31target_flag = recipient
32column = {
33data = name
}
}
41select_trigger = {
42looking_for_a = location
43interaction_source_list = {
44scope:actor = {
46every_fort_in_country = {
47limit = {
48controller = {
49this != scope:actor
50is_rebel_country = yes
}
}
53add_to_list = source
}
56random_country_at_war_with = {
57limit = {
57is_rebel_country = yes
}
58every_fort_in_country = {
59limit = {
59controller ?= prev
}
60add_to_list = source
}
}
}
}
65target_flag = target_siege
66name = "select_ongoing_siege_to_bribe" Sélectionner un Siège en cours à soudoyer
67none_available_msg_key = "no_ongoing_siege_to_bribe"
68column = {
68data = name
}
69column = {
69data = population
}
70column = {
70data = rank
}
74enabled = {
75garrison_percentage > 0.1
76has_siege = yes
77siege = {
78any_besieging_unit = {
78owner = scope:actor
}
}
}
}
83effect = {
84if = {
85limit = {
85exists = scope:target_siege
}
86custom_tooltip = {
87text = chosen_siege_tt La garnison de Target Siege va se rendre
}
}
91else = {
91custom_tooltip = no_chosen_siege_tt La garnison du Lieu sélectionné va se rendre
}
}
94ai_will_do = {
95add = -20
96if = {
97limit = {
98scope:actor.gold <= {
99value = scope:actor.monthly_income_total
100multiply = 3
}
}
103subtract = 100
}
105if = {
106limit = {
107scope:actor = {
107is_during_bankruptcy = yes
}
}
109subtract = 1000
}
111add = scope:actor.stability
}