
疫病このバージョンで変更
腺ペスト
盛んな交易路に蔓延する大疫病で、貧しき者も富める者も容赦なく襲う。感染者は鼠径部や脇の下に黒い腫れが生じ、ひどい高熱を起こして死に至る。この忌まわしい病は、街路や野原を徘徊する害獣によって、犠牲者から別の者へと広まると考える者もいる。
ルネサンス時代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補正
不可避の消耗+5
最大消耗+10
POP昇格速度 % (ローカル)−200%
POP降格速度+50%
繁栄度の減衰+10%
毎月の支配度−0.2%
毎月の開発度(ローカル)−0.01
移住地の魅力−5
POP移住速度+0.01
定義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
}
}