Стремление к разрыву
ДействиеИзменено в этой версии

Стремление к разрыву

hyw_defect_actionin_game/common/generic_actions/hundred_years_war.txt:1400

Наше терпение скоро лопнет. Некомпетентность нынешнего сюзерена в государственных делах давно стала притчей во языцех, и раздражение вассалов растёт с каждым днём. Пора подумать о смене лагеря, не дожидаясь начала военных действий!

ТребуетАнглияДержаваallow, effect, potentialФранцияДержаваallow, effect, potentialСтолетняя войнаСитуацияselect trigger

Определениеin_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 = {
1411scope:actor = {
1412OR = {
1413is_subject_of = c:FRA
1414is_subject_of = c:ENG
}
1417OR = {
1418capital.region = region:france_region
1419capital.area = area:brabant_area
1420capital.area = area:flanders_area
1421capital.area = area:holland_area
}
}
}
1426allow = {
1427scope:actor = {
1428at_war = no
1429custom_tooltip = {
1430text = ruler_regent_heir_not_overlord_dynasty_tt Наш Concept И Concept (или Concept) не относятся к Concept Concept
1431trigger_if = {
1432limit = {
1433is_subject_of = c:FRA
1434c:FRA = {
1435ruler_or_regent = {
1435has_dynasty = yes
}
}
}
1438NOR = {
1439ruler_or_regent ?= {
}
1442heir ?= {
}
}
}
1445trigger_else_if = {
1446limit = {
1447is_subject_of = c:ENG
1448c:ENG = {
1449ruler_or_regent = {
1449has_dynasty = yes
}
}
}
1452NOR = {
1453ruler_or_regent ?= {
}
1456heir ?= {
}
}
}
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
1474interaction_source_list = {
1476add_to_list = source
}
}
1479target_flag = recipient
1480name = "choose_situation" Выберите Concept:
1481column = {
1481data = name
}
1482visible = {
1484situation_is_active = yes
}
}
1488effect = {
1490custom_tooltip = able_to_defect_via_event_tt Если другая держава согласится, мы сможем перейти под её власть в результате Concept
1492if = {
1493limit = {
1493scope:actor.overlord ?= c:FRA
}
1494c:ENG = {
1494trigger_event_non_silently = hundred_years_war.230
}
}
1496else_if = {
1497limit = {
1497scope:actor.overlord ?= c:ENG
}
1498c:FRA = {
1498trigger_event_non_silently = hundred_years_war.230
}
}
}
1502ai_will_do = {
1504if = {
1505limit = {
1505c:FRA = {
1505is_at_war_with = c:ENG
}
}
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"
}
}
1540if = {
1541limit = {
1542scope:actor = {
1542overlord = c:FRA
}
}
1544add = {
1545desc = "Distance to England"
1546c:ENG = {
1547value = "border_distance_to(scope:actor)"
1548multiply = -0.1
}
}
}
}