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

Decision · Decisions

AI Remove Enshrined Artifacts

No cost

Requirements

  • faith = top_liege.faith
  • Your top liege: Is played by the AI
  • Your faith:
    • One of these

      • NOT = { exists = religious_head }
      • or

        Their head of faith: Is played by the AI
  • Any held county › Any county holy site:
    • holy_site_has_artifact = yes
    • One of these

      • All of these

        • Any holy site faith:
          • this = root.faith
        • Any holy site enshrined artifact:
          • NOT = { is_holy_relic_for = root.faith }
          • You:
            • can_remove_holy_site_artifact = { holy_site = scope:target_holy_site artifact = prev }
      • or

        Any holy site faith:
        • this != root.faith
        • Num county followers more than 0
        • save_temporary_scope_as = target_faith
        • Your faith:
          • faith_hostility_level = { target = scope:target_faith value >= faith_hostile_level }
        • scope:target_holy_site › Any holy site enshrined artifact:
          • is_holy_relic_for = scope:target_faith
          • You:
            • can_remove_holy_site_artifact = { holy_site = scope:target_holy_site artifact = prev }
  • Also needed: available (an adult, not in an army, not imprisoned, not incapable) · none of the traits Consumption, Typhus, Bubonic Plague, Smallpox, Measles, Bloody Flux · not busy in an Activity · not planning another Activity

Who sees it

The decision only appears in the list for a character who meets these:

  • Is played by the AI
Can be taken when (is_valid) (63 lines of game script)
is_available_ai_adult = yes
faith = top_liege.faith
top_liege = {
	is_ai = yes
}
faith = {
	OR = {
		NOT = {
			exists = religious_head
		}
		religious_head = {
			is_ai = yes
		}
	}
}
any_held_county = {
	any_county_holy_site = {
		holy_site_has_artifact = yes
		save_temporary_scope_as = target_holy_site
		OR = {
			AND = {
				any_holy_site_faith = {
					this = root.faith
				}
				any_holy_site_enshrined_artifact = {
					NOT = {
						is_holy_relic_for = root.faith
					}
					root = {
						can_remove_holy_site_artifact = {
							holy_site = scope:target_holy_site
							artifact = prev
						}
					}
				}
			}
			AND = {
				any_holy_site_faith = {
					this != root.faith
					num_county_followers > 0
					save_temporary_scope_as = target_faith
					root.faith = {
						faith_hostility_level = {
							target = scope:target_faith
							value >= faith_hostile_level
						}
					}
					scope:target_holy_site = {
						any_holy_site_enshrined_artifact = {
							is_holy_relic_for = scope:target_faith
							root = {
								can_remove_holy_site_artifact = {
									holy_site = scope:target_holy_site
									artifact = prev
								}
							}
						}
					}
				}
			}
		}
	}
}

As written in game/common/decisions/50_holy_site_decisions.txt.

Shown to a character when (is_shown) (1 line of game script)
is_ai = yes

As written in game/common/decisions/50_holy_site_decisions.txt.

Effects

  • Every held county › Every county holy site:
    • Where:
      • holy_site_has_artifact = yes
    • Every holy site faith:
      • If

        a check the game hides

        Then

        • scope:target_holy_site › Every holy site enshrined artifact:
          • Where:
            • NOT = { is_holy_relic_for = root.faith }
          • You:
            • remove_holy_site_artifact = { holy_site = scope:target_holy_site artifact = scope:target_artifact }

        Else if

        • Num county followers more than 0
        • Your faith:
          • faith_hostility_level = { target = scope:target_faith value >= faith_hostile_level }

        Then

        • scope:target_holy_site › Every holy site enshrined artifact:
          • Where:
            • is_holy_relic_for = scope:target_faith
            • None of these

              • is_holy_relic_for = root.faith
              • scope:target_holy_site › Any holy site faith:
                • this = root.faith
          • You:
            • remove_holy_site_artifact = { holy_site = scope:target_holy_site artifact = scope:target_artifact }
Effect (66 lines of game script)
every_held_county = {
	save_temporary_scope_as = held_county
	every_county_holy_site = {
		limit = {
			holy_site_has_artifact = yes
		}
		save_temporary_scope_as = target_holy_site
		every_holy_site_faith = {
			save_temporary_scope_as = target_faith
			if = {
				limit = {
					this = root.faith
				}
				scope:target_holy_site = {
					every_holy_site_enshrined_artifact = {
						limit = {
							NOT = {
								is_holy_relic_for = root.faith
							}
						}
						save_temporary_scope_as = target_artifact
						root = {
							remove_holy_site_artifact = {
								holy_site = scope:target_holy_site
								artifact = scope:target_artifact
							}
						}
					}
				}
			}
			else_if = {
				limit = {
					num_county_followers > 0
					root.faith = {
						faith_hostility_level = {
							target = scope:target_faith
							value >= faith_hostile_level
						}
					}
				}
				scope:target_holy_site = {
					every_holy_site_enshrined_artifact = {
						limit = {
							is_holy_relic_for = scope:target_faith
							NOT = {
								is_holy_relic_for = root.faith
								scope:target_holy_site = {
									any_holy_site_faith = {
										this = root.faith
									}
								}
							}
						}
						save_temporary_scope_as = target_artifact
						root = {
							remove_holy_site_artifact = {
								holy_site = scope:target_holy_site
								artifact = scope:target_artifact
							}
						}
					}
				}
			}
		}
	}
}

As written in game/common/decisions/50_holy_site_decisions.txt.

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

Group
Decisions
Major
no
ID
ai_remove_enshrined_artifact_decision

AI Remove Enshrined Artifacts is a decision in Crusader Kings III (Decisions). It needs available (an adult, not in an army, not imprisoned, not incapable), none of the traits Consumption, Typhus, Bubonic Plague, Smallpox, Measles, Bloody Flux, not busy in an Activity and 1 more (listed below). Patch 1.20.1.2, from game/common/decisions/50_holy_site_decisions.txt.

for a guide, post or blog
Quick answers (1)
What are the requirements for AI Remove Enshrined Artifacts?
available (an adult, not in an army, not imprisoned, not incapable), none of the traits Consumption, Typhus, Bubonic Plague, Smallpox, Measles, Bloody Flux, not busy in an Activity and not planning another Activity; the full conditions are on the page (patch 1.20.1.2).

Source: game/common/decisions/50_holy_site_decisions.txt and the English localisation, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page, or have an idea for the site?