
DiseaseChanged this version
Influenza
Know by the common folk as the Flu, it is a widely spread sickness with usually mild symptoms like a runny nose or a fever in healthy individuals, but that might be extremely dangerous for those that are too young or too old or already weakened by injury or another malady.
EntrepôtBuildingr0
Market VillageBuildingr0
MarketplaceBuildingr0
Slave MarketBuildingr0
Stock ExchangeBuildingr0
Trading HubBuildingr0
Cold AridClimater0
ContinentalClimater0
Great PestilenceSituationspawnDefinitionin_game/common/diseases/influenza.txt:1
4monthly_spawn_chance = {
5value = 0.25
}
9spawn = {
10random_ownable_location = {
11limit = {
13population > 1
15OR = {
16winter_level = normal
17winter_level = severe
}
22trigger_if = {
30OR = {
31continent = continent:asia
32continent = continent:europe
33continent = continent:africa
34continent = continent:oceania
}
}
}
40spawn_disease = {
41disease = scope:disease
42value = 0.5
45save_scope_as = outbreak_scope
}
}
}
54r0 = {
56value = {
1
2
}
68if = {
69limit = {
70OR = {
}
}
79multiply = 1.2
}
81multiply = {
82value = "disease_presence(scope:disease)"
83multiply = 2
84add = 1
}
}
93calc_interval_days = {
4
12
}
97location_stagnation_chance = {
98if = {
99limit = {
100disease_presence(scope:disease) > 0.05
}
102value = "distance_to_squared(scope:disease.origin)"
103multiply = 0.0006
104multiply = 0.005
}
106else = {
107value = "distance_to_squared(scope:disease.origin)"
108multiply = 0.00006
}
}
114percentage_to_meet_their_fate_on_calc = {
115value = 0.25
}
120location_modifier = {
}
125monthly_resistance_reduction = 0.002
129mortality_rate = {
130value = 0.001
}
134character_mortality_chance = {
135value = 0.05
136multiply = "disease_presence(scope:disease)"
}
145map_color = {
146lerp = {
147min_color = rgb {
150
177
188
}
148max_color = rgb {
2
113
141
}
149factor = "disease_presence(scope:disease)"
}
}
153secondary_map_color = {
154if = {
155limit = {
156disease_affects_pops_here = scope:disease
}
158value = rgb {
100
120
188
}
}
}