Relation diplomatique

Garantie

guaranteein_game/common/scripted_relations/guarantee.txt:1

C'est un Traité lors duquel un Pays est Garant d'un autre Country et promet de le protéger s'il se fait attaquer lors d'une Guerre.

RequiertPeut Offrir des GarantiesType de modificateuroffer enabled, request enabled, will expire trigger

2type = diplomacy
3relation_type = oneway
4uses_diplo_capacity = giving
5block_when_at_war = yes
6break_on_war = yes
7break_on_becoming_subject = yes
8annulled_by_peace_treaty = yes
9annullment_favours_required = 10
10called_in_defensively = giving
11receiving_color = define:NMapColors|DIPLOMACY_GUARANTEE_COLOR
12category = {
13offer = CATEGORY_FRIENDLY_ACTIONS
14request = CATEGORY_FRIENDLY_ACTIONS
15cancellation = CATEGORY_HOSTILE_ACTIONS
16break = CATEGORY_HOSTILE_ACTIONS
}
19relation_type_for_ai = friendly
21diplomatic_capacity_cost = guarantee_upkeep_cost
23offer_enabled = {
24scope:actor = {
25not = {
25has_blocked_treaties = scope:recipient
}
27country_rank_level >= scope:recipient.country_rank_level
28has_limited_diplomacy = no
29not = {
29is_rival_of = scope:recipient
}
30not = {
30is_subject_of = scope:recipient
}
31not = {
32has_diplomacy_with = {
33type = giving_defensive_support
34country = scope:recipient
}
}
37country_tax_base > scope:recipient.country_tax_base
38expected_army_size > scope:recipient.expected_army_size
}
40scope:recipient = {
41opinion = {
42target = scope:actor
43value >= 50
}
45not = {
45has_blocked_treaties = scope:recipient
}
46has_limited_diplomacy = no
47not = {
47is_rival_of = scope:actor
}
48is_great_power = no
}
}
52request_enabled = {
53scope:actor = {
54not = {
54has_blocked_treaties = scope:recipient
}
55country_rank_level < scope:recipient.country_rank_level
56has_limited_diplomacy = no
57not = {
57is_rival_of = scope:recipient
}
58not = {
59has_diplomacy_with = {
60type = giving_defensive_support
61country = scope:recipient
}
}
64is_great_power = no
}
66scope:recipient = {
67not = {
67has_blocked_treaties = scope:recipient
}
69has_limited_diplomacy = no
70not = {
70is_rival_of = scope:actor
}
}
}
74will_expire_trigger = {
75OR = {
76scope:first = {
77is_rival_of = scope:second
}
79scope:first = {
}
82scope:first = {
83country_rank_level < scope:second.country_rank_level
}
85scope:second = {
86is_rival_of = scope:first
}
88scope:second = {
89is_great_power = yes
}
}
}
94cancel_effect = {
95scope:actor = {
96add_truce_with = {
96target = scope:recipient
}
}
}
100break_effect = {
101scope:actor = {
102add_truce_with = {
102target = scope:recipient
}
}
}
106expire_effect = {
107if = {
108limit = {
109scope:first = {
110country_rank_level = scope:second.country_rank_level
}
}
113scope:first = {
115create_relation = {
116first = scope:first
117second = scope:second
}
}
}
}
124wants_to_give_diplo_chance = {
125base = -20
126trust_in_actor = 1
127actor_is_rival = -100
128actor_overlord_is_rival = -100
129recipient_is_rival = -100
130recipient_overlord_is_rival = -100
131actor_at_war = -100
132recipient_at_war = -100
133same_religion = 5
134different_religion = -35
135different_government_type = -35
136same_culture = 5
137diplomatic_reputation = 3
138opinion = 0.1
139conflicting_interests = 1
140actor_max_relations = -20
141max_relations = -20
142relative_strength = 30
143war_exhaustion = -3
144low_manpower = -40
145common_threat = 1.5
146culture_view = 10
147religion_view = 10
148border_distance = -0.5
}
151wants_to_give = {
152scope:actor = {
153add = {
154desc = "COALITION_GRADE_ANTAGONISM_TOWARDS_THEM" Actor est la cible probable d'une coalition
155value = {
156every_country_with_coalition_grade_antagonism_against_us = {
157limit = {
158not = {
158is_subject_or_below_of = prev
}
}
160add = {
161value = -10
}
}
}
}
}
168add = {
169desc = "COMMON_RIVALS" Rivaux communs
170value = "scope:recipient.num_of_common_rivals(scope:actor)"
171max = 3
172multiply = 5
}
}
© 2026 Soft Santa Cruz, S.L.U.. Tous droits réservés. Projet de fan non officiel, non affilié à Paradox Interactive. Contenu du jeu © Paradox Interactive. À propos · Confidentialité · Mentions légales