Prêter une icône
ActionModifié dans cette version

Prêter une icône

loan_iconin_game/common/generic_actions/D008_orthodox.txt:1

Prêtez une Icône à un autre Pays pour une durée de 10 ans, moyennant une redevance calculée en fonction de ses Revenu et de la Qualité de l'art de l'Œuvre d'art. Cela permettra également d'améliorer l'Opinion mutuelle et la Confiance entre les deux pays.

RequiertSort du phénixDLCpotentialOrthodoxieReligionpotential, select trigger 3

Définitionin_game/common/generic_actions/D008_orthodox.txt:1

2type = religious
3ai_tick = monthly
4ai_tick_frequency = 6
5automation_tick = monthly
6automation_tick_frequency = 3
7player_automated_category = religiousdoctrines
9potential = {
11scope:actor.religion = religion:orthodox
}
14allow = {
15scope:actor = {
16at_war = no
17any_work_of_art = {
18work_of_art_type = work_of_art_type:icon
}
}
}
23price = price:loan_icon_price
25select_trigger = {
26looking_for_a = religion
27source = actor
28target_flag = recipient
29name = "choose_religion" Sélectionner la Religion :
30column = {
31data = name
}
}
35select_trigger = {
36looking_for_a = work_of_art
37source = actor
38target_flag = target
39name = "loan_icon_choose_icon" Choisir l'Icône à prêter
40none_available_msg_key = "no_valid_works_of_art"
41column = {
42data = name
}
44visible = {
45work_of_art_type = work_of_art_type:icon
}
47enabled = {
48custom_tooltip = {
49text = icon_not_already_loaned_tt Nous ne devons pas être en train d'emprunter cette Icône à un autre Pays
50OR = {
51NOT = {
51scope:actor = {
51has_variable_map = lent_icon
}
}
52NOT = {
53scope:actor = {
54is_key_in_variable_map = {
55name = lent_icon
56target = root
}
}
}
}
}
}
}
65select_trigger = {
66looking_for_a = country
67target_flag = target_country
68interaction_source_list = {
70every_country_in_religion = {
71add_to_list = source
}
}
}
75cache_targets = yes
76name = "choose_country" Sélectionner le Pays :
77column = {
78data = name
}
80column = {
81data = population
}
83visible = {
}
85enabled = {
86opinion = {
86target = scope:actor
86value > 0
}
87custom_tooltip = {
88text = not_already_receiving_icon_tt Nous ne leur avons probablement pas encore prêté d'Icône
89OR = {
90NOT = {
90has_variable_map = lent_icon
}
91NOT = {
92is_value_in_variable_map = {
93name = lent_icon
94target = scope:actor
}
}
}
}
}
}
102effect = {
103if = {
104limit = {
105exists = scope:target
106exists = scope:target_country
}
108save_temporary_scope_value_as = {
109name = icon_price_value
110value = {
111value = "scope:target_country.monthly_income_trade_and_tax"
112multiply = "scope:target.art_quality"
113divide = 1000
114min = "scope:target.art_quality"
}
}
117scope:target_country = {
118set_variable = {
120value = scope:icon_price_value
}
}
123custom_tooltip = {
124text = loan_icon_tt Nous leur proposerons de leur prêter l'œuvre d'art Target en échange de Icon Price Value Gold I
125scope:target_country = {
126trigger_event_silently = d008_orthodox_events.1
}
}
129if = {
130limit = {
131scope:target_country = {
132OR = {
133gold < scope:icon_price_value
134gold < 0
135num_loans > 0
}
}
}
139custom_tooltip = loan_icon_bad_economy_tt Ils semblent traverser une conjoncture économique difficile et risquent de ne pas être d'accord si leur Opinion à notre égard n'est pas assez élevée
}
}
142else = {
143custom_tooltip = loan_icon_tt_no_target Nous proposerons au Pays cible de lui prêter l'une de nos Œuvres d'art en échange de Ducats
}
}
146ai_will_do = {
147if = {
148limit = {
149scope:actor = {
150monthly_balance < 0
}
}
153add = {
154value = 10
}
}
157if = {
158limit = {
159scope:target_country = {
160OR = {
161gold < 0
162num_loans > 0
}
}
}
166add = -1000
}
168add = {
169desc = "OUR_OPINION_TOOLTIP"
170value = "scope:actor.opinion(scope:target_country)"
}
172add = {
173desc = "THEIR_OPINION_TOOLTIP"
174value = "scope:target_country.opinion(scope:actor)"
}
}
© 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