
질병이번 버전 변경
가래톳 흑사병
부산한 교역로를 휩쓰는 악성 전염병으로, 신분의 높낮이를 막론하고 사람의 목숨을 앗아갑니다. 감염된 이들은 사타구니와 겨드랑이 부위가 시커멓게 부어오르며, 극심한 고열에 시달리다 죽게 됩니다. 일각에서는 불우한 영혼들에게 끊임없이 옮겨 가는 이 지독한 질병이 사실은 길거리와 들판을 쏘다니는 해로운 짐승들에 의해 전파되었다고 생각하기도 합니다.
르네상스시대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
}
}






