대역병
질병이번 버전 변경

대역병

great_pestilencein_game/common/diseases/great_pestilence.txt:1

해외에서 끔찍한 소식이 들려왔습니다. 고통과 전염병이 대지를 휩쓸고 죽음이 만연하는데, 아무래도 수염을 기른 수수께끼의 외국인들이 가져온 것으로 보입니다. 이 전염병은 노인들도 들어본 적이 없고, 우리 정착지까지 퍼져 재앙을 일으킨다면 선조들의 지혜조차 도움이 되지 못할 것 같습니다. 이 걸어 다니는 죽음이 닥쳤을 때, 우리 국민은 멸망하게 될까요 아니면 어떻게든 저항할까요?

요구 조건무역 창고건물r0상업촌건물r0장터건물r0노예 시장건물r0증권 거래소건물r0교역 중추건물r0촌락 정착지지점 등급location stagnation chance, r0소도시지점 등급location stagnation chance, r0대역병상황monthly spawn chance, spawn외지인과 접촉 금지정적 보정치location stagnation chance산지지세location spread threshold, location stagnation chance, r0사막식생location spread threshold, location stagnation chance, r0

보정치

정의in_game/common/diseases/great_pestilence.txt:1

2monthly_spawn_chance = {
3if = {
4limit = {
6continent:america = {
7any_location_in_continent = {
8population > 0
}
}
}
14if = {
16limit = {
18situation_is_active = no
19situation_has_ended = yes
}
}
23value = 0
}
25else = {
28value = 0.1
}
}
31else = {
32value = 0
}
}
36spawn = {
38if = {
40limit = {
42situation_is_active = no
43situation_has_ended = yes
}
}
}
49else_if = {
51limit = {
53situation_is_active = yes
54situation_has_ended = no
}
}
58continent:america = {
59random_location_in_continent = {
60limit = {
61population > 0
63disease_resistance(scope:disease) < 0.5
64any_pop = {
65culture = {
}
}
}
69spawn_disease = {
70disease = scope:disease
71value = 1
73save_scope_as = outbreak
}
}
}
}
79else = {
80continent:america = {
81random_location_in_continent = {
82limit = {
83population > 0
85disease_resistance(scope:disease) < 0.5
86any_pop = {
87culture = {
}
}
}
91spawn_disease = {
92disease = scope:disease
93value = 1
95save_scope_as = outbreak
}
98if = {
99limit = {
101situation_is_active = no
102situation_has_ended = no
}
}
105activate_situation = situation:great_pestilence
108set_variable = {
110value = scope:outbreak
}
}
}
}
}
}
}
121r0 = {
123if = {
124limit = {
125location_rank ?= location_rank:rural_settlement
}
127value = {
0
3
}
}
129else_if = {
130limit = {
131location_rank ?= location_rank:town
}
133value = {
2
5
}
}
135else = {
136value = {
5
10
}
}
139if = {
140limit = {
141OR = {
142has_building_with_at_least_one_level = market_village
143has_building_with_at_least_one_level = marketplace
144has_building_with_at_least_one_level = slave_market
145has_building_with_at_least_one_level = entrepot
146has_building_with_at_least_one_level = trading_hub
147has_building_with_at_least_one_level = stock_exchange
}
}
150multiply = 1.2
}
154if = {
155limit = {
156OR = {
157disease_has_stagnated = scope:disease
158disease_resistance(scope:disease) > 0.5
}
}
161subtract = {
0.2
0.7
}
163if = {
164limit = {
165disease_presence = {
166disease = scope:disease
167value <= 0.2
}
}
170subtract = 0.3
}
}
174if = {
175limit = {
176num_roads = 0
177OR = {
178topography = mountains
179vegetation = desert
180vegetation = jungle
}
}
183multiply = 0.25
}
185if = {
186limit = {
187NOT = {
187continent = continent:america
}
}
189multiply = 0.0
}
}
198location_spread_threshold = {
199if = {
200limit = {
201num_roads = 0
202OR = {
203topography = mountains
204vegetation = desert
205vegetation = jungle
}
}
208value = 0.85
}
210else = {
211value = 0.60
}
}
218calc_interval_days = {
4
16
}
220location_stagnation_chance = {
222if = {
223limit = {
223location_rank ?= location_rank:rural_settlement
}
224value = 0.1
}
226else_if = {
227limit = {
228location_rank ?= location_rank:town
}
230value = 0.08
}
232else = {
233value = 0.01
}
236if = {
237limit = {
238num_roads = 0
239OR = {
240topography = mountains
241vegetation = desert
242vegetation = jungle
}
}
245multiply = 3
}
248if = {
249limit = {
250disease_resistance(scope:disease) > 0.5
}
252add = {
253value = "disease_resistance(scope:disease)"
254subtract = 0.4
}
}
258if = {
259limit = {
260disease_resistance(scope:disease) > 0.95
}
262add = 0.1
}
264if = {
265limit = {
266disease_resistance(scope:disease) > 0.98
}
268add = 0.2
}
270if = {
271limit = {
272is_ownable = yes
273has_owner = yes
274owner ?= {
275has_country_modifier = no_contact_with_outsiders
}
}
278add = 0.5
}
280if = {
281limit = {
282NOT = {
282continent = continent:america
}
}
284value = 1.0
}
}
288percentage_to_meet_their_fate_on_calc = {
289value = 0.10
}
308mortality_rate = {
0.75
0.9
}
311character_mortality_chance = {
312value = 0.04
313multiply = "disease_presence(scope:disease)"
}
318on_spread_to_country = {
319trigger_event_non_silently = great_pestilence.1
}
322map_color = {
323lerp = {
324min_color = rgb {
248
180
194
}
325max_color = rgb {
61
0
0
}
326factor = "disease_presence(scope:disease)"
}
}
330secondary_map_color = {
331if = {
332limit = {
333disease_affects_pops_here = scope:disease
}
335value = rgb {
100
120
188
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. 모든 권리 보유. 비공식 팬 프로젝트이며 Paradox Interactive와 관련이 없습니다. 게임 콘텐츠 © Paradox Interactive. 소개 · 개인정보 보호 · 법적 고지