Viruela
EnfermedadCambiado en esta versión

Viruela

smallpoxin_game/common/diseases/smallpox.txt:1

La viruela es una terrible enfermedad que produce fiebre, vómitos y, finalmente, una enorme cantidad de ampollas llenas de líquido que cubren el cuerpo de la triste víctima. Los brotes de esta plaga son muy mortíferos y quienes sobreviven suelen quedar ciegos de por vida.

RequiereCentro de almacenaje y distribuciónEdificior0Aldea comercialEdificior0MercadoEdificior0Mercado de esclavosEdificior0BolsaEdificior0Núcleo de comercioEdificior0Zona de frío áridoClimaspawnZona continentalClimaspawnZona mediterráneaClimaspawnZona oceánicaClimaspawnZona subtropicalClimaspawnZona tropicalClimaspawn

Definiciónin_game/common/diseases/smallpox.txt:1

4monthly_spawn_chance = {
6value = 0.08
}
11spawn = {
12random_ownable_location = {
13limit = {
15population > 1
17OR = {
18climate = mediterranean
19climate = continental
20climate = oceanic
21climate = cold_arid
22climate = tropical
23climate = subtropical
}
26trigger_if = {
27limit = {
29situation_is_active = no
30situation_has_ended = no
}
}
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 = {
60if = {
61limit = {
}
64value = {
3
6
}
}
66else_if = {
67limit = {
68location_rank ?= location_rank:town
}
70value = {
5
10
}
}
72else = {
73value = {
10
15
}
}
76if = {
77limit = {
78OR = {
79has_building_with_at_least_one_level = market_village
80has_building_with_at_least_one_level = marketplace
81has_building_with_at_least_one_level = slave_market
82has_building_with_at_least_one_level = entrepot
83has_building_with_at_least_one_level = trading_hub
84has_building_with_at_least_one_level = stock_exchange
}
}
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)"
}
155on_spread_to_country = {
156trigger_event_non_silently = diseases.1
}
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
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Todos los derechos reservados. Proyecto no oficial de fans, sin afiliación con Paradox Interactive. Contenido del juego © Paradox Interactive. Acerca de · Privacidad · Aviso legal