Scripted trigger
basic_is_valid_for_yearly_events_trigger
basic_is_valid_for_yearly_events_trigger = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 802 (15 lines). No parameters.
basic_is_valid_for_yearly_events_trigger is a scripted trigger in Crusader Kings III, written at line 802 of its file. It takes no parameters: basic_is_valid_for_yearly_events_trigger = yes (or no). The game's script calls it in 32 places, among them … Appointed... …? (event ep3_governor_yearly.3020), … Autokrator! (event ep3_governor_yearly.3040) and … Blood (event bp2_yearly.6080). Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.
What it checks
is_playable_character = yes- Is available (not imprisoned, not incapable)
One of these
- Is not traveling
or
Has a Adventurer Government
• 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 (15 lines of game script)
basic_is_valid_for_yearly_events_trigger = {
is_playable_character = yes
is_available_quick = {
imprisoned = no
incapable = no
}
OR = {
is_travelling = no
has_government = landless_adventurer_government
}
NOR = {
has_character_flag = is_in_task_contract_event_chain
exists = involved_activity
}
}As written in game/common/scripted_triggers/00_available_for_events_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls basic_is_valid_for_yearly_events_trigger.
Events (28)
- … Appointed... …?
ep3_governor_yearly.3020 - … Autokrator!
ep3_governor_yearly.3040 - … Blood
bp2_yearly.6080 - A Well-Traveled Tongue
ep3_governor_yearly.3070 - adultery.0001
- Educational Taxation
clan_event.2001
22 more
- Eyes of the Family
bp2_yearly.6030 - Fiscal Matters
ach_yearly_events.1001 - I Should Have Known
yearly.1003 - Learning on the Job
clan_event.2000 - Master of the Beaten
ach_yearly_events.1003 - Offering a Replacement
clan_event.2005 - One of …'s Lesser Demons
ep3_governor_yearly.3050 - Our …, Pandemonium
ep3_governor_yearly.3100 - Overworked Tax Collector
clan_event.2002 - Quiet Times
ep3_governor_yearly.3030 - Stone, Iron, Clay, and Wattle
bp2_yearly.6050 - Studies in Eternity
bp2_yearly.6060 - Taken by the Sea
ep3_governor_yearly.3080 - The Flower Thief
yearly.9110 - The Great, Limp Purse
ach_yearly_events.1004 - The Heart of …
ep3_governor_yearly.3090 - The Rat-Heap
ach_yearly_events.1002 - The Seed Merchant
yearly.9120 - The Unjust Dispossession
ep3_frankokratia_events.0001 - Through Downcast Lashes
yearly.1001 - Trouble in the Garden
yearly.9100 - Where All the World Gazes
bp2_yearly.6070
Scripted triggers inside an event file (1)
- yearly_1070_potential_soulmate_basic_trigger
On actions (the game's own hooks) (3)
- five_year_struggle_playable_pulse
- on_combat_end_loser
- random_yearly_playable_pulse
Source: game/common/scripted_triggers/00_available_for_events_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.