
ActionChanged this version
Influence French Subject
Sowing the seeds of doubt and division between the France and their subjects will greatly help our war efforts against them!
EnglandCountrypotential
FranceCountryallow, select trigger 2
Hundred Years' WarSituationselect trigger 1Diplomatic BetrayalStatic Modifierallow, select trigger 2Strong DiplomacyStatic Modifierallow, select trigger 2
AppanageSubject Typeallow, select trigger 2
VassalSubject Typeallow, select trigger 2recently_declined_backstab_variableVariableselect trigger 2Definitionin_game/common/generic_actions/hundred_years_war.txt:178
179type = situation
180show_message = no
182automation_tick = never
183automation_tick_frequency = 12
185cooldown = {
186type = influence_french_subject
187months = 2
}
190price = price:hyw_main_actions_price
196allow = {
198any_subject = {
203NOR = {
}
}
}
209scope:actor = {
}
}
216select_trigger = {
217looking_for_a = situation
223target_flag = recipient
224name = "choose_situation" Choose the Situation:
225column = {
226data = name
}
}
234select_trigger = {
235looking_for_a = country
236interaction_source_list = {
238every_subject = {
239limit = {
244NOR = {
}
}
250add_to_list = source
}
}
}
254target_flag = target_subject
255name = "choose_country" Choose the Country:
256column = {
256data = name
}
257column = {
257data = expected_army_size
}
258column = {
258data = expected_navy_size
}
}
261effect = {
262if = {
263limit = {
263exists = scope:target_subject
}
}
266else = {
266custom_tooltip = influence_french_subject_tt The selected French subject may be convinced not to join any defensive wars for the next 5 years in exchange for Ducats Gold I
}
}
270ai_will_do = {
271add = {
272if = {
281value = {
282add = "c:FRA.relative_strength(scope:actor)"
283multiply = 100
284subtract = 50
}
}
287else = {
288value = {
289add = "c:FRA.relative_strength(scope:actor)"
290multiply = 100
}
}
293desc = "France Strength towards England (dampened if England too weak to follow up)"
}
296add = {
297value = scope:actor.monthly_income_trade_and_tax
298divide = 5
299desc = "English Income"
}
303if = {
304limit = {
305scope:actor = {
306NOT = {
307gold >= {
308value = monthly_income_trade_and_tax
309multiply = 2
}
}
}
}
314subtract = {
315value = 50
316desc = "cannot comfortably afford action"
}
}
320if = {
326subtract = {
327value = 200
328desc = "England has no casus belli against France"
}
}
332if = {
333limit = {
334exists = scope:target_subject
}
337add = {
338value = "scope:target_subject.relative_strength(c:FRA)"
339multiply = 1000
340desc = "subject Strength towards France"
}
342add = {
343desc = "Distance to England"
344scope:target_subject = {
345value = "border_distance_to(scope:actor)"
346multiply = -0.02
}
}
350if = {
351limit = {
352scope:target_subject = {
352is_disloyal_subject = yes
}
}
354add = {
355value = 50
356subtract = scope:target_subject.subject_loyalty
357desc = "subject is disloyal, bribe is efficient"
}
}
361add = {
362desc = "num of forts of subject"
363value = scope:target_subject.num_forts
364multiply = 10
}
367add = {
368if = {
372value = {
373add = "scope:target_subject.opinion(c:ENG)"
374add = 200
375subtract = "scope:target_subject.opinion(c:FRA)"
}
}
378else = {
379value = {
380add = "scope:target_subject.opinion(c:ENG)"
381subtract = "scope:target_subject.opinion(c:FRA)"
}
}
385desc = "target subject ENG opinion minus FRA opinion"
}
}
}