
DiseaseChanged this version
Smallpox
Smallpox is a terrible disease that inflicts fever, vomiting and finally an enormous amount of liquid-filled blisters that cover the entire body of the unfortunate victim. The outbreaks of this plague are very deadly and those that survive are commonly blinded for life.
EntrepôtBuildingr0
Market VillageBuildingr0
MarketplaceBuildingr0
Slave MarketBuildingr0
Stock ExchangeBuildingr0
Trading HubBuildingr0
Cold AridClimatespawn
ContinentalClimatespawn
MediterraneanClimatespawn
OceanicClimatespawn
SubtropicalClimatespawn
TropicalClimatespawnDefinitionin_game/common/diseases/smallpox.txt:1
4monthly_spawn_chance = {
6value = 0.08
}
11spawn = {
12random_ownable_location = {
13limit = {
15population > 1
17OR = {
}
26trigger_if = {
34OR = {
35continent = continent:asia
36continent = continent:europe
37continent = continent:africa
38continent = continent:oceania
}
}
}
45spawn_disease = {
46disease = scope:disease
47value = 0.5
49save_scope_as = outbreak
}
}
}
58r0 = {
72else = {
73value = {
10
15
}
}
76if = {
77limit = {
78OR = {
}
}
87multiply = 1.2
}
89multiply = {
90value = "disease_presence(scope:disease)"
91multiply = 2
92add = 1
}
}
100calc_interval_days = {
4
12
}
104location_stagnation_chance = {
105if = {
106limit = {
107disease_presence(scope:disease) > 0.05
}
109value = "distance_to_squared(scope:disease.origin)"
110multiply = 0.0006
111multiply = 0.0035
}
113else = {
114value = "distance_to_squared(scope:disease.origin)"
115multiply = 0.00004
}
}
121percentage_to_meet_their_fate_on_calc = {
122value = 0.25
}
127location_spread_threshold = {
128value = 0.15
}
133location_modifier = {
}
138monthly_resistance_reduction = 0.0007
142mortality_rate = {
0.05
0.3
}
146character_trait = smallpox_trait
149character_mortality_chance = {
150value = 0.04
151multiply = "disease_presence(scope:disease)"
}
160map_color = {
161lerp = {
162min_color = rgb {
133
195
136
}
163max_color = rgb {
2
120
9
}
164factor = "disease_presence(scope:disease)"
}
}
168secondary_map_color = {
169if = {
170limit = {
171disease_affects_pops_here = scope:disease
}
173value = rgb {
100
120
188
}
}
}