CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

Scripted effect · Silk and Silver files

hanseatic_elevate_all_members_effect

hanseatic_elevate_all_members_effect = { LEAGUE = … }

game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1841 (30 lines). Parameters: $LEAGUE$.

hanseatic_elevate_all_members_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1841 of its file. A call passes 1 parameter: LEAGUE. The game's script calls it in 1 place, among them Found the Hanseatic League (decision). 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 (30 lines of game script)
hanseatic_elevate_all_members_effect = {
	$LEAGUE$ = {
		every_confederation_member = {
			save_scope_as = elevated_member
			scope:elevated_member = {
				add_to_list = hanseatic_league_families

				every_noble_family = {
					holder ?= { add_to_list = hanseatic_league_families }
				}

				every_realm_county = {
					add_to_list = hanseatic_league_counties
				}
			}
		}

		every_in_list = {
			list = hanseatic_league_counties
			custom = every_hanseatic_county
			hanseatic_give_county_modifier_effect = yes
		}

		every_in_list = {
			list = hanseatic_league_families
			custom = every_hanseatic_family
			hanseatic_give_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_elevate_all_members_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.

Spotted a mistake on this page, or have an idea for the site?