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

Scripted trigger

portrait_era4_trigger

portrait_era4_trigger = yes

game/common/scripted_triggers/00_clothing_triggers.txt, line 1615 (14 lines). No parameters.

portrait_era4_trigger is a scripted trigger in Crusader Kings III, written at line 1615 of its file. It takes no parameters: portrait_era4_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.

What it checks

  • Current year at least 1300
  • One of these

    • All of these

      • scope:year_of_birth >= 1275
      • scope:year_of_birth < 1425
      • scope:age >= 16
    • or

      scope:year_of_birth >= 1310

• 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 (14 lines of game script)
portrait_era4_trigger = { # Intended to primarily cover the years 1300 to 1450
	current_year >= 1300
	OR = {
		AND = { # People from 16 to 25 will be the first to adopt new fashion
			scope:year_of_birth >= 1275
			scope:year_of_birth < 1425
			scope:age >= 16
		}
		AND = {
			scope:year_of_birth >= 1310
			#scope:year_of_birth < 1425
		}
	}
}

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

Where it is used

No file of common/, events/ or history/ calls it.

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