
Disease
Measles
Measles, also known as morbili, rubeola, and red measles, is a plague that spreads extremely fast from person to person, causing fever, coughs, sneezes, and a great flat rash that eventually covers the entire body. It preys most eagerly on children, who are at great risk of death if they fall on its claws.
EntrepôtBuildingr0
Market VillageBuildingr0
MarketplaceBuildingr0
Slave MarketBuildingr0
Stock ExchangeBuildingr0
Trading HubBuildingr0
Rural SettlementLocation Rankr0
TownLocation Rankr0
Great PestilenceSituationspawnDefinitionin_game/common/diseases/measles.txt:1
4monthly_spawn_chance = {
6value = 0.1
}
10spawn = {
11random_ownable_location = {
12limit = {
14population > 1
16trigger_if = {
24OR = {
25continent = continent:asia
26continent = continent:europe
27continent = continent:africa
28continent = continent:oceania
}
}
}
35spawn_disease = {
36disease = scope:disease
37value = 0.5
40save_scope_as = outbreak_scope
}
}
}
48r0 = {
62else = {
63value = {
18
20
}
}
66if = {
67limit = {
68OR = {
}
}
77multiply = 1.2
}
79multiply = {
80value = "disease_presence(scope:disease)"
81multiply = 2
82add = 1
}
}
90calc_interval_days = {
20
24
}
95location_stagnation_chance = {
96if = {
97limit = {
98disease_presence(scope:disease) > 0.05
}
100value = "distance_to_squared(scope:disease.origin)"
101multiply = 0.0006
102multiply = 0.005
}
104else = {
105value = "distance_to_squared(scope:disease.origin)"
106multiply = 0.00006
}
}
112percentage_to_meet_their_fate_on_calc = {
113value = 0.25
}
118location_modifier = {
}
123monthly_resistance_reduction = 0.002
127mortality_rate = {
0.001
0.002
}
132character_mortality_chance = {
133value = 0.05
134multiply = "disease_presence(scope:disease)"
}
143map_color = {
144lerp = {
145min_color = rgb {
244
187
119
}
146max_color = rgb {
252
136
0
}
147factor = "disease_presence(scope:disease)"
}
}
151secondary_map_color = {
152if = {
153limit = {
154disease_affects_pops_here = scope:disease
}
156value = rgb {
100
120
188
}
}
}