
Działanie
Przekupienie garnizonu
W czasie wojny domowej lojalność jest poddawana ciężkiej próbie, a niestabilność ogarnia nasze Actor Flavor Rank. Powinniśmy wykorzystać ten chaos, oferując pieniądze i gwarancje wrogim twierdzom, przekonując ich dowódców, aby poddali się pokojowo, zamiast próbować przetrwać oblężenie.
Wojna Dwóch RóżKatastrofaselect trigger 1wotr_bribe_garrison_variableZmiennapotentialDefinicjain_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" Wybierz Concept:
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" Wybierz trwające Siege do przekupienia
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 Target Siege – garnizon się podda
}
}
91else = {
91custom_tooltip = no_chosen_siege_tt Garnizon w wybranej Concept się podda
}
}
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
}