Sarampo
Doença

Sarampo

measlesin_game/common/diseases/measles.txt:1

O sarampo, também conhecido como morbili, rubéola e sarampo vermelho, é uma praga que se espalha rapidamente de pessoa para pessoa, causando febre, tosse, espirros e uma grande erupção plana que acaba por cobrir todo o corpo. Suas principais vítimas são as crianças, que correm grande risco de morte se caírem em suas garras.

RequerEntrepostoEdificaçãor0Vilarejo MercantilEdificaçãor0MercadoEdificaçãor0Mercado de EscravosEdificaçãor0Bolsa de ValoresEdificaçãor0Centro ComercialEdificaçãor0Assentamento RuralRanque de Localr0VilaRanque de Localr0Grande PesteSituaçãospawn

Definiçãoin_game/common/diseases/measles.txt:1

4monthly_spawn_chance = {
6value = 0.1
}
10spawn = {
11random_ownable_location = {
12limit = {
14population > 1
16trigger_if = {
17limit = {
19situation_is_active = no
20situation_has_ended = no
}
}
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 = {
50if = {
51limit = {
}
54value = {
10
15
}
}
56else_if = {
57limit = {
58location_rank ?= location_rank:town
}
60value = {
12
18
}
}
62else = {
63value = {
18
20
}
}
66if = {
67limit = {
68OR = {
69has_building_with_at_least_one_level = market_village
70has_building_with_at_least_one_level = marketplace
71has_building_with_at_least_one_level = slave_market
72has_building_with_at_least_one_level = entrepot
73has_building_with_at_least_one_level = trading_hub
74has_building_with_at_least_one_level = stock_exchange
}
}
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)"
}
138on_spread_to_country = {
139trigger_event_non_silently = diseases.1
}
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
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Todos os direitos reservados. Projeto de fã não oficial, sem afiliação com a Paradox Interactive. Conteúdo do jogo © Paradox Interactive. Sobre · Privacidade · Aviso legal