Scripted trigger · Silk and Silver files
is_ghibelline_trigger
is_ghibelline_trigger = yesgame/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt, line 51 (8 lines). No parameters.
is_ghibelline_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 51 of its file. It takes no parameters: is_ghibelline_trigger = yes (or no). The game's script calls it in 70 places, among them Determine Alignment (decision), Form the Lombard League (decision) and Join the Guelphs (decision). Patch 1.21.0, from game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt.
What it checks
top_participant_group:guelph_ghibelline:One of these
participant_group_type = ghibelline_leaderor
participant_group_type = ghibelline_member
• 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 (8 lines of game script)
is_ghibelline_trigger = {
top_participant_group:guelph_ghibelline ?= {
OR = {
participant_group_type = ghibelline_leader
participant_group_type = ghibelline_member
}
}
}As written in game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_ghibelline_trigger.
Character interactions (14)
Activities (1)
Schemes (4)
- Align Undecided
- Claim Leadership
- Coax Defection
- Replace Ruler
Casus belli (2)
Situations (1)
Story cycles (1)
- story_guelph_ghibelline
Events (4)
- …: Success
scheme_critical_moments.1292 - Aligning the Houses
yearly_republic.1014 - Guelphs & Ghibellines: … Victory
gdp_guelph_ghibelline.9010 - The Guelphs & Ghibellines
gdp_guelph_ghibelline.0500
On actions (the game's own hooks) (1)
- on_county_occupied
Scripted effects (12)
Scripted triggers (7)
Script values (8)
- common_cb_piety_cost_multiplier
- common_cb_prestige_cost_multiplier
- displace_gg_ai_score_value
- odds_gg_is_theocratic_negative_value
- situation_ghibelline_dukes_num
- situation_ghibelline_emperors_num
2 more
- situation_ghibelline_kings_num
- situation_ghibelline_num
Scripted modifiers (AI weights) (4)
- elector_voting_pattern_theocratic_elective_modifier
- target_is_pope_and_you_are_ghibelline_modifier
- target_is_theocracy_modifier
- theocratic_related_puppet_acceptance_factors_modifier
Customizable localization (5)
- GetGuelphGhibelline
- GetGuelphGhibellineLeaderGroup
- GetGuelphGhibellineMemberGroup
- GetGuelphsGhibellines
- GuelphGhibellineGetOpposite
Confederation types (1)
- Lombard League
Succession appointment (1)
- clerical_christian
Source: game/common/scripted_triggers/00_gdp_guelph_ghibelline_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.