Wielka zaraza
SytuacjaZmienione w tej wersji

Wielka zaraza

great_pestilencein_game/common/situations/great_pestilence.txt:1

Zza granicy dotarły do nas okropne wieści: cierpienie i zaraza przetacza się przez tamtejsze krainy w towarzystwie śmierci – najwyraźniej sprowadzone przez tajemniczych obcokrajowców z brodami. Nasza starszyzna nigdy nie słyszała o tego rodzaju pladze, dlatego żadne wspomnienia przodków nie pomogą nam stawić czoła katastrofie, jeśli dotrze ona do naszych osad. Czy nasz lud zginie, czy zdołamy jednak odeprzeć jakoś śmierć?

WymagaWielka zarazaChorobacan end, can start, on monthly, visibleZnalezienie winnychModyfikator statycznyvisibleBrak kontaktu z obcymiModyfikator statycznyvisibleZdobycie lekówModyfikator statycznyvisibleOpłacanie zdobywania lekówModyfikator statycznyvisibleSegregacja zarażonychModyfikator statycznyvisibleSponsorowanie ochrony duchowejModyfikator statycznyvisibleOpłacanie ochrony duchowejModyfikator statycznyvisiblehad_great_pestilenceZmiennacan end, on endedvar_andes_was_infectedZmiennacan end, on monthlyvar_carib_was_infectedZmiennacan end, on monthlyvar_mesoamerica_was_infectedZmiennacan end, on monthly

Definicjain_game/common/situations/great_pestilence.txt:1

5monthly_spawn_chance = monthly_spawn_chance_unique (1)
6hint_tag = hint_great_pestilence
7can_start = {
8disease_is_active = disease:great_pestilence
}
11can_end = {
13custom_tooltip = {
14text = great_pestilence_regions_infected_tt Karaiby, Mazoameryka i Andy padają ofiarami choroby znanej jako Wielka zaraza.
}
21NOT = {
22disease_is_active = disease:great_pestilence
}
25continent:america = {
26any_country_with_capital_in_geography = {
27count <= 30
28country_type = location
29custom_tooltip = {
30text = great_pestilence_americas_spread_tt Wielka zaraza jeszcze tam nie dotarła.
31NOT = {
31has_variable = had_great_pestilence
}
}
}
}
}
37visible = {
38OR = {
39country_has_disease = disease:great_pestilence
41has_country_modifier = no_contact_with_outsiders
42has_country_modifier = procure_remedies
43has_country_modifier = procure_remedies_cost
44has_country_modifier = segregate_the_infected
45has_country_modifier = blame_the_minorities
46has_country_modifier = sponsor_spiritual_protection_bonus
47has_country_modifier = sponsor_spiritual_protection_cost
}
}
51on_start = {
53set_variable = {
53value = no
}
54set_variable = {
54value = no
}
55set_variable = {
55value = no
}
}
58on_monthly = {
59every_country = {
60limit = {
61country_has_disease = disease:great_pestilence
}
63set_variable = {
63value = yes
}
64random_list = {
651 = {
65trigger_event_non_silently = great_pestilence.3
}
661 = {
66trigger_event_non_silently = great_pestilence.4
}
671 = {
67trigger_event_non_silently = great_pestilence.5
}
681 = {
68trigger_event_non_silently = great_pestilence.6
}
691 = {
69trigger_event_non_silently = great_pestilence.7
}
7050 = {
}
}
}
74if = {
75limit = {
77region:caribbean_region = {
78any_ownable_location_in_region = {
79disease_presence = {
79value > 0
}
}
}
}
83set_variable = {
83value = yes
}
}
85if = {
86limit = {
88region:mesoamerica_region = {
89any_ownable_location_in_region = {
90disease_presence = {
90value > 0
}
}
}
}
94set_variable = {
94value = yes
}
}
96if = {
97limit = {
99region:andes_region = {
100any_ownable_location_in_region = {
101disease_presence = {
101value > 0
}
}
}
}
105set_variable = {
105value = yes
}
}
}
109tooltip = {
110if = {
111limit = {
112disease_presence = {
112value > 0
}
}
114custom_tooltip = "GREAT_PESTILENCE_PRESENT_IN_LOCATION"
}
}
118on_ended = {
119every_country = {
120limit = {
121has_variable = had_great_pestilence
}
123remove_country_modifier = no_contact_with_outsiders
124remove_country_modifier = procure_remedies
125remove_country_modifier = procure_remedies_cost
126remove_country_modifier = segregate_the_infected
127remove_country_modifier = blame_the_minorities
128remove_country_modifier = sponsor_spiritual_protection_bonus
129remove_country_modifier = sponsor_spiritual_protection_cost
131trigger_event_non_silently = great_pestilence.2
}
133every_market_in_world = {
134limit = {
135location.continent = continent:america
136has_temporary_demand = demand:procure_remedies
137has_temporary_demand = demand:procure_remedies_no_liquor
}
139remove_temporary_demand = demand:procure_remedies
140remove_temporary_demand = demand:procure_remedies_no_liquor
}
}
144is_data_map = yes
145map_color = {
146if = {
147limit = {
148disease_presence = {
148value > 0
}
}
150lerp = {
151min_color = rgb {
248
180
194
}
152max_color = rgb {
61
0
0
}
153factor = "disease_presence(disease:great_pestilence)"
}
}
156else = {
157value = define:NMapColors|DEFAULT_COLOR
}
}
161legend_key = {
162desc = "great_pestilence"
163color = rgb {
61
0
0
}
}
© 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