Scripted trigger · The Royal Court files
ep1_artifact_is_court_artifact_trigger
ep1_artifact_is_court_artifact_trigger = yesgame/common/scripted_triggers/02_ep1_scripted_triggers.txt, line 129 (10 lines). No parameters.
ep1_artifact_is_court_artifact_trigger is a scripted trigger in Crusader Kings III, in the The Royal Court files, written at line 129 of its file. It takes no parameters: ep1_artifact_is_court_artifact_trigger = yes (or no). The game's script calls it in 16 places, among them guest_impressed_by_court_artifact (activity pulse), …: No Questions Asked (event ep3_laamp_decision_event.1020) and A Capital Artifact (event cultural_festival.2060). Patch 1.20.1.2, from game/common/scripted_triggers/02_ep1_scripted_triggers.txt.
What it checks
One of these
artifact_slot_type = wall_bigor
artifact_slot_type = wall_smallor
artifact_slot_type = sculptureor
artifact_slot_type = bookor
artifact_slot_type = throneor
artifact_slot_type = pedestal
• 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)
ep1_artifact_is_court_artifact_trigger = {
OR = {
artifact_slot_type = wall_big
artifact_slot_type = wall_small
artifact_slot_type = sculpture
artifact_slot_type = book
artifact_slot_type = throne
artifact_slot_type = pedestal
}
}As written in game/common/scripted_triggers/02_ep1_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep1_artifact_is_court_artifact_trigger.
Activity pulse actions (1)
- guest_impressed_by_court_artifact
Events (9)
- …: No Questions Asked
ep3_laamp_decision_event.1020 - A Capital Artifact
cultural_festival.2060 - Artifactual Liability
feast_default.6301 - Collateral Damage
feast_default.6351 - Of Another Anthill
court_events.1010 - raiding.0014
3 more
- Remember Your Friends
prelude_events.0120 - siege.0031
- The Accident
feast_default.1020
Scripted effects inside an event file (1)
- court_8198_select_modifier_effect
Scripted triggers inside an event file (2)
- prelude_events_0130_appropriate_artifact
- raiding_0014_artifact_can_be_stolen
On actions (the game's own hooks) (1)
- on_death
Scripted triggers (1)
Scripted modifiers (AI weights) (1)
- ep1_chance_stealing_damaging_artifacts_modifier
Source: game/common/scripted_triggers/02_ep1_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.