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

Scripted effect

kick_from_court_interaction_effect

kick_from_court_interaction_effect = yes

game/common/scripted_effects/00_interaction_effects.txt, line 1460 (46 lines). No parameters.

kick_from_court_interaction_effect is a scripted effect in Crusader Kings III, written at line 1460 of its file. It takes no parameters: kick_from_court_interaction_effect = yes. The game's script calls it in 1 place, among them Dismiss (interaction). Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.

What it does

• 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 (46 lines of game script)
kick_from_court_interaction_effect = {
	select_and_move_to_pool_effect = yes

	add_opinion = {
		modifier = kicked_me_from_court
		target = scope:actor
	}
	kick_from_court_interaction_warning_tooltip_effect = yes

	every_close_family_member = {
		limit = { NOT = { any_in_list = { list = kicked_relatives_list this = prev } } }
		add_to_list = kicked_relatives_list
	}

	scope:actor = {
		if = {
			limit = { has_government = landless_adventurer_government }
			every_courtier = {
				limit = {
					is_adult = yes
					NOR = {
						is_close_family_of = scope:recipient
						has_any_moderate_bad_relationship_with_character_trigger = { CHARACTER = scope:recipient }
					}
				}
				custom = custom.every_adult_follower
				add_opinion = {
					target = scope:actor
					modifier = kicked_follower_from_camp_opinion
					opinion = -5
				}
			}
			scope:recipient = {
				every_relation = {
					type = rival
					limit = { is_courtier_of = scope:actor }
					add_opinion = {
						target = scope:actor
						modifier = kicked_rival_from_camp_opinion
						opinion = 30
					}
				}
			}
		}
	}
}

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

Character interactions (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.

Spotted a mistake on this page?