Influenza
DoençaAlterado nesta versão

Influenza

influenzain_game/common/diseases/influenza.txt:1

Conhecida pelo povo como gripe, essa é uma doença amplamente disseminada, com sintomas geralmente leves, como coriza ou febre em indivíduos saudáveis, mas que pode ser extremamente perigosa para os infantes, idosos ou aqueles já debilitados por lesões ou outras doenças.

RequerEntrepostoEdificaçãor0Vilarejo MercantilEdificaçãor0MercadoEdificaçãor0Mercado de EscravosEdificaçãor0Bolsa de ValoresEdificaçãor0Centro ComercialEdificaçãor0Árido FrioClimar0ContinentalClimar0Grande PesteSituaçãospawn

Definiçãoin_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 = {
23limit = {
25situation_is_active = no
26situation_has_ended = no
}
}
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
}
57if = {
58limit = {
60OR = {
61climate = continental
62climate = cold_arid
}
}
65multiply = 1.2
}
68if = {
69limit = {
70OR = {
71has_building_with_at_least_one_level = market_village
72has_building_with_at_least_one_level = marketplace
73has_building_with_at_least_one_level = slave_market
74has_building_with_at_least_one_level = entrepot
75has_building_with_at_least_one_level = trading_hub
76has_building_with_at_least_one_level = stock_exchange
}
}
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)"
}
140on_spread_to_country = {
141trigger_event_non_silently = diseases.1
}
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
}
}
}
© 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