Scripted effect · Silk and Silver files
hanseatic_sync_family_head_benefits_effect
hanseatic_sync_family_head_benefits_effect = { CHARACTER = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1795 (19 lines). Parameters: $CHARACTER$.
hanseatic_sync_family_head_benefits_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1795 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them on_title_destroyed (on action), on_title_gain (on action) and on_title_lost (on action). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_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)
hanseatic_sync_family_head_benefits_effect = {
$CHARACTER$ = {
if = {
limit = {
OR = {
is_hanseatic_league_member_trigger = yes
AND = {
any_held_title = { is_noble_family_title = yes }
any_liege_or_above = { is_hanseatic_league_member_trigger = yes }
}
}
}
hanseatic_give_member_modifier_effect = yes
}
else = {
hanseatic_take_member_modifier_effect = yes
}
}
}As written in game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls hanseatic_sync_family_head_benefits_effect.
On actions (the game's own hooks) (3)
- on_title_destroyed
- on_title_gain
- on_title_lost
Source: game/common/scripted_effects/gdp_burgher_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.