Scripted trigger
is_valid_for_hybridising_trigger
is_valid_for_hybridising_trigger = { CHARACTER = … CULTURE = … }game/common/scripted_triggers/00_cultural_triggers.txt, line 473 (42 lines). Parameters: $CHARACTER$, $CULTURE$.
is_valid_for_hybridising_trigger is a scripted trigger in Crusader Kings III, written at line 473 of its file. A call passes 2 parameters: CHARACTER and CULTURE. The game's script calls it in 2 places, among them Advice: Hybrid Cultures (important action) and can_hybridize_culture_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_cultural_triggers.txt.
The comment above it in the file
Checks if you could Hybridise with the culture without checking for acceptance
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (42 lines of game script)
is_valid_for_hybridising_trigger = {
$CHARACTER$ = {
culture = {
NOT = { has_same_culture_heritage = $CULTURE$ }
culture_age >= culture_hybrid_cooldown
}
trigger_if = {
limit = {
NAND = {
exists = var:special_culture
var:special_culture = $CULTURE$
}
}
custom_description = {
text = culture_present_in_realm_for_hybridization
any_sub_realm_county = {
culture = $CULTURE$
}
}
}
custom_description = {
text = culture_is_not_parent_culture
culture = {
NOT = {
any_parent_culture = {
this = $CULTURE$
}
}
}
}
custom_description = {
text = culture_is_not_child_culture
$CULTURE$ = {
NOT = {
any_parent_culture = {
this = $CHARACTER$.culture
}
}
}
}
}
}As written in game/common/scripted_triggers/00_cultural_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_valid_for_hybridising_trigger.
Important actions (1)
- Advice: Hybrid Cultures
Scripted triggers (1)
Source: game/common/scripted_triggers/00_cultural_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.