
СитуацияИзменено в этой версии
Гвельфы и гибеллины
Гвельфы и гибеллины несколько веков сражались за власть над Италией с тех пор, как Католическая церковь Leader Title и Священная Римская Империя Leader Title схлестнулись в борьбе за инвеституру. Гвельфы поддерживают Римскую власть над полуостровом, тогда как гибеллины считаются имперскими лоялистами, преданными Священной Римской Империи. Обе стороны давно вышли за пределы своих начальных позиций, их интересы стали куда шире, и различные державы нередко меняют поддерживаемую сторону в погоне за выгодой.
ОткрытийЭпохаon ended
РимДержаваon ended, on monthly, on start, visible
ГибеллиныМеждународное объединениеon ended, on monthly, on start, visible
ГвельфыМеждународное объединениеon ended, on monthly, on start, visible
Священная Римская ИмперияМеждународное объединениеon monthly, on start, visiblegag_total_taxПеременнаяon monthlyghibellines_progressПеременнаяon ended, on monthlyguelphs_and_ghibellines_endedПеременнаяon endedguelphs_progressПеременнаяon ended, on monthlyОпределениеin_game/common/situations/guelphs_and_ghibellines.txt:1
2voters = guelphs_and_ghibellines_voters
4hint_tag = hint_guelphs_and_ghibellines
15visible = {
16OR = {
17has_presence_in = region:italy_region
}
}
26on_start = {
29add_to_global_variable_list = {
29name = guelphs_and_ghibellines_voters
}
30every_country = {
31limit = {
32OR = {
35has_presence_in = region:italy_region
}
}
39add_to_global_variable_list = {
39name = guelphs_and_ghibellines_voters
}
40add_to_global_variable_list = {
40name = guelphs_and_ghibellines_voters
}
42if = {
}
51save_temporary_scope_as = targetted_country
52if = {
55if = {
56limit = {
}
61add_country_to_international_organization = scope:targetted_country
}
}
}
}
}
75ordered_country_in_religion = {
76limit = {
77capital.region = region:italy_region
78NAND = {
80OR = {
}
90is_during_bankruptcy = yes
}
}
93order_by = country_tax_base
94max = 1
95check_range_bounds = no
}
}
}
100on_monthly = {
101hidden_effect = {
103every_international_organization_member = {
}
}
108every_international_organization_member = {
}
}
114if = {
115limit = {
116NOR = {
}
}
}
}
128if = {
129limit = {
130NOR = {
}
}
}
}
141region:italy_region = {
142every_present_country = {
143limit = {
144NOR = {
}
}
}
}
162region:italy_region = {
163every_location_in_region = {
164limit = {
164is_capital = yes
}
165owner = {
}
}
}
175set_local_variable = {
176name = guelphs_total_tax
177value = 0
}
180every_international_organization_member = {
181root = {
182change_local_variable = {
183name = guelphs_total_tax
184add = prev.country_tax_base
}
}
}
}
189set_local_variable = {
190name = ghibellines_total_tax
191value = 0
}
194every_international_organization_member = {
195root = {
196change_local_variable = {
197name = ghibellines_total_tax
198add = prev.country_tax_base
}
}
}
}
207if = {
}
220else = {
221set_local_variable = {
222name = guelphs_total_tax
223value = 0
}
225set_local_variable = {
226name = ghibellines_total_tax
227value = 0
}
}
233if = {
}
}
249if = {
}
258change_variable = {
260add = local_var:ghibellines_total_tax
}
}
}
}
267on_ended = {
268if = {
269limit = {
}
279every_international_organization_member = {
}
}
}
284else_if = {
285limit = {
}
295every_international_organization_member = {
}
}
}
304if = {
305limit = {
}
311every_international_organization_member = {
}
}
312every_international_organization_member = {
}
}
}
}
316if = {
317limit = {
}
323every_international_organization_member = {
}
}
324every_international_organization_member = {
}
}
}
}
327if = {
328limit = {
329OR = {
331AND = {
}
}
}
341every_international_organization_member = {
}
}
342every_international_organization_member = {
}
}
}
344if = {
}
348else_if = {
349limit = {
}
354leader_country ?= {
}
}
}
357else_if = {
358limit = {
}
363leader_country ?= {
}
}
}
366else = {
367random_country = {
368limit = {
368capital.sub_continent = sub_continent:western_europe
}
}
}
}
374tooltip = {
375if = {
376limit = {
377has_owner = yes
378owner ?= {
}
}
383custom_tooltip = guelphs_side_leader.tt
}
385else_if = {
386limit = {
387has_owner = yes
388owner ?= {
}
}
393custom_tooltip = ghibellines_side_leader.tt
}
395else_if = {
396limit = {
397has_owner = yes
}
400custom_tooltip = guelphs_side.tt
}
402else_if = {
403limit = {
404has_owner = yes
405owner ?= {
}
}
407custom_tooltip = ghibellines_side.tt
}
409else_if = {
410limit = {
411has_owner = yes
412owner ?= {
413NOT = {
414OR = {
}
}
}
}
421custom_tooltip = guelphs_ghibellines_neutral.tt
}
}
425map_color = {
426if = {
427limit = {
428has_owner = yes
429owner ?= {
}
}
434value = gag_guelphs_leader_color
}
436else_if = {
437limit = {
438has_owner = yes
439owner ?= {
}
}
444value = gag_ghibellines_leader_color
}
446else_if = {
447limit = {
448has_owner = yes
}
451value = gag_guelphs_color
}
453else_if = {
454limit = {
455has_owner = yes
456owner ?= {
}
}
458value = gag_ghibellines_color
}
460else_if = {
461limit = {
462has_owner = yes
463owner ?= {
464NOT = {
465OR = {
}
}
}
}
472value = rtr_neutral_color
}
474else = {
475value = define:NMapColors|DEFAULT_COLOR
}
}
479legend_key = {
480desc = "GAG_GUELPH_LEADER"
481color = gag_guelphs_leader_color
482require_color_on_map = yes
}
484legend_key = {
485desc = "GAG_GHIBELLINES_LEADER"
486color = gag_ghibellines_leader_color
487require_color_on_map = yes
}
489legend_key = {
490desc = "GAG_GUELPH_SUPPORTER"
491color = gag_guelphs_color
492require_color_on_map = yes
}
494legend_key = {
495desc = "GAG_GHIBELLINE_SUPPORTER"
496color = gag_ghibellines_color
497require_color_on_map = yes
}