Scripted effect · Silk and Silver files
hanseatic_give_county_modifier_effect
hanseatic_give_county_modifier_effect = yesgame/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1751 (6 lines). No parameters.
hanseatic_give_county_modifier_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1751 of its file. It takes no parameters: hanseatic_give_county_modifier_effect = yes. The game's script calls it in 3 places, among them hanseatic_apply_member_benefits_effect (scripted effect), hanseatic_elevate_all_members_effect (scripted effect) and hanseatic_sync_county_benefits_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.
What it does
- If the county does not have the modifier “Hanseatic County”:
- The county gains the modifier “Hanseatic County”
- Prosperity Growth +10%
- Commerce Taxes +5%
- The county gains the modifier “Hanseatic County”
• 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 (6 lines of game script)
hanseatic_give_county_modifier_effect = {
if = {
limit = { NOT = { has_county_modifier = hanseatic_league_county_modifier } }
add_county_modifier = { modifier = hanseatic_league_county_modifier }
}
}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_give_county_modifier_effect.
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.