
LandesinteraktionIn dieser Version geändert
Landfrieden durchsetzen
Wir werden den Landfrieden im Zusammenschluss „Heiliges Römisches Reich“ durchsetzen und damit alle inneren Kriege beenden.
Heiliges Römisches ReichZusammenschlussaccept, allow, potential, select trigger 1, select trigger 2
Landfrieden-Durchsetzung möglichModifikatorartpotentialDefinitionin_game/common/country_interactions/hre.txt:1524
1525type = diplomacy
1526category = CATEGORY_HRE_ACTIONS
1529ai_prerequisite = {
1530NOT = {
1530is_during_bankruptcy = yes
}
}
1533potential = {
}
1540allow = {
1543country = scope:actor
}
}
1547select_trigger = {
1548looking_for_a = country
1549target_flag = recipient
1550name = "choose_country" Das Land wählen:
1551column = {
1552data = name
}
1557enabled = {
1558any_current_war = {
1559NOT = {
1559is_civil_war_for = prev
}
1560attacker_leader = prev
1561defender_leader = {
}
}
1563NOT = {
1563is_at_war_with = scope:actor
}
1564scope:actor = {
1565NOT = {
1565has_truce_with = root
}
1566NOT = {
1566in_union_with = root
}
}
}
}
1570select_trigger = {
1571looking_for_a = war
1572source = recipient
1573target_flag = target
1574name = "enforce_landfriede_select_title" Einen Krieg auswählen, den „Recipient“ verlassen soll
1575none_available_msg_key = "enforce_landfriede_no_wars"
1576default_sort = select_target_acceptance_total
1577column = {
1578data = name
}
1580column = {
1581data = select_target_acceptance_total
}
1583visible = {
1584attacker_leader = scope:recipient
1585defender_leader = {
}
}
1587enabled = {
1588OR = {
1589is_no_cb_war = yes
1590casus_belli ?= {
1591NOT = {
1591has_tag = cannot_be_enforced_peace_on
}
}
}
}
}
1596cooldown = {
1597type = enforce_landfriede
1598years = {
1599value = 5
1600if = {
1601limit = {
1601scope:actor.modifier:landfriede_flat_cost >= -5
}
1602add = scope:actor.modifier:landfriede_cooldown
}
}
}
1606effect = {
1609country = scope:actor
}
1612if = {
1613limit = {
1613exists = scope:target
}
1614scope:recipient = {
1614white_peace = scope:target
}
}
1616else = {
1616custom_tooltip = select_a_war_to_leave Einen Krieg auswählen, aus dem das Land aussteigen soll
}
1617scope:recipient = {
1617add_opinion = {
1617target = scope:actor
1617modifier = opinion_forced_landfriede_upon
}
}
}
1619reject_effect = {
1622country = scope:actor
}
1625scope:actor = {
1627join_war_against = {
1628war = scope:target
1629target = scope:recipient
1630call_in_subjects = yes
1631ignore_rules = yes
1632notify_opposing_side = yes
}
}
}
1636ai_will_do = {
1637subtract = {
1638desc = "VOTE_BASE_VALUE" Grundwert
1639value = 10
}
1641if = {
1642limit = {
1642scope:actor = {
1642at_war = yes
}
}
1643subtract = {
1644desc = "IS_AT_WAR"
1645value = 200
}
}
1648subtract = {
1649desc = "DIPLOREASON_NUM_OF_LOANS"
1650value = scope:actor.num_loans
1651multiply = 25
}
1653if = {
1654limit = {
1654exists = scope:recipient
}
1655if = {
1656limit = {
1657scope:actor = {
1658OR = {
1659wants_to_attack = scope:recipient
1660country_interaction_acceptance = {
1661type = country_interaction:enforce_landfriede
1662target = scope:recipient
1663value > 0
}
}
}
}
1668add = {
1669desc = "WANTS_TO_CONTAIN_TARGET"
1670value = 100
}
}
1673if = {
1674limit = {
1674scope:recipient = {
1674is_rival_of = scope:actor
}
}
1675add = {
1676desc = "game_concept_rival"
1677value = 50
}
}
1680if = {
1681limit = {
1681scope:recipient = {
1681is_enemy_of = scope:actor
}
}
1682add = {
1683desc = "game_concept_enemy"
1684value = 15
}
}
1687add = {
1688desc = "DIPLOREASON_ANTAGONISM"
1689value = "scope:actor.antagonism(scope:recipient)"
1690multiply = 1.75
}
1692if = {
1693limit = {
1694scope:recipient.military_strength > scope:actor.military_strength
}
1696add = {
1697desc = "MILITARY_STRENGTH_IN_COMPARISON_TO_TARGET"
1698value = scope:actor.military_strength
1699subtract = {
1700value = scope:recipient.military_strength
1701multiply = 1.5
}
}
}
1705if = {
1706limit = {
1706exists = scope:target
}
1707add = {
1708desc = "OPINION_OF_DEFENDER_IN_COMPARISON_TO_TARGET"
1709value = "scope:actor.opinion(scope:target.defender_leader)"
1710multiply = 2
1711subtract = "scope:actor.opinion(scope:recipient)"
}
}
}
}
1716accept = {
1717subtract = {
1718desc = "VOTE_BASE_VALUE" Grundwert
1719value = 10
}
1722if = {
1723limit = {
1723scope:recipient = {
}
}
1724add = {
1725desc = "imperial_authority" Kaiserautorität
}
}
1729add = {
1730desc = "MILITARY_STRENGTH_IN_COMPARISON_TO_ACTOR" Militärstärke im Vergleich zu: Actor
1731value = scope:actor.military_strength
1732subtract = scope:recipient.military_strength
}
1734if = {
1735limit = {
1735exists = scope:target
}
1736subtract = {
1737desc = "DIPLOREASON_WARSCORE" Kriegswert
1738value = "scope:recipient.war_score_in_war(scope:target)"
1739multiply = 2
}
}
1742subtract = {
1743desc = "PERSONALITY_OF_TARGET" Herrscherpersönlichkeit von: Recipient
1744value = scope:recipient.modifier:aggressiveness_modifier
1745multiply = 100
}
}