Scripted effect · Silk and Silver files
gdp_republic_restore_family_succession_law_effect
gdp_republic_restore_family_succession_law_effect = yesgame/common/scripted_effects/gdp_republic_effects.txt, line 784 (9 lines). No parameters.
gdp_republic_restore_family_succession_law_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 784 of its file. It takes no parameters: gdp_republic_restore_family_succession_law_effect = yes. The game's script calls it in 2 places, among them gdp_found_a_republic_effect (scripted effect) and gdp_merchant_becomes_patrician_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.
What it does
- Every held title:
- Where:
- The … is a Noble Family Title
NOT = { has_title_law = noble_family_succession_law }
add_title_law = noble_family_succession_law
- Where:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (9 lines of game script)
gdp_republic_restore_family_succession_law_effect = {
every_held_title = {
limit = {
is_noble_family_title = yes
NOT = { has_title_law = noble_family_succession_law }
}
add_title_law = noble_family_succession_law
}
}As written in game/common/scripted_effects/gdp_republic_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_republic_restore_family_succession_law_effect.
Scripted effects (2)
Source: game/common/scripted_effects/gdp_republic_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.