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_in_same_clan_as_trigger

is_in_same_clan_as_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_clan_triggers.txt, line 8 (10 lines). Parameters: $CHARACTER$.

is_in_same_clan_as_trigger is a scripted trigger in Crusader Kings III, written at line 8 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 7 places, among them Fabricate Hook (interaction), Fabricate Hook (scheme) and A Questionable Position (event fp3_clan.8017). Patch 1.20.1.2, from game/common/scripted_triggers/00_clan_triggers.txt.

What it checks

  • One of these

    • Government is Clan
    • or

      $CHARACTER$ = { government_has_flag = government_is_clan }
  • house = $CHARACTER$.house
  • top_liege = $CHARACTER$.top_liege

• 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 (10 lines of game script)
is_in_same_clan_as_trigger = {
	exists = house
	exists = $CHARACTER$.house
	OR = {
		government_has_flag = government_is_clan
		$CHARACTER$ = { government_has_flag = government_is_clan }
	}
	house = $CHARACTER$.house
	top_liege = $CHARACTER$.top_liege
}

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

Where it is used

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

Character interactions (1)

Schemes (1)

  • Fabricate Hook

Events (3)

Scripted triggers (1)

Script values (1)

  • befriend_interaction_cost_value

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