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

Scripted trigger · Friends and Foes files

house_has_feud_relation_with_trigger

house_has_feud_relation_with_trigger = { TARGET = … }

game/common/scripted_triggers/03_bp1_scripted_triggers.txt, line 12 (15 lines). Parameters: $TARGET$.

house_has_feud_relation_with_trigger is a scripted trigger in Crusader Kings III, in the Friends and Foes files, written at line 12 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 124 places, among them Blind (interaction), Castrate Prisoner (interaction) and Challenge Status (Scheme) (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/03_bp1_scripted_triggers.txt.

The comment above it in the file

Feud relation targeting a specified House

What it checks

  • One of these

    • Their house:
      • this != $TARGET$.house
      • has_house_relation_with = $TARGET$.house
      • Any house relation:
        • has_house_relation_level = feud
        • Any relation house:
          • $TARGET$.house = this
    • or

      exists = scope:return_feud_as_true_for_debug

• 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 (15 lines of game script)
house_has_feud_relation_with_trigger = {
	exists = $TARGET$.house
	OR = {
		house ?= {
			this != $TARGET$.house
			has_house_relation_with = $TARGET$.house
			any_house_relation = {
				has_house_relation_level = feud
				any_relation_house = { $TARGET$.house = this }
			}
		}
		exists = scope:return_feud_as_true_for_debug
	}
	has_bp1_dlc_trigger = yes
}

As written in game/common/scripted_triggers/03_bp1_scripted_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls house_has_feud_relation_with_trigger — the first 120 of 124.

Schemes (1)

  • Seduce

Task contracts (1)

  • laamp_raid_contract

Events (82)

76 more

Scripted triggers inside an event file (3)

  • ep3_governor_8010_governor_trigger
  • tournament_tailor_rivalry_trigger
  • wedding_1220_valid_relative_trigger

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

  • on_title_gain

Scripted modifiers (AI weights) (6)

  • ai_agent_join_chance_hostile_grievous_modifier
  • ai_agent_join_chance_hostile_taboo_modifier
  • house_feud_hostile_scheme_agent_modifier
  • house_feud_hostile_scheme_success_modifier
  • house_feud_hostile_scheme_title_success_modifier
  • house_feud_sway_scheme_success_modifier

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