Diplomatic RelationChanged this version
Sponsorship of Military Order
A Country will sponsor a Military Order, allowing them to construct Order Commandery within their borders and enable several diplomatic requests. In exchange, the country will gain Sponsoring Military Order and receive the military support of the order for wars against the Infidels!
RomeCountrybreak effect, cancel effect, offer effect
May be Target of Military SponsorshipsModifier Typeoffer enabled, visible, will expire triggerBuilding in Territory BlockedDiplomatic Relationoffer enabled, will expire trigger2type = diplomacy
3relation_type = oneway
4break_on_war = yes
5uses_diplo_capacity = receiving
7break_on_becoming_subject = yes
8receiving_color = rgb {
60
120
0
}
9giving_color = rgb {
40
100
0
}
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" Base Amount
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 = {
43scope:actor.religion = scope:recipient.religion
}
46offer_enabled = {
47trigger_if = {
}
53trigger_if = {
}
59scope:recipient = {
60religion = scope:actor.religion
61not = {
}
67not = {
68any_related_country = {
69type = military_sponsorship
70count >= {
71value = 2
72add = country_rank_level
}
}
}
}
}
79offer_effect = {
}
95cancel_effect = {
96if = {
97limit = {
}
107remove_opinion = {
108target = scope:actor
109modifier = opinion_sponsoring_military_order
}
}
}
}
114break_effect = {
115if = {
116limit = {
}
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 = {
174add = {
175desc = "DIPLOREASON_GOOD_FOR_US" Good for Us
176value = 100
}
}
179else = {
180add = {
181desc = "THEIR_OPINION_TOOLTIP" Their opinion of us
182value = "scope:recipient.opinion(scope:actor)"
183divide = 2
}
185add = {
186desc = "DIPLOREASON_DIPLOMATIC_REPUTATION" Diplomatic Reputation
}
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
}
}
}
}
211add = {
212desc = "THEY_THREATENED_BY_RELIGIOUS_ENEMIES" They are threatened by Infidels
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" Would put us into deficit
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 = {
251add = {
252desc = "DIPLOREASON_GOOD_FOR_US" Good for Us
253value = 100
}
}
256else = {
257add = {
258desc = "THEIR_OPINION_TOOLTIP" Their opinion of us
259value = "scope:recipient.opinion(scope:actor)"
260divide = 2
}
262add = {
263desc = "THEIR_TRUST_TOOLTIP" Their Trust of us
264value = "scope:recipient.trust(scope:actor)"
265divide = 5
}
267add = {
268desc = "DIPLOREASON_DIPLOMATIC_REPUTATION" Diplomatic Reputation
}
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
}
}
}
}
293add = {
294desc = "THEY_THREATENED_BY_RELIGIOUS_ENEMIES" They are threatened by Infidels
295add = 50
}
}
}
299add = {
300desc = "game_concept_rival" Rival
301if = {
302limit = {
303scope:recipient = {
304is_rival_of = scope:actor
}
}
307value = -1000
}
}
}