Relation diplomatiqueModifié dans cette version

Soutien d'un Ordre militaire

military_sponsorshipin_game/common/scripted_relations/military_sponsorship.txt:1

Un Pays parrainera un ordre militaire, ce qui lui permettra de construire une Commanderie de l'ordre à l'intérieur de ses frontières et activera plusieurs demandes diplomatiques. En échange, le pays va gagner Finance un Ordre militaire et recevra le soutien militaire de l'ordre pour les guerres contre les infidèles !

RequiertRomePaysbreak effect, cancel effect, offer effectPeut bénéficier de Soutiens militairesType de modificateuroffer enabled, visible, will expire triggerConstruction interdite dans le territoireRelation diplomatiqueoffer enabled, will expire trigger

2type = diplomacy
3relation_type = oneway
4break_on_war = yes
5uses_diplo_capacity = receiving
6diplomatic_capacity_cost = military_sponsorship_upkeep_cost
7break_on_becoming_subject = yes
8receiving_color = rgb {
60
120
0
}
9giving_color = rgb {
40
100
0
}
10institution_spread_to_second = monthly_institution_spread_weak (0.1)
11gold_to_second = {
12value = scope:first.monthly_income_trade_and_tax
13multiply = 0.1
14max = {
15value = scope:second.monthly_income_trade_and_tax
16multiply = 0.5
}
18min = 0
}
20receiving_modifier_scale = {
21add = {
22desc = "BASE" Montant de base
23value = 1
}
}
27relation_type_for_ai = friendly
28category = {
29offer = CATEGORY_ECONOMY_ACTIONS
30request = CATEGORY_ECONOMY_ACTIONS
31cancellation = CATEGORY_ECONOMY_ACTIONS
32break = CATEGORY_ECONOMY_ACTIONS
}
35visible = {
36scope:actor = {
37has_limited_diplomacy = no
}
40scope:recipient = {
}
43scope:actor.religion = scope:recipient.religion
}
46offer_enabled = {
47trigger_if = {
48limit = {
49scope:actor = {
}
}
51scope:recipient = {
}
}
53trigger_if = {
54limit = {
55scope:actor = {
}
}
57scope:recipient = {
}
}
59scope:recipient = {
60religion = scope:actor.religion
61not = {
62giving_scripted_relation = {
64target = scope:actor
}
}
67not = {
68any_related_country = {
69type = military_sponsorship
70count >= {
71value = 2
72add = country_rank_level
}
}
}
}
}
79offer_effect = {
80if = {
81limit = {
82country_exists = c:PAP
83scope:actor = {
84not = {
84tag = PAP
}
}
}
87c:PAP = {
88add_opinion = {
89target = scope:actor
90modifier = opinion_sponsoring_military_order
}
}
}
}
95cancel_effect = {
96if = {
97limit = {
98scope:actor = {
98not = {
98tag = PAP
}
}
99country_exists = c:PAP
100scope:actor = {
101NOT = {
102has_scripted_relation_of_type = relation_type:military_sponsorship
}
}
}
106c:PAP = {
107remove_opinion = {
108target = scope:actor
109modifier = opinion_sponsoring_military_order
}
}
}
}
114break_effect = {
115if = {
116limit = {
117scope:actor = {
117not = {
117tag = PAP
}
}
118country_exists = c:PAP
119scope:actor = {
120NOT = {
121has_scripted_relation_of_type = relation_type:military_sponsorship
}
}
}
125c:PAP = {
126remove_opinion = {
127target = scope:actor
128modifier = opinion_sponsoring_military_order
}
}
}
}
134will_expire_trigger = {
135OR = {
136scope:first = {
137OR = {
138giving_scripted_relation = {
140target = scope:first
}
142not = {
142religion = scope:second.religion
}
144has_limited_diplomacy = yes
}
}
147scope:second = {
148OR = {
149has_limited_diplomacy = yes
151not = {
151religion = scope:first.religion
}
}
}
}
}
156wants_to_give_diplo_chance = {
157base = -60
158trust_in_actor = 1
159positive_opinion = 0.5
160negative_opinion = -1
161border_distance = -0.01
162strategic_interest = 1
163common_threat = 3
164relative_strength = 40
165too_many_loans = -1000
}
167wants_to_give = {
168if = {
169limit = {
170scope:recipient = {
}
}
174add = {
175desc = "DIPLOREASON_GOOD_FOR_US" Bon pour nous
176value = 100
}
}
179else = {
180add = {
181desc = "THEIR_OPINION_TOOLTIP" Son Opinion sur nous
182value = "scope:recipient.opinion(scope:actor)"
183divide = 2
}
185add = {
186desc = "DIPLOREASON_DIPLOMATIC_REPUTATION" Réputation diplomatique
187scope:actor = {
189multiply = 5
}
}
192add = {
193desc = "DISTANCE_TO_TARGET" Distance
194scope:recipient = {
195value = "border_distance_to(scope:actor)"
196multiply = -0.02
}
}
199if = {
200limit = {
201scope:recipient = {
202any_neighbor_country = {
203expected_army_size >= scope:recipient.expected_army_size
204NOT = {
204religion = scope:recipient.religion
}
205NOT = {
205is_subject_of = scope:recipient
}
206NOT = {
206is_subject_of = scope:actor
}
207NOT = {
207is_allied_with = {
207target = scope:recipient
}
}
}
}
}
211add = {
212desc = "THEY_THREATENED_BY_RELIGIOUS_ENEMIES" Ils sont menacés par les infidèles
213add = 50
}
}
}
217add = {
218desc = "game_concept_rival" Rival
219if = {
220limit = {
221scope:recipient = {
222is_rival_of = scope:actor
}
}
225value = -1000
}
}
228add = {
229desc = "WOULD_PUT_US_INTO_DEFICIT" Cela nous mettrait en situation de déficit
230if = {
231limit = {
232scope:recipient = {
233monthly_balance < {
234value = scope:recipient.monthly_income_trade_and_tax
235multiply = 0.05
236max = scope:actor.monthly_income_trade_and_tax
}
}
}
240value = -1000
}
}
}
244wants_to_receive = {
245if = {
246limit = {
247scope:recipient = {
}
}
251add = {
252desc = "DIPLOREASON_GOOD_FOR_US" Bon pour nous
253value = 100
}
}
256else = {
257add = {
258desc = "THEIR_OPINION_TOOLTIP" Son Opinion sur nous
259value = "scope:recipient.opinion(scope:actor)"
260divide = 2
}
262add = {
263desc = "THEIR_TRUST_TOOLTIP" Sa Confiance en nous
264value = "scope:recipient.trust(scope:actor)"
265divide = 5
}
267add = {
268desc = "DIPLOREASON_DIPLOMATIC_REPUTATION" Réputation diplomatique
269scope:actor = {
271multiply = 5
}
}
274add = {
275desc = "DISTANCE_TO_TARGET" Distance
276scope:recipient = {
277value = "border_distance_to(scope:actor)"
278multiply = -0.02
}
}
281if = {
282limit = {
283scope:recipient = {
284any_neighbor_country = {
285expected_army_size >= scope:recipient
286NOT = {
286religion = scope:recipient.religion
}
287NOT = {
287is_subject_of = scope:recipient
}
288NOT = {
288is_subject_of = scope:actor
}
289NOT = {
289is_allied_with = {
289target = scope:recipient
}
}
}
}
}
293add = {
294desc = "THEY_THREATENED_BY_RELIGIOUS_ENEMIES" Ils sont menacés par les infidèles
295add = 50
}
}
}
299add = {
300desc = "game_concept_rival" Rival
301if = {
302limit = {
303scope:recipient = {
304is_rival_of = scope:actor
}
}
307value = -1000
}
}
}
© 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