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

Scripted effect · Roads to Power files

ep3_actor_scheme_modifier_effect

ep3_actor_scheme_modifier_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 11254 (22 lines). No parameters.

ep3_actor_scheme_modifier_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 11254 of its file. It takes no parameters: ep3_actor_scheme_modifier_effect = yes. The game's script calls it in 13 places, among them Boundary Dispute (Scheme) (interaction), Challenge Status (Scheme) (interaction) and Damage Legitimacy (Scheme) (interaction). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

The comment above it in the file

Scheme bonuses from being the emperor, or member of a dominant/powerful family

What it does

  • scope:new_scheme:
    • If

      • scope:actor = scope:actor.top_liege

      Then

      • add_scheme_modifier = { type = admin_emperor_scheme_modifier }

      Else if

      • scope:actor.house:
        • is_dominant_family = yes

      Then

      • add_scheme_modifier = { type = admin_dominant_family_scheme_modifier }

      Else if

      • scope:actor.house:
        • is_powerful_family = yes

      Then

      • add_scheme_modifier = { type = admin_powerful_family_scheme_modifier }

• 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 (22 lines of game script)
ep3_actor_scheme_modifier_effect = {
	scope:new_scheme ?= {
		# Emperor enjoys a significant bonus to all admin related schemes
		if = {
			limit = { scope:actor = scope:actor.top_liege }
			add_scheme_modifier = { type = admin_emperor_scheme_modifier }
		}
		# Dominant and Powerful Families enjoys a decent bonus to all admin related schemes
		else_if = {
			limit = {
				scope:actor.house ?= { is_dominant_family = yes }
			}
			add_scheme_modifier = { type = admin_dominant_family_scheme_modifier }
		}
		else_if = {
			limit = {
				scope:actor.house ?= { is_powerful_family = yes }
			}
			add_scheme_modifier = { type = admin_powerful_family_scheme_modifier }
		}
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls ep3_actor_scheme_modifier_effect.

Source: game/common/scripted_effects/07_dlc_ep3_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?