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

Scripted trigger · By God Alone files

friendly_support_base_trigger

friendly_support_base_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 6489 (39 lines). No parameters.

friendly_support_base_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 6489 of its file. It takes no parameters: friendly_support_base_trigger = yes (or no). The game's script calls it in 2 places, among them friendly_support_secular_trigger (scripted trigger) and friendly_support_trigger (scripted trigger). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • If played by the AI:
    • Ai compassion at least 0
    • Ai honor at least 0
    • Ai sociability at least -20
    • Ai greed at least -20
  • scope:actor:
  • … must have at least +80 Opinion of you
  • scope:actor:
    • One of these

      • has_relation_friend = scope:recipient
      • or

        is_close_family_of = scope:recipient
      • or

        has_relation_soulmate = scope:recipient
      • or

        is_spouse_of = scope:recipient
      • or

        has_relation_blood_brother = scope:recipient
      • or

        has_relation_ward = scope:recipient

• 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)
friendly_support_base_trigger = {
	#AI precautions
	trigger_if = {
		limit = {
			is_ai = yes
		}
		ai_compassion >= 0
		ai_honor >= 0
		ai_sociability >= low_negative_ai_value
		ai_greed >= low_negative_ai_value
	}

	scope:actor = {
		NOR = {
			has_trait = disloyal
			has_trait = denounced
		}
		piety_level >= 1
	}
	custom_tooltip = {
		text = recipient_opinion_80_req
		scope:recipient = {
			opinion = {
				target = scope:actor
				value >= 80
			}
		}
	}
	scope:actor = {
		OR = {
			has_relation_friend = scope:recipient
			is_close_family_of = scope:recipient
			has_relation_soulmate = scope:recipient
			is_spouse_of = scope:recipient
			has_relation_blood_brother = scope:recipient
			has_relation_ward = scope:recipient
		}
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/pam_scripted_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?