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

Scripted trigger

has_focus_diplomacy

has_focus_diplomacy = yes

game/common/scripted_triggers/00_lifestyle_triggers.txt, line 311 (8 lines). No parameters.

has_focus_diplomacy is a scripted trigger in Crusader Kings III, written at line 311 of its file. It takes no parameters: has_focus_diplomacy = yes (or no). The game's script calls it in 14 places, among them apa_foreign_custom (activity pulse), Available Perks (…) (important action) and Available Perks (…) (important action). Patch 1.20.1.2, from game/common/scripted_triggers/00_lifestyle_triggers.txt.

What it checks

  • One of these

    • has_focus = diplomacy_family_focus
    • or

      has_focus = diplomacy_majesty_focus
    • or

      has_focus = diplomacy_foreign_affairs_focus
    • or

      has_focus = diplomacy_adventurer_focus

• 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 (8 lines of game script)
has_focus_diplomacy = {
	OR = {
		has_focus = diplomacy_family_focus
		has_focus = diplomacy_majesty_focus
		has_focus = diplomacy_foreign_affairs_focus
		has_focus = diplomacy_adventurer_focus
	}
}

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

Where it is used

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

Activity pulse actions (1)

  • apa_foreign_custom

Important actions (2)

  • Available Perks (…)
  • Available Perks (…)

Events (8)

2 more

Scripted effects inside an event file (1)

  • fund_inspiration_0031_pick_options_to_show_effect

Scripted triggers inside an event file (1)

  • fund_inspiration_0031_focus_option_trigger

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