Scripted effect · Silk and Silver files
display_join_lombard_league_effect
display_join_lombard_league_effect = { TITLE = … }game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 2524 (20 lines). Parameters: $TITLE$.
display_join_lombard_league_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 2524 of its file. A call passes 1 parameter: TITLE. The game's script calls it in 1 place, among them display_who_might_join_lombard_league_effect (scripted effect). Its body carries 2 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.
What it does
scope:potential_league_title.holder:If
- Is played by the AI
One of these
primary_title = scope:potential_league_titleor
primary_title.tier = scope:potential_league_title.tier
holder_would_join_lombard_league_via_decision_trigger = no
Then
- … will not join the Lombard League (Improving Opinion, becoming Friends with, or coercing … into becoming a Guelph will convince … to join)
- Else, if played by a person: … is a player and gets to decide whether to join the Lombard League
• 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 (20 lines of game script)
display_join_lombard_league_effect = {
$TITLE$ = { save_scope_as = potential_league_title }
scope:potential_league_title.holder ?= {
if = {
limit = {
is_ai = yes
OR = {
primary_title = scope:potential_league_title
primary_title.tier = scope:potential_league_title.tier
}
holder_would_join_lombard_league_via_decision_trigger = no
}
custom_tooltip = potential_league_title_holder_will_not_join.tt
}
else_if = {
limit = { is_ai = no }
custom_tooltip = potential_league_title_is_human.tt
}
}
}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_join_lombard_league_effect.
Scripted effects (1)
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.