
SituationChanged this version
Black Death
'Father abandoned child, wife husband, one brother another; for this illness seemed to strike through the breath and sight. And so they died... great pits were dug and piled deep with the multitude of dead... And as soon as those ditches were filled, more were dug... And so many died that all believed it was the end of the world.'
Bubonic PlagueDiseasecan startFind the culpritsStatic Modifieron monthly, visibleIsolate the countryStatic ModifiervisibleControl the food marketStatic Modifieron monthly, visibleFoodstuffs exports bannedStatic Modifieron monthlyCourt in IsolationStatic Modifieron monthly, visibleIsolating CitiesStatic Modifieron monthlyProcure remediesStatic ModifiervisiblePaying to procure remediesStatic ModifiervisibleSegregate the infectedStatic Modifieron monthly, visibleGolden Age of SienaStatic Modifieron startSponsor mass forgivenessStatic Modifieron monthly, visibleDefinitionin_game/common/situations/black_death.txt:1
4hint_tag = hint_black_death
14visible = {
15OR = {
16capital ?= {
17OR = {
18continent = continent:europe
19continent = continent:africa
20continent = continent:asia
}
}
23OR = {
24country_has_disease_outbreak = "scope:target.var:original_outbreak"
}
}
}
41on_start = {
42every_country = {
43limit = {
44capital = {
45OR = {
46continent = continent:europe
47continent = continent:africa
48continent = continent:asia
}
}
}
}
56if = {
}
}
68on_monthly = {
69every_country = {
70limit = {
71country_has_disease_outbreak = root.var:original_outbreak
}
74random_list = {
102500 = {
}
}
}
107every_country = {
108limit = {
109NOT = {
110country_has_disease_outbreak = root.var:original_outbreak
}
}
114every_owned_non_rural_location = {
}
119if = {
}
120if = {
}
121if = {
}
122if = {
}
123if = {
}
124if = {
}
125if = {
}
126if = {
}
}
}
130tooltip = {
131if = {
132limit = {
133disease_outbreak_presence = {
134disease_outbreak = "scope:target.var:original_outbreak"
135value > 0
}
}
138custom_tooltip = "BLACK_DEATH_PRESENT_IN_LOCATION"
}
}
143on_ended = {
145every_country = {
}
186every_country = {
187limit = {
}
}
195every_market_in_world = {
196limit = {
197OR = {
198has_temporary_demand = demand:procure_remedies
199has_temporary_demand = demand:procure_remedies_no_liquor
}
}
202if = {
203limit = {
203has_temporary_demand = demand:procure_remedies
}
204remove_temporary_demand = demand:procure_remedies
}
206if = {
207limit = {
207has_temporary_demand = demand:procure_remedies_no_liquor
}
208remove_temporary_demand = demand:procure_remedies_no_liquor
}
}
}
216is_data_map = yes
218map_color = {
219if = {
220limit = {
221disease_outbreak_presence = {
222disease_outbreak = "scope:target.var:original_outbreak"
223value > 0
}
}
226lerp = {
227min_color = define:NMapColors|MAP_COLOR_HIGH
228max_color = define:NMapColors|MAP_COLOR_LOW
229factor = "disease_outbreak_presence(scope:target.var:original_outbreak)"
}
}
232else = {
233value = define:NMapColors|DEFAULT_COLOR
}
}
237legend_key = {
238desc = "[disease|e]"
239color = define:NMapColors|MAP_COLOR_HIGH
}