天花
疫病本版本变更

天花

smallpoxin_game/common/diseases/smallpox.txt:1

天花是一种可怕的疾病。感染者会发烧、呕吐,最后全身长出大量流满浓水的水泡。这种疾病的爆发是异常致命的,即便是幸存者通常也会终身受失明折磨。

需要货栈建筑r0市集村落建筑r0集市建筑r0奴隶市场建筑r0证券交易所建筑r0贸易枢纽建筑r0寒冷干旱气候spawn大陆性气候spawn地中海气候spawn海洋性气候spawn亚热带气候spawn热带气候spawn

定义in_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.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明