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

Scripted effect · Khans of the Steppe files

mpo_remove_blood_brother_modifiers_effect

mpo_remove_blood_brother_modifiers_effect = yes

game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 4700 (39 lines). No parameters.

mpo_remove_blood_brother_modifiers_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 4700 of its file. It takes no parameters: mpo_remove_blood_brother_modifiers_effect = yes. The game's script calls it in 3 places, among them on_death (on action), on_death_relation_blood_brother (on action) and on_remove_relation_blood_brother (on action). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_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 (39 lines of game script)
mpo_remove_blood_brother_modifiers_effect = {
	remove_character_modifier = blood_brother_foe_modifier
	remove_character_modifier = blood_brother_august_modifier
	remove_character_modifier = blood_brother_august_nomadic_modifier
	remove_character_modifier = blood_brother_warrior_modifier
	remove_character_modifier = blood_brother_clever_modifier
	remove_character_modifier = blood_brother_clever_nomadic_modifier
	remove_character_modifier = blood_brother_loving_modifier
	if = {
		limit = {
			has_variable = blood_brother_foe
		}
		remove_variable = blood_brother_foe
	}
	if = {
		limit = {
			any_relation = {
				type = blood_brother
			}
		}
		every_relation = {
			type = blood_brother

			remove_character_modifier = blood_brother_foe_modifier
			remove_character_modifier = blood_brother_august_modifier
			remove_character_modifier = blood_brother_august_nomadic_modifier
			remove_character_modifier = blood_brother_warrior_modifier
			remove_character_modifier = blood_brother_clever_modifier
			remove_character_modifier = blood_brother_clever_nomadic_modifier
			remove_character_modifier = blood_brother_loving_modifier
			if = {
				limit = {
					has_variable = blood_brother_foe
				}
				remove_variable = blood_brother_foe
			}
		}
	}
}

As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.

Where it is used

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

On actions (the game's own hooks) (3)

  • on_death
  • on_death_relation_blood_brother
  • on_remove_relation_blood_brother

Source: game/common/scripted_effects/09_dlc_mpo_scripted_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?