Scripted effect · Legends of the Dead files
apply_infection_trade_disruption
apply_infection_trade_disruption = yesgame/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 981 (24 lines). No parameters.
apply_infection_trade_disruption is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 981 of its file. It takes no parameters: apply_infection_trade_disruption = yes. The game's script calls it in 6 places, among them bubonic_plague (epidemic), consumption (epidemic) and dysentery (epidemic). Patch 1.21.0, from game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (24 lines of game script)
apply_infection_trade_disruption = {
barony.trade_market = {
if = {
limit = { scope:epidemic = { outbreak_intensity = apocalyptic } }
add_trade_market_modifier = {
modifier = gdp_epidemic_3_trade_modifier
years = 5
}
}
else_if = {
limit = { scope:epidemic = { outbreak_intensity = major } }
add_trade_market_modifier = {
modifier = gdp_epidemic_2_trade_modifier
years = 5
}
}
else = {
add_trade_market_modifier = {
modifier = gdp_epidemic_1_trade_modifier
years = 5
}
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls apply_infection_trade_disruption.
Epidemics (6)
- bubonic_plague
- consumption
- dysentery
- measles
- smallpox
- typhus
Source: game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.