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

Scripted effect

love_letter_calculation_effect

love_letter_calculation_effect = yes

game/common/scripted_effects/00_romance_effects.txt, line 13 (43 lines). No parameters.

love_letter_calculation_effect is a scripted effect in Crusader Kings III, written at line 13 of its file. It takes no parameters: love_letter_calculation_effect = yes. The game's script calls it in 6 places, among them An Admirer (event feast_default.2002), court_ongoing.0512 (event) and intrigue_temptation.3023 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_romance_effects.txt.

What it does

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

The script as written (43 lines of game script)
love_letter_calculation_effect = {
	hidden_effect = {
		save_scope_as = letterAuthor
		duel = {
			skill = diplomacy
			value = 10
			25 = {
				compare_modifier = {
					value = scope:duel_value
				}
				set_variable = {
					name = love_letter_quality
					value = 4
				}
			}
			25 = {
				compare_modifier = {
					value = scope:duel_value
				}
				set_variable = {
					name = love_letter_quality
					value = 3
				}
			}
			25 = {
				set_variable = {
					name = love_letter_quality
					value = 2
				}
			}
			25 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -0.5
				}
				set_variable = {
					name = love_letter_quality
					value = 1
				}
			}
		}
	}
}

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

Where it is used

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

Events (6)

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