CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

successful_claim_throne_event_option_effect

successful_claim_throne_event_option_effect = yes

game/common/scripted_effects/00_scheme_scripted_effects.txt, line 14727 (39 lines). No parameters.

successful_claim_throne_event_option_effect is a scripted effect in Crusader Kings III, written at line 14727 of its file. It takes no parameters: successful_claim_throne_event_option_effect = yes. The game's script calls it in 3 places, among them Claim Throne (event claim_throne_outcome.2001), Claim Throne (event claim_throne_outcome.2002) and Claim Throne (event claim_throne_outcome.2003). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.

What it does

  • If

    a check the game hides

    Then

  • scope:target:
    • If

      a check the game hides

      Then

    • If

      a check the game hides

      Then

      Otherwise

      • Opinion: Sudden Claimant for 10 years
  • scope:scheme:
    • end_scheme = yes
  • add_pressed_claim = scope:target_title

• 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 (39 lines of game script)
successful_claim_throne_event_option_effect = {
	if = {
		limit = {
			exists = scope:scheme_discovered
		}
		add_prestige = claim_throne_discovered_prestige_loss
	}
	show_as_tooltip = {
		scope:target = {
			if = {
				limit = { exists = scope:set_rivalry }
				set_relation_rival = {
					target = scope:owner
					reason = rival_claimed_throne
				}
			}
			if = {
				limit = { exists = scope:scheme_discovered }
				add_opinion = {
					target = scope:owner
					modifier = claim_my_throne_success_discovered_opinion
				}
			}
			else = {
				add_opinion = {
					target = scope:owner
					modifier = claim_my_throne_success_undiscovered_opinion
					years = 10
				}
			}
		}
	}

	scope:scheme = {
		end_scheme = yes
	}

	add_pressed_claim = scope:target_title
}

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 successful_claim_throne_event_option_effect.

Events (3)

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.

Spotted a mistake on this page?