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

Scripted effect · Coronations files

coronation_weaken_detractors_opinion_effect

coronation_weaken_detractors_opinion_effect = yes

game/common/scripted_effects/10_ach_effects.txt, line 2250 (30 lines). No parameters.

coronation_weaken_detractors_opinion_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 2250 of its file. It takes no parameters: coronation_weaken_detractors_opinion_effect = yes. The game's script calls it in 18 places, among them … Moment (event coronation_events.1027), …s and Commoners (event ach_coronation.0013) and A … … (event coronation_events_klank.1008). Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.

What it does

  • Their activity:
    • If

      • Any attending character:
        • is_vassal_of = root
        • has_vassal_stance = belligerent
        • NOT = { is_in_guest_subset = { name = detractor } }

      Then

      • • Because of your … Intent: Every non-Detractor Belligerent Vassal:
        • Where:
          • is_vassal_of = root
          • has_vassal_stance = belligerent
          • NOT = { is_in_guest_subset = { name = detractor } }
          • Opinion of them less than 100
        • Opinion: Impressed (+5)

• 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 (30 lines of game script)
coronation_weaken_detractors_opinion_effect = {
	involved_activity = {
		if = {
			limit = {
				any_attending_character = {
					is_vassal_of = root
					has_vassal_stance = belligerent
					NOT = { is_in_guest_subset = { name = detractor } }
				}
			}
			every_attending_character = {
				limit = {
					is_vassal_of = root
					has_vassal_stance = belligerent
					NOT = { is_in_guest_subset = { name = detractor } }
					opinion = {
						target = root
						value < 100
					}
				}
				custom = weaken_detractors_opinion
				add_opinion = {
					target = root
					modifier = impressed_opinion
					opinion = 5
				}
			}
		}
	}
}

As written in game/common/scripted_effects/10_ach_effects.txt.

Where it is used

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

Events (18)

12 more

Source: game/common/scripted_effects/10_ach_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?