Peste Negra
SituaciónCambiado en esta versión

Peste Negra

black_deathin_game/common/situations/black_death.txt:1

«El padre abandonaba al hijo, la mujer al marido y el hermano al hermano, pues esta enfermedad parecía atacar por el aliento y la vista. Y así morían... Se excavaban grandes pozos y se cubrían con los innumerables muertos... Y en cuanto las zanjas estaban llenas, se excavaban otras... Y así murieron tantos que todos pensaron que era el fin del mundo».

RequierePeste bubónicaEnfermedadcan startEncontrar a los culpablesModificador estáticoon monthly, visibleAislar el paísModificador estáticovisibleControlar el mercado de alimentosModificador estáticoon monthly, visibleProhibir las exportaciones de alimentosModificador estáticoon monthlyCorte aisladaModificador estáticoon monthly, visibleAislamiento de ciudadesModificador estáticoon monthlyProporcionar remediosModificador estáticovisiblePagar para proporcionar remediosModificador estáticovisibleSegregar a los infectadosModificador estáticoon monthly, visibleEdad de Oro de SienaModificador estáticoon startOtorgar perdón en masaModificador estáticoon monthly, visible

Definiciónin_game/common/situations/black_death.txt:1

3monthly_spawn_chance = monthly_spawn_chance_unique (1)
4hint_tag = hint_black_death
6can_start = {
7disease_is_active = disease:bubonic_plague
}
10can_end = {
11NOT = {
11disease_outbreak_is_active = var:original_outbreak
}
}
14visible = {
15OR = {
16capital ?= {
17OR = {
18continent = continent:europe
19continent = continent:africa
20continent = continent:asia
}
}
23OR = {
24country_has_disease_outbreak = "scope:target.var:original_outbreak"
26has_country_modifier = hiding_from_black_death
27has_country_modifier = control_the_food_market
28has_country_modifier = close_the_borders
29has_country_modifier = segregate_the_infected
30has_country_modifier = strict_quarantines
31has_country_modifier = procure_remedies
32has_country_modifier = procure_remedies_cost
33has_country_modifier = sponsor_sin_forgiveness_bonus
34has_country_modifier = sponsor_sin_forgiveness_cost
35has_country_modifier = blame_the_minorities
}
}
}
41on_start = {
42every_country = {
43limit = {
44capital = {
45OR = {
46continent = continent:europe
47continent = continent:africa
48continent = continent:asia
}
}
}
53trigger_event_non_silently = black_death.1
}
56if = {
57limit = {
58location:siena = {
59has_location_modifier = sie_golden_age_of_siena
}
}
62location:siena = {
63remove_location_modifier = sie_golden_age_of_siena
}
}
}
68on_monthly = {
69every_country = {
70limit = {
71country_has_disease_outbreak = root.var:original_outbreak
}
73set_variable = {
73value = yes
}
74random_list = {
7510 = {
75trigger_event_non_silently = black_death.101
}
7610 = {
76trigger_event_non_silently = black_death.102
}
7710 = {
77trigger_event_non_silently = black_death.103
}
7810 = {
78trigger_event_non_silently = black_death.1001
}
7910 = {
79trigger_event_non_silently = black_death.1002
}
8010 = {
80trigger_event_non_silently = black_death.1003
}
8110 = {
81trigger_event_non_silently = black_death.1004
}
8210 = {
82trigger_event_non_silently = black_death.1005
}
8310 = {
83trigger_event_non_silently = black_death.1006
}
8410 = {
84trigger_event_non_silently = black_death.1007
}
8510 = {
85trigger_event_non_silently = black_death.1008
}
8610 = {
86trigger_event_non_silently = black_death.1009
}
8710 = {
87trigger_event_non_silently = black_death.1010
}
8810 = {
88trigger_event_non_silently = black_death.1011
}
8910 = {
89trigger_event_non_silently = black_death.1012
}
9010 = {
90trigger_event_non_silently = black_death.1013
}
9110 = {
91trigger_event_non_silently = black_death.1014
}
9210 = {
92trigger_event_non_silently = black_death.1015
}
9310 = {
93trigger_event_non_silently = black_death.1016
}
9410 = {
94trigger_event_non_silently = black_death.1017
}
9510 = {
95trigger_event_non_silently = black_death.1018
}
9610 = {
96trigger_event_non_silently = black_death.1020
}
9710 = {
97trigger_event_non_silently = black_death.1021
}
9810 = {
98trigger_event_non_silently = black_death.1023
}
9910 = {
99trigger_event_non_silently = black_death.1024
}
10010 = {
100trigger_event_non_silently = black_death.1025
}
10110 = {
101trigger_event_non_silently = black_death.1026
}
102500 = {
}
}
}
107every_country = {
108limit = {
109NOT = {
110country_has_disease_outbreak = root.var:original_outbreak
}
112has_variable = had_black_death
}
114every_owned_non_rural_location = {
115limit = {
115has_location_modifier = isolating_cities
}
116remove_location_modifier = isolating_cities
}
119if = {
119limit = {
119has_country_modifier = hiding_from_black_death
}
119remove_country_modifier = hiding_from_black_death
}
120if = {
120limit = {
120has_country_modifier = control_the_food_market
}
120remove_country_modifier = control_the_food_market
}
121if = {
121limit = {
121has_country_modifier = foodstuffs_exports_banned
}
121remove_country_modifier = foodstuffs_exports_banned
}
122if = {
122limit = {
122has_country_modifier = segregate_the_infected
}
122remove_country_modifier = segregate_the_infected
}
123if = {
123limit = {
123has_country_modifier = strict_quarantines
}
123remove_country_modifier = strict_quarantines
}
124if = {
124limit = {
124has_country_modifier = sponsor_sin_forgiveness_bonus
}
124remove_country_modifier = sponsor_sin_forgiveness_bonus
}
125if = {
125limit = {
125has_country_modifier = sponsor_sin_forgiveness_cost
}
125remove_country_modifier = sponsor_sin_forgiveness_cost
}
126if = {
126limit = {
126has_country_modifier = blame_the_minorities
}
126remove_country_modifier = blame_the_minorities
}
}
}
130tooltip = {
131if = {
132limit = {
133disease_outbreak_presence = {
134disease_outbreak = "scope:target.var:original_outbreak"
135value > 0
}
}
138custom_tooltip = "BLACK_DEATH_PRESENT_IN_LOCATION"
}
}
143on_ended = {
145every_country = {
146remove_country_modifier = hiding_from_black_death
147remove_country_modifier = control_the_food_market
148remove_country_modifier = foodstuffs_exports_banned
149remove_country_modifier = close_the_borders
150remove_country_modifier = segregate_the_infected
151remove_country_modifier = strict_quarantines
152remove_country_modifier = procure_remedies
153remove_country_modifier = procure_remedies_cost
154remove_country_modifier = sponsor_sin_forgiveness_bonus
155remove_country_modifier = sponsor_sin_forgiveness_cost
156remove_country_modifier = blame_the_minorities
158if = {
158limit = {
158has_variable = bd101_cd
}
158remove_variable = bd101_cd
}
159if = {
159limit = {
159has_variable = bd102_cd
}
159remove_variable = bd102_cd
}
160if = {
160limit = {
160has_variable = bd103_cd
}
160remove_variable = bd103_cd
}
161if = {
161limit = {
161has_variable = bd1001_cd
}
161remove_variable = bd1001_cd
}
162if = {
162limit = {
162has_variable = bd1002_cd
}
162remove_variable = bd1002_cd
}
163if = {
163limit = {
163has_variable = bd1003_cd
}
163remove_variable = bd1003_cd
}
164if = {
164limit = {
164has_variable = bd1004_cd
}
164remove_variable = bd1004_cd
}
165if = {
165limit = {
165has_variable = bd1005_cd
}
165remove_variable = bd1005_cd
}
166if = {
166limit = {
166has_variable = bd1006_cd
}
166remove_variable = bd1006_cd
}
167if = {
167limit = {
167has_variable = bd1007_cd
}
167remove_variable = bd1007_cd
}
168if = {
168limit = {
168has_variable = bd1008_cd
}
168remove_variable = bd1008_cd
}
169if = {
169limit = {
169has_variable = bd1009_cd
}
169remove_variable = bd1009_cd
}
170if = {
170limit = {
170has_variable = bd1010_cd
}
170remove_variable = bd1010_cd
}
171if = {
171limit = {
171has_variable = bd1011_cd
}
171remove_variable = bd1011_cd
}
172if = {
172limit = {
172has_variable = bd1012_cd
}
172remove_variable = bd1012_cd
}
173if = {
173limit = {
173has_variable = bd1013_cd
}
173remove_variable = bd1013_cd
}
174if = {
174limit = {
174has_variable = bd1014_cd
}
174remove_variable = bd1014_cd
}
175if = {
175limit = {
175has_variable = bd1015_cd
}
175remove_variable = bd1015_cd
}
176if = {
176limit = {
176has_variable = bd1016_cd
}
176remove_variable = bd1016_cd
}
177if = {
177limit = {
177has_variable = bd1017_cd
}
177remove_variable = bd1017_cd
}
178if = {
178limit = {
178has_variable = bd1018_cd
}
178remove_variable = bd1018_cd
}
179if = {
179limit = {
179has_variable = bd1020_cd
}
179remove_variable = bd1020_cd
}
180if = {
180limit = {
180has_variable = bd1021_cd
}
180remove_variable = bd1021_cd
}
181if = {
181limit = {
181has_variable = bd1023_cd
}
181remove_variable = bd1023_cd
}
182if = {
182limit = {
182has_variable = bd1024_cd
}
182remove_variable = bd1024_cd
}
183if = {
183limit = {
183has_variable = bd1025_cd
}
183remove_variable = bd1025_cd
}
184if = {
184limit = {
184has_variable = bd1026_cd
}
184remove_variable = bd1026_cd
}
}
186every_country = {
187limit = {
188OR = {
189has_variable = had_black_death
190can_see_situation = situation:black_death
}
}
193trigger_event_non_silently = black_death.100
}
195every_market_in_world = {
196limit = {
197OR = {
198has_temporary_demand = demand:procure_remedies
199has_temporary_demand = demand:procure_remedies_no_liquor
}
}
202if = {
203limit = {
203has_temporary_demand = demand:procure_remedies
}
204remove_temporary_demand = demand:procure_remedies
}
206if = {
207limit = {
207has_temporary_demand = demand:procure_remedies_no_liquor
}
208remove_temporary_demand = demand:procure_remedies_no_liquor
}
}
211every_location_in_the_world = {
212remove_location_modifier = isolating_cities
}
}
216is_data_map = yes
218map_color = {
219if = {
220limit = {
221disease_outbreak_presence = {
222disease_outbreak = "scope:target.var:original_outbreak"
223value > 0
}
}
226lerp = {
227min_color = define:NMapColors|MAP_COLOR_HIGH
228max_color = define:NMapColors|MAP_COLOR_LOW
229factor = "disease_outbreak_presence(scope:target.var:original_outbreak)"
}
}
232else = {
233value = define:NMapColors|DEFAULT_COLOR
}
}
237legend_key = {
238desc = "[disease|e]"
239color = define:NMapColors|MAP_COLOR_HIGH
}
© 2026 Soft Santa Cruz, S.L.U.. Todos los derechos reservados. Proyecto no oficial de fans, sin afiliación con Paradox Interactive. Contenido del juego © Paradox Interactive. Acerca de · Privacidad · Aviso legal