Scripted effect
kick_from_court_interaction_warning_tooltip_effect
kick_from_court_interaction_warning_tooltip_effect = yesgame/common/scripted_effects/00_interaction_effects.txt, line 1412 (47 lines). No parameters.
kick_from_court_interaction_warning_tooltip_effect is a scripted effect in Crusader Kings III, written at line 1412 of its file. It takes no parameters: kick_from_court_interaction_warning_tooltip_effect = yes. The game's script calls it in 4 places, among them Ask to Join Military Order (interaction), Ask to Take Monastic Vows (interaction) and Ask to Take Vows (interaction). Its body carries 5 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.
What it does
If
is_councillor_of = scope:puppet_or_actor
Then
- … is my …
If
- Any claim:
useful_courtier_or_guest_claim_trigger = { RULER = scope:puppet_or_actor }
Then
- … has a Claim on the …
- Any claim:
If
scope:kicked:- Holds a court position
- Any court position employer:
Then
- … holds a Court Position in my Court
• 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 (47 lines of game script)
kick_from_court_interaction_warning_tooltip_effect = {
save_temporary_scope_as = kicked
if = {
limit = { is_councillor_of = scope:puppet_or_actor }
custom_tooltip = kick_from_court_councillor_warning_tt
}
if = {
limit = {
any_claim = {
useful_courtier_or_guest_claim_trigger = { RULER = scope:puppet_or_actor }
}
}
random_claim = {
limit = {
useful_courtier_or_guest_claim_trigger = { RULER = scope:puppet_or_actor }
tier = tier_kingdom
}
alternative_limit = {
useful_courtier_or_guest_claim_trigger = { RULER = scope:puppet_or_actor }
tier = tier_duchy
}
alternative_limit = {
useful_courtier_or_guest_claim_trigger = { RULER = scope:puppet_or_actor }
tier = tier_county
}
save_scope_as = kicked_claim
}
custom_tooltip = kick_from_court_claimant_warning_tt
}
if = {
limit = { is_commanding_army = yes }
custom_tooltip = kick_from_court_commander_warning_tt
}
if = {
limit = { is_knight_of = scope:puppet_or_actor }
custom_tooltip = kick_from_court_knight_warning_tt
}
if = {
limit = {
scope:kicked = {
has_any_court_position = yes
any_court_position_employer = { this = scope:puppet_or_actor }
}
}
custom_tooltip = kick_from_court_holds_court_title_warning_tt
}
}As written in game/common/scripted_effects/00_interaction_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls kick_from_court_interaction_warning_tooltip_effect.
Character interactions (3)
Scripted effects (1)
Source: game/common/scripted_effects/00_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.