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

Scripted trigger

artifact_feature_pattern_gibberish_trigger

artifact_feature_pattern_gibberish_trigger = yes

game/common/scripted_triggers/00_artifact_triggers.txt, line 1321 (24 lines). No parameters.

artifact_feature_pattern_gibberish_trigger is a scripted trigger in Crusader Kings III, written at line 1321 of its file. It takes no parameters: artifact_feature_pattern_gibberish_trigger = yes (or no). The game's script calls it in 1 place, among them decoration_pattern_gibberish (artifact). Patch 1.20.1.2, from game/common/scripted_triggers/00_artifact_triggers.txt.

The comment above it in the file

gibberish

What it checks

  • If

    • scope:newly_created_artifact:
      • artifact_type = book

    Then

    • scope:newly_created_artifact:
      • One of these

        • has_artifact_feature = book_subject_witch
        • or

          has_artifact_feature = book_subject_mystic
        • or

          has_artifact_feature = book_subject_lunatic
        • or

          has_artifact_feature = book_subject_childhood
  • scope:owner:

• 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 (24 lines of game script)
artifact_feature_pattern_gibberish_trigger = {
	trigger_if = {
		limit = {
			exists = scope:newly_created_artifact
			scope:newly_created_artifact = { artifact_type = book }
		}
		scope:newly_created_artifact = {
			OR = {
				has_artifact_feature = book_subject_witch
				has_artifact_feature = book_subject_mystic
				has_artifact_feature = book_subject_lunatic
				has_artifact_feature = book_subject_childhood
			}
		}
	}
	scope:owner = {
		OR = {
			has_trait = lifestyle_mystic
			has_trait = paranoid
			has_trait = lunatic
			has_trait = witch
		}
	}
}

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

Where it is used

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

Artifacts (1)

  • decoration_pattern_gibberish

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