Scripted effect
sun_trial_death_effect
sun_trial_death_effect = yesgame/common/scripted_effects/00_religious_interaction_effects.txt, line 1493 (22 lines). No parameters.
sun_trial_death_effect is a scripted effect in Crusader Kings III, written at line 1493 of its file. It takes no parameters: sun_trial_death_effect = yes. The game's script calls it in 4 places, among them Sun Trial (interaction), … Judgment (event religious_interaction.2100) and … Judgment (event religious_interaction.2103). Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.
What it does
scope:prisoner:death = { death_reason = death_sun_trial killer = scope:imprisoner }
- All non-⟨faith⟩ Family Members of …:
- Where: Their faith is not the same as that of imprisoner
- Opinion: Executed Family
• 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 (22 lines of game script)
sun_trial_death_effect = {
scope:prisoner = {
death = {
death_reason = death_sun_trial
killer = scope:imprisoner
}
}
#Opinion penalties
every_close_or_extended_family_member = {
# Non-imprisoner-same-faith family upset that you threw their family out into the desert to die.
limit = {
this != scope:imprisoner
NOT = { faith = scope:imprisoner.faith }
}
custom = sun_trial_interaction.non_faith_family
add_opinion = {
target = scope:imprisoner
modifier = executed_close_family
}
}
}As written in game/common/scripted_effects/00_religious_interaction_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls sun_trial_death_effect.
Character interactions (1)
Events (3)
- … Judgment
religious_interaction.2100 - … Judgment
religious_interaction.2103 - … Judgment
religious_interaction.2104
Source: game/common/scripted_effects/00_religious_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.