Scripted effect · Legends of the Dead files
cant_touch_this_achievement_effect
cant_touch_this_achievement_effect = yesgame/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 898 (19 lines). No parameters.
cant_touch_this_achievement_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 898 of its file. It takes no parameters: cant_touch_this_achievement_effect = yes. The game's script calls it in 6 places, among them bubonic_plague (epidemic), consumption (epidemic) and dysentery (epidemic). Patch 1.20.1.2, 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 (19 lines of game script)
cant_touch_this_achievement_effect = {
if = {
limit = {
county.holder = {
OR = {
this = { is_ai = no }
any_liege_or_above = { is_ai = no }
}
}
epidemic_resistance >= 100
}
county.holder = {
add_achievement_global_variable_effect = {
VARIABLE = ce1_cant_touch_this_achievement_unlocked
VALUE = yes
}
}
}
}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 cant_touch_this_achievement_effect.
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.20.1.2.