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

Scripted trigger

is_good_familial_murder_target_trigger

is_good_familial_murder_target_trigger = yes

game/common/scripted_triggers/00_scheme_triggers.txt, line 130 (92 lines). No parameters.

is_good_familial_murder_target_trigger is a scripted trigger in Crusader Kings III, written at line 130 of its file. It takes no parameters: is_good_familial_murder_target_trigger = yes (or no). The game's script calls it in 1 place, among them build_murder_targets_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_scheme_triggers.txt.

What it checks

  • You:
    • can_start_scheme = { target_character = prev type = murder }
    • One of these

      • All of these

        • Ai greed at least 75
        • Ai compassion at most -75
        • Has the Trait: Sadistic
      • or

        All of these

        • Ai greed at least 75
        • Ai compassion at most -50
        • Opinion of prev at most 40
      • or

        All of these

        • Ai greed at least 50
        • Ai compassion less than 0
        • Opinion of prev at most 20
      • or

        All of these

        • Ai greed at least 35
        • Opinion of prev at most -20
      • or

        Opinion of prev at most -40
  • NOT = { has_opinion_modifier = { modifier = received_title_county target = root } }
  • NOT = { has_opinion_modifier = { modifier = received_title_duchy target = root } }
  • NOT = { has_opinion_modifier = { modifier = received_title_kingdom target = root } }
  • NOT = { has_opinion_modifier = { modifier = received_title_empire target = root } }
  • One of these

    • Any held title:
      • Title tier at least root.highest held title tier
      • place_in_line_of_succession = { … }
    • or

      Any heir title:
      • holder != root
      • Title tier at least root.highest held title tier
      • place_in_line_of_succession = { … }

• 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 (92 lines of game script)
is_good_familial_murder_target_trigger = {
	root = {
		can_start_scheme = {
			target_character = prev
			type = murder
		}
		OR = {
			AND = { # Psychopaths ignore opinion...
				ai_greed >= very_high_positive_ai_value
				ai_compassion <= very_high_negative_ai_value
				has_trait = sadistic # Make sadistic people able to murder their own children
			}
			AND = { # Very greedy and non-compassionate characters almost ignore opinion...
				ai_greed >= very_high_positive_ai_value
				ai_compassion <= high_negative_ai_value
				opinion = {
					target = prev
					value <= medium_positive_opinion
				}
			}
			AND = { # Significantly greedy and non-compassionate characters can murder even at positive opinion
				ai_greed >= high_positive_ai_value
				ai_compassion < 0
				opinion = {
					target = prev
					value <= low_positive_opinion
				}
			}
			AND = { # Somewhat greedy characters can murder people they just barely dislike...
				ai_greed >= medium_positive_ai_value
				opinion = {
					target = prev
					value <= low_negative_opinion
				}
			}
			AND = { # Otherwise, their opinion must be rather poor...
				opinion = {
					target = prev
					value <= medium_negative_opinion
				}
			}
		}
	}
	NOR = {
		has_opinion_modifier = {
			modifier = received_title_county
			target = root
		}
		has_opinion_modifier = {
			modifier = received_title_duchy
			target = root
		}
		has_opinion_modifier = {
			modifier = received_title_kingdom
			target = root
		}
		has_opinion_modifier = {
			modifier = received_title_empire
			target = root
		}
	}
	#is a valid murder target if scheme owner is in line of succession to any of target's titles or at least 3rd in line of succession to any titles the target is 1st to inherit
	OR = {
		any_held_title = {
			tier >= root.highest_held_title_tier
			place_in_line_of_succession = {
				target = root
				value <= {
					value = 2
					if = {
						limit = { root.highest_held_title_tier > tier_barony }
						add = 1
					}
				}
			}
		}
		any_heir_title = {
			holder != root
			tier >= root.highest_held_title_tier
			place_in_line_of_succession = {
				target = root
				value <= {
					value = 2
					if = {
						limit = { root.highest_held_title_tier > tier_barony }
						add = 1
					}
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/00_scheme_triggers.txt.

Where it is used

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

Scripted triggers (1)

Source: game/common/scripted_triggers/00_scheme_triggers.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?