Scripted trigger · Khans of the Steppe files
can_gift_anything_trigger
can_gift_anything_trigger = yesgame/common/scripted_triggers/mpo_scripted_triggers.txt, line 647 (12 lines). No parameters.
can_gift_anything_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 647 of its file. It takes no parameters: can_gift_anything_trigger = yes (or no). The game's script calls it in 4 places, among them Reckless Confessions (event feast_tsagaan_sar_events.0310), mpo_tsagaan_sar_guest_count (script value) and mpo_tsagaan_sar_guest_gifters (script value). Patch 1.20.1.2, from game/common/scripted_triggers/mpo_scripted_triggers.txt.
What it checks
One of these
short_term_gold >= miniscule_gold_valueor
All of these
- Their domicile:
herd >= twenty_percent_herd_value
involved_activity.activity_host = { … }
- Their domicile:
or
has_eligible_artifact_trigger = yes
• 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 (12 lines of game script)
can_gift_anything_trigger = {
OR = {
short_term_gold >= miniscule_gold_value
AND = {
domicile ?= { herd >= twenty_percent_herd_value }
involved_activity.activity_host = {
domicile ?= { herd < max_herd }
}
}
has_eligible_artifact_trigger = yes
}
}As written in game/common/scripted_triggers/mpo_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls can_gift_anything_trigger.
Events (1)
- Reckless Confessions
feast_tsagaan_sar_events.0310
Script values (3)
- mpo_tsagaan_sar_guest_count
- mpo_tsagaan_sar_guest_gifters
- mpo_tsagaan_sar_guest_gifters_no
Source: game/common/scripted_triggers/mpo_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.