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

display_who_might_join_lombard_league_effect

display_who_might_join_lombard_league_effect = yes

game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 2546 (108 lines). No parameters.

display_who_might_join_lombard_league_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 2546 of its file. It takes no parameters: display_who_might_join_lombard_league_effect = yes. The game's script calls it in 1 place, among them Form the Lombard League (decision). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

The comment above it in the file

We print this for the event so the player knows who will join the league

What it does

• 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 (108 lines of game script)
display_who_might_join_lombard_league_effect = {
	custom_tooltip = all_counties_in_lombard_league_will_join.tt
	
	show_as_tooltip = {
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:verona }
			}
			display_join_lombard_league_effect = { TITLE = title:c_verona }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:padua }
			}
			display_join_lombard_league_effect = { TITLE = title:c_padua }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:treviso }
			}
			display_join_lombard_league_effect = { TITLE = title:c_treviso }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:bologna }
			}
			display_join_lombard_league_effect = { TITLE = title:c_bologna }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:ferrara }
			}
			display_join_lombard_league_effect = { TITLE = title:c_ferrara }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:modena }
			}
			display_join_lombard_league_effect = { TITLE = title:c_modena }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:mantua }
			}
			display_join_lombard_league_effect = { TITLE = title:c_mantua }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:cremona }
			}
			display_join_lombard_league_effect = { TITLE = title:c_cremona }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:brescia }
			}
			display_join_lombard_league_effect = { TITLE = title:c_brescia }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:novara }
			}
			display_join_lombard_league_effect = { TITLE = title:c_novara }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:tortona }
			}
			display_join_lombard_league_effect = { TITLE = title:c_tortona }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:piacenza }
			}
			display_join_lombard_league_effect = { TITLE = title:c_piacenza }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:parma }
			}
			display_join_lombard_league_effect = { TITLE = title:c_parma }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:genoa }
			}
			display_join_lombard_league_effect = { TITLE = title:c_genoa }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:guastalla }
			}
			display_join_lombard_league_effect = { TITLE = title:c_guastalla }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:polesine }
			}
			display_join_lombard_league_effect = { TITLE = title:c_polesine }
		}
		if = {
			limit = {
				NOT = { scope:league_creator_title = flag:lombardia }
			}
			display_join_lombard_league_effect = { TITLE = title:c_lombardia }
		}
	}
}

As written in game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls display_who_might_join_lombard_league_effect.

Source: game/common/scripted_effects/00_gdp_guelph_ghibelline_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?