Scripted effect · Silk and Silver files
hanseatic_sync_county_benefits_effect
hanseatic_sync_county_benefits_effect = { COUNTY = … }game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1815 (25 lines). Parameters: $COUNTY$.
hanseatic_sync_county_benefits_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1815 of its file. A call passes 1 parameter: COUNTY. 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 (25 lines of game script)
hanseatic_sync_county_benefits_effect = {
$COUNTY$ = {
if = {
limit = {
tier = tier_county
is_landless_type_title = no
is_noble_family_title = no
}
if = {
limit = {
holder ?= {
OR = {
is_hanseatic_league_member_trigger = yes
any_liege_or_above = { is_hanseatic_league_member_trigger = yes }
}
}
}
hanseatic_give_county_modifier_effect = yes
}
else = {
hanseatic_take_county_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_county_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.