Przekazanie poddanego
Interakcja krajowa

Przekazanie poddanego

transfer_subjectin_game/common/country_interactions/transfer_subject.txt:1

Zaproponujemy im możliwość przejęcia jednego z naszych poddanych w zamian za złoto

Definicjain_game/common/country_interactions/transfer_subject.txt:1

2type = diplomacy
3category = CATEGORY_ECONOMY_ACTIONS
5potential = {
6scope:actor = {
7num_subjects > 0
}
}
11allow = {
}
14price = price:transfer_subject_price
15price_modifier = {
16if = {
17limit = {
18exists = scope:sale_price
}
20add = {
21desc = "SALE_PRICE" Cena sprzedaży
22value = scope:sale_price
}
}
25else = {
26value = 0
}
}
29payer = scope:recipient
30payee = scope:actor
32ai_tick = never
34select_trigger = {
35looking_for_a = country
36target_flag = recipient
37name = "choose_country" Wybierz Country:
38column = {
39data = name
}
41visible = {
}
43enabled = {
}
}
47select_trigger = {
48bottom_widget = transfer_subject_select_price
49move_to_next_section_on_click = no
50looking_for_a = country
51interaction_source_list = {
52scope:actor = {
53every_subject = {
54add_to_list = source
}
}
}
58target_flag = target
59name = "transfer_subject_select_title" Wybierz poddanego, którego chcesz przekazać krajowi Recipient
60none_available_msg_key = "transfer_subject_no_countries"
61cache_interaction_source_list = yes
62column = {
63data = name
}
65column = {
66data = population
}
68enabled = {
69not = {
70scope:recipient = {
71is_subject_or_below_of = root
}
}
75this != scope:recipient
}
}
79select_trigger = {
80looking_for_a = value
81target_flag = sale_price
82name = "select_a_price" Wybierz cenę
83min = 0
84max = {
85value = scope:recipient.gold
}
87step = {
88value = scope:recipient.gold
89divide = 100
}
91default = 0
}
94effect = {
95if = {
96limit = {
97exists = scope:target
}
99scope:target = {
100transfer_subject = scope:recipient
}
}
103else = {
104custom_tooltip = select_a_subject_to_transfer Wybierz jednego z poddanych do przekazania
}
}
108ai_will_do = {
109value = -10
}
112diplo_chance = {
113at_war = -100
114recipient_at_war = -100
115recipient_occupied_beseiged_locations = -20
116recipient_is_rival = 10
117in_debt = -2
118price = -1
119price_percentage_of_treasury_funds = -100
120competing_power = 10
121few_relations = 10
122max_relations = -50
123tax_base = 0.5
}
126accept = {
128if = {
129limit = {
130exists = scope:target
131exists = scope:recipient
}
133scope:recipient = {
135if = {
136limit = {
137religion = scope:target.religion
}
139add = {
140desc = "DIPLOREASON_SAME_RELIGION" Ta sama religia
141value = 10
}
}
144else_if = {
145limit = {
146religion.group = scope:target.religion.group
}
148add = {
149desc = "DIPLOREASON_SAME_RELIGION_GROUP" Wspólna Religion Group
150value = 5
}
}
153else = {
154add = {
155desc = "DIPLOREASON_DIFF_RELIGION" Inna religia
156value = -10
}
}
161if = {
162limit = {
163culture = scope:target.culture
}
165add = {
166desc = "DIPLOREASON_SAME_CULTURE" Ta sama kultura
167value = 10
}
}
170else = {
171add = {
172desc = "DIPLOREASON_DIFF_CULTURE" Inna Primary Culture
173value = -10
}
}
178add = {
179desc = "CONQUER_DESIRE" Pragnienie podbicia celu
180value = "conquer_desire(scope:target)"
181multiply = 100
}
185add = {
186desc = "DIPLOREASON_BORDER_DISTANCE" Skuteczny opór
187value = "border_distance_to(scope:target)"
188multiply = -0.2
}
}
193scope:target = {
194add = {
195desc = "DIPLOREASON_TAX_BASE_WITH_SCOPE" Country – Tax Base
196value = country_tax_base
197multiply = 10
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Wszelkie prawa zastrzeżone. Nieoficjalny projekt fanowski, niezwiązany z Paradox Interactive. Zawartość gry © Paradox Interactive. O serwisie · Prywatność · Nota prawna