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_1150_failed_county_switch_effect

diplomacy_foreign_1150_failed_county_switch_effect = yes

game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt, line 437 (28 lines). No parameters.

diplomacy_foreign_1150_failed_county_switch_effect is a scripted effect in Crusader Kings III, written at line 437 of its file. It takes no parameters: diplomacy_foreign_1150_failed_county_switch_effect = yes. The game's script calls it in 2 places, among them Tidying Borders (event diplomacy_foreign.1150) and Tidying Borders (event diplomacy_foreign.1153). Patch 1.20.1.2, from game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt.

What it does

  • scope:ruler:
    • add_diplomacy_lifestyle_xp = miniscule_lifestyle_experience
  • scope:neighbor: Opinion: Respect (-20)
  • If

    a check the game hides

    Then

    • scope:neighbor_vassal: Opinion: Respect (-40)
  • scope:neighbor_county:
    • change_county_control = major_county_control_loss

• 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 (28 lines of game script)
diplomacy_foreign_1150_failed_county_switch_effect = {
	# Add xp
	scope:ruler = { add_diplomacy_lifestyle_xp = miniscule_lifestyle_experience }
	# Add negative opinion (both neighbor and possible vassal)
	scope:neighbor = {
		add_opinion = {
			modifier = respect_opinion
			target = scope:ruler
			opinion = low_negative_opinion
		}
	}
	if = {
		limit = {
			exists = scope:neighbor_vassal
		}
		scope:neighbor_vassal = {
			add_opinion = {
				modifier = respect_opinion
				target = scope:ruler
				opinion = medium_negative_opinion
			}
		}
	}
	# Reduce control in your county (...sell-out)
	scope:neighbor_county = {
		change_county_control = major_county_control_loss
	}
}

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

Events (2)

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?