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

Scripted effect

diplomacy_foreign_special_1010_court_visit_outcome_great_effect

diplomacy_foreign_special_1010_court_visit_outcome_great_effect = { CHARACTER = … }

game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt, line 157 (20 lines). Parameters: $CHARACTER$.

diplomacy_foreign_special_1010_court_visit_outcome_great_effect is a scripted effect in Crusader Kings III, written at line 157 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Hospitality: A Lasting Bond (event diplomacy_foreign_special.1030). Patch 1.20.1.2, from game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (20 lines of game script)
diplomacy_foreign_special_1010_court_visit_outcome_great_effect = {
	reverse_add_opinion = {
		target = $CHARACTER$
		modifier = friendliness_opinion
		opinion = 30
	}
	hidden_effect = {
		add_opinion = {
			target = $CHARACTER$
			modifier = friendliness_opinion
			opinion = 30
		}
	}
	progress_towards_friend_effect = {
		CHARACTER = $CHARACTER$
		OPINION = 0
		REASON = friend_court_visit
	}
	add_diplomacy_lifestyle_perk_points = 1
}

As written in game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt.

Where it is used

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

Events (1)

Source: game/common/scripted_effects/00_diplomacy_lifestyle_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?