Scripted effect · All Under Heaven files
remove_other_grand_guardian_modifiers_effect
remove_other_grand_guardian_modifiers_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 67 (21 lines). No parameters.
remove_other_grand_guardian_modifiers_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 67 of its file. It takes no parameters: remove_other_grand_guardian_modifiers_effect = yes. The game's script calls it in 1 place, among them Guard the Capital (court task). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (21 lines of game script)
remove_other_grand_guardian_modifiers_effect = {
hidden_effect = { # No need to show this
# Let's check for the county opinion modifier first
scope:liege ?= {
# We check and scope to all counties to make sure we remove any stray modifiers in case the capital is moved, etc.
every_realm_county = {
limit = {
any_county_province = {
has_province_modifier = grand_guardian_guard_the_capital_modifier
}
}
every_county_province = {
limit = {
has_province_modifier = grand_guardian_guard_the_capital_modifier
}
remove_province_modifier = grand_guardian_guard_the_capital_modifier
}
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls remove_other_grand_guardian_modifiers_effect.
Court position tasks (1)
- Guard the Capital
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.