
疫病
麻疹
麻疹,或所谓的斑丘疹、风疹、红麻疹,是一种能迅速在人际间传播的瘟疫。它将引起发烧、咳嗽、打喷嚏,最终产生覆盖全身的巨大扁平皮疹。它将贪婪的魔爪对准了儿童,一旦落入虎口,儿童将面临巨大的死亡风险。
货栈建筑r0
市集村落建筑r0
集市建筑r0
奴隶市场建筑r0
证券交易所建筑r0
贸易枢纽建筑r0
乡村地点等级r0
集镇地点等级r0
大瘟疫局势spawn定义in_game/common/diseases/measles.txt:1
4monthly_spawn_chance = {
6value = 0.1
}
10spawn = {
11random_ownable_location = {
12limit = {
14population > 1
16trigger_if = {
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 = {
62else = {
63value = {
18
20
}
}
66if = {
67limit = {
68OR = {
}
}
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)"
}
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
}
}
}