Scripted effect
claim_throne_failure_effect
claim_throne_failure_effect = yesgame/common/scripted_effects/00_scheme_scripted_effects.txt, line 14705 (21 lines). No parameters.
claim_throne_failure_effect is a scripted effect in Crusader Kings III, written at line 14705 of its file. It takes no parameters: claim_throne_failure_effect = yes. The game's script calls it in 3 places, among them Claim Throne (event claim_throne_outcome.4001), Claim Throne (event claim_throne_outcome.4002) and Claim Throne (event claim_throne_outcome.4003). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
- Gain -150 Prestige
scope:target:- Event claim_throne_outcome.5003
- Opinion: Attempted to Falsify Claim for 10 years
• 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 (21 lines of game script)
claim_throne_failure_effect = {
add_prestige = claim_throne_discovered_failure_prestige_loss
scope:target = {
# Fire notification event for target
trigger_event = claim_throne_outcome.5003
show_as_tooltip = {
add_opinion = {
target = scope:owner
modifier = claim_my_throne_failure_opinion
years = 10
}
if = {
limit = { exists = scope:set_rivalry }
set_relation_rival = {
target = scope:owner
reason = rival_claimed_throne_failed
}
}
}
}
}As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls claim_throne_failure_effect.
Events (3)
- Claim Throne
claim_throne_outcome.4001 - Claim Throne
claim_throne_outcome.4002 - Claim Throne
claim_throne_outcome.4003
Source: game/common/scripted_effects/00_scheme_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.