
ActionChanged this version
Attempt Defection
Our frustration with our current overlord has reached a tipping point. Their mismanagement of the entire realm has left many of their subjects, us included, very frustrated. It is time for us to consider switching sides before any hostilities erupt!
EnglandCountryallow, effect, potential
FranceCountryallow, effect, potential
Hundred Years' WarSituationselect triggerDefinitionin_game/common/generic_actions/hundred_years_war.txt:1400
1401type = situation
1402show_message = no
1404automation_tick = never
1405automation_tick_frequency = 12
1407ai_tick = monthly
1408ai_tick_frequency = 5
1410potential = {
}
1426allow = {
1427scope:actor = {
1428at_war = no
1429custom_tooltip = {
1430text = ruler_regent_heir_not_overlord_dynasty_tt Our Heir AND either our Ruler or Regent do not share the Dynasty of our Overlord
1431trigger_if = {
1438NOR = {
}
}
1445trigger_else_if = {
1452NOR = {
}
}
1459trigger_else = {
1459always = yes
}
}
1461is_disloyal_subject = yes
}
}
1465price = price:hyw_main_actions_price
1467cooldown = {
1468type = hyw_defect_action
1469years = 2
}
1472select_trigger = {
1473looking_for_a = situation
1479target_flag = recipient
1480name = "choose_situation" Choose the Situation:
1481column = {
1481data = name
}
}
1488effect = {
1490custom_tooltip = able_to_defect_via_event_tt We will be able to defect via Event should the other side accept
1492if = {
}
1496else_if = {
}
}
1502ai_will_do = {
1504if = {
1506add = {
1507value = 30
1508subtract = scope:actor.subject_loyalty
1509desc = "lack of loyalty (wartime threshold)"
}
}
1512else = {
1513add = {
1514value = 15
1515subtract = scope:actor.subject_loyalty
1516desc = "lack of loyalty (peacetime threshold)"
}
}
1520scope:actor = {
1521overlord = {
1522subtract = {
1523value = prestige
1524desc = "overlord prestige"
1525subtract = 10
}
}
}
1530if = {
1531limit = {
1532scope:actor = {
1532liberty_desire > 0
}
}
1534add = {
1535value = scope:actor.liberty_desire
1536desc = "actor liberty desire"
}
}
}