
疫病本版本变更
腺鼠疫
这是一种席卷了繁华贸易线路的旷世奇瘟,不论贵贱皆受此灾厄。感染者的腹股沟和腋窝会长出骇人的黑色肿块,并伴有严重的高烧症状,直至导致死亡。有些人认为,正是那些在街道和田间逃窜的细小孽畜携带了这一疾病,将它从一个可怜人传染至另一个可怜人身上。
文艺复兴时代monthly spawn chance
地理大发现时代monthly spawn chance
宗教改革时代monthly spawn chance
货栈建筑r0
市集村落建筑r0
集市建筑r0
奴隶市场建筑r0
证券交易所建筑r0
贸易枢纽建筑r0
极地气候location spread threshold, location stagnation chance, r0
热带气候location stagnation chance, r0
乡村地点等级location spread threshold, location stagnation chance, r0修正
定义in_game/common/diseases/bubonic_plague.txt:1
2monthly_spawn_chance = {
4if = {
12value = 0.005
}
14else_if = {
23value = 0
}
25else = {
27if = {
28limit = {
29OR = {
30disease_is_active = scope:disease
31has_game_rule = black_death_date_off
}
}
34value = 0
}
36else_if = {
37limit = {
37has_game_rule = black_death_date_historical
}
38if = {
39limit = {
39current_date > 1346.10.1
}
40value = 1.0
}
42else_if = {
43limit = {
43current_date > 1346.1.1
}
44value = 0.2
}
46else = {
46value = 0
}
}
48else_if = {
49limit = {
49has_game_rule = black_death_date_random
}
65else = {
65value = 0
}
}
67else = {
67value = 0
}
}
}
71monthly_resistance_reduction = 0.0002
73spawn = {
75if = {
83random_ownable_location = {
84limit = {
86population > 1
89trigger_if = {
97OR = {
98continent = continent:asia
99continent = continent:europe
100continent = continent:africa
101continent = continent:oceania
}
}
105disease_resistance(scope:disease) < 0.5
}
109spawn_disease = {
110disease = scope:disease
111value = 1
113save_scope_as = outbreak
}
}
}
117else_if = {
}
127else = {
128random_ownable_location = {
129limit = {
130population > 1
131OR = {
132AND = {
133has_game_rule = black_death_origin_historical
134OR = {
135area = area:desht_kipchak_area
136area = area:astrakhan_area
137area = area:lower_yik_area
}
}
140AND = {
141has_game_rule = black_death_origin_random
142OR = {
143continent = continent:asia
144continent = continent:europe
145sub_continent = sub_continent:north_africa
}
}
}
149disease_resistance(scope:disease) < 0.5
}
151spawn_disease = {
152disease = scope:disease
153value = 1
156save_scope_as = outbreak
}
158if = {
}
}
}
}
}
178r0 = {
180if = {
181limit = {
182OR = {}
}
192value = {
1.1
1.3
}
}
200else = {
201value = {
1.5
1.9
}
}
204if = {
205limit = {
206OR = {
}
}
215multiply = 1.2
}
218if = {
219limit = {
220OR = {
221disease_has_stagnated = scope:disease
222disease_resistance(scope:disease) > 0.5
}
}
225subtract = {
0.2
0.7
}
227if = {
228limit = {
229disease_presence = {
230disease = scope:disease
231value <= 0.2
}
}
234subtract = 0.3
}
}
}
239calc_interval_days = 25
241location_stagnation_chance = {
256else = {
257value = 0.02
258if = {
259limit = {
260location_population_percentage < 0.1
}
262add = 0.1
}
}
266if = {
267limit = {
}
277add = 0.2
}
281if = {
282limit = {
283disease_resistance(scope:disease) > 0.5
}
285add = {
286value = "disease_resistance(scope:disease)"
287subtract = 0.5
288multiply = 0.25
}
}
291if = {
292limit = {
293disease_resistance(scope:disease) > 0.95
}
295add = 0.05
}
297if = {
298limit = {
299disease_resistance(scope:disease) > 0.98
}
301add = 0.1
}
305if = {
306limit = {
307distance_to_squared = {
308location = scope:disease.origin
309value < 150000
}
}
312value = 0
}
}
316percentage_to_meet_their_fate_on_calc = {
317value = 0.25
}
321location_modifier = {
}
338mortality_rate = {
0.3
0.6
}
340character_trait = bubonic_plague_trait
342character_mortality_chance = {
343value = 0.08
344if = {
352add = 0.08
}
354multiply = "disease_presence(scope:disease)"
}
361map_color = {
362lerp = {
363min_color = define:NMapColors|DISEASE_BUBONIC_PLAGUE_MIN
364max_color = define:NMapColors|DISEASE_BUBONIC_PLAGUE_MAX
365factor = "disease_presence(scope:disease)"
}
}
369secondary_map_color = {
370if = {
371limit = {
372disease_affects_pops_here = scope:disease
}
374value = rgb {
100
120
188
}
}
}
383location_spread_threshold = {
384value = 0.30
385if = {
386limit = {
387num_roads = 0
}
397multiply = 1.75
}
399else_if = {
400limit = {
401num_roads >= 0
}
403multiply = 0.50
}
}






