
SituationChanged this version
Great Pestilence
Terrible news reaches us from abroad. Misery and plague sweep the land, and death runs with them, apparently brought by mysterious bearded foreigners. This plague is not something our elders have ever heard of, and no answers in our ancestors' memories could help us face the catastrophe if it reaches our settlements. Will our people perish, or will we somehow resist when this walking death reaches us?
Great PestilenceDiseasecan end, can start, on monthly, visibleFind the culpritsStatic ModifiervisibleNo Contact with OutsidersStatic ModifiervisibleProcure remediesStatic ModifiervisiblePaying to procure remediesStatic ModifiervisibleSegregate the infectedStatic ModifiervisibleSponsor Spiritual ProtectionStatic ModifiervisiblePaying for Spiritual ProtectionStatic Modifiervisiblehad_great_pestilenceVariablecan end, on endedvar_andes_was_infectedVariablecan end, on monthlyvar_carib_was_infectedVariablecan end, on monthlyvar_mesoamerica_was_infectedVariablecan end, on monthlyDefinitionin_game/common/situations/great_pestilence.txt:1
6hint_tag = hint_great_pestilence
11can_end = {
13custom_tooltip = {
14text = great_pestilence_regions_infected_tt The Caribbean, Mesoamerica, and the Andes have all been reached by the Great Pestilence
}
25continent:america = {
26any_country_with_capital_in_geography = {
27count <= 30
28country_type = location
29custom_tooltip = {
30text = great_pestilence_americas_spread_tt Has not yet experienced the Great Pestilence
}
}
}
}
37visible = {
38OR = {
}
}
51on_start = {
}
58on_monthly = {
59every_country = {
64random_list = {
7050 = {
}
}
}
74if = {
75limit = {
77region:caribbean_region = {
78any_ownable_location_in_region = {
}
}
}
}
85if = {
86limit = {
88region:mesoamerica_region = {
89any_ownable_location_in_region = {
}
}
}
}
96if = {
97limit = {
99region:andes_region = {
100any_ownable_location_in_region = {
}
}
}
}
}
109tooltip = {
110if = {
114custom_tooltip = "GREAT_PESTILENCE_PRESENT_IN_LOCATION"
}
}
118on_ended = {
119every_country = {
}
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 = {
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
}
}