Scripted effect · Roads to Power files
absolve_crusaders_of_gallowsbait_effect
absolve_crusaders_of_gallowsbait_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 3132 (102 lines). No parameters.
absolve_crusaders_of_gallowsbait_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 3132 of its file. It takes no parameters: absolve_crusaders_of_gallowsbait_effect = yes. The game's script calls it in 3 places, among them Great Holy War (casus belli), great_holy_war.0061 (event) and Victorious … (event great_holy_war.0052). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
What it does
- If gallowsbait (bandit) experience at least 1: Gallowsbait (bandit) experience -75
- If gallowsbait (trickster) experience at least 1: Gallowsbait (trickster) experience -75
- If gallowsbait (thief) experience at least 1: Gallowsbait (thief) experience -75
- If gallowsbait (poacher) experience at least 1: Gallowsbait (poacher) experience -75
- If gallowsbait (marauder) experience at least 1: Gallowsbait (marauder) experience -75
If
- Gallowsbait (bandit) experience at most 25
- Gallowsbait (trickster) experience at most 25
- Gallowsbait (thief) experience at most 25
- Gallowsbait (poacher) experience at most 25
- Gallowsbait (marauder) experience at most 25
Then
- Loses the Trait Gallowsbait
• 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 (102 lines of game script)
absolve_crusaders_of_gallowsbait_effect = {
if = {
limit = {
has_trait_xp = {
trait = gallowsbait
track = bandit
value >= 1
}
}
add_trait_xp = {
trait = gallowsbait
track = bandit
value = crusader_absolution_xp_removed_per_track_value
}
}
if = {
limit = {
has_trait_xp = {
trait = gallowsbait
track = trickster
value >= 1
}
}
add_trait_xp = {
trait = gallowsbait
track = trickster
value = crusader_absolution_xp_removed_per_track_value
}
}
if = {
limit = {
has_trait_xp = {
trait = gallowsbait
track = thief
value >= 1
}
}
add_trait_xp = {
trait = gallowsbait
track = thief
value = crusader_absolution_xp_removed_per_track_value
}
}
if = {
limit = {
has_trait_xp = {
trait = gallowsbait
track = poacher
value >= 1
}
}
add_trait_xp = {
trait = gallowsbait
track = poacher
value = crusader_absolution_xp_removed_per_track_value
}
}
if = {
limit = {
has_trait_xp = {
trait = gallowsbait
track = marauder
value >= 1
}
}
add_trait_xp = {
trait = gallowsbait
track = marauder
value = crusader_absolution_xp_removed_per_track_value
}
}
if = {
limit = {
has_trait_xp = {
trait = gallowsbait
track = bandit
value <= crusader_absolution_min_xp_to_remove_trait_value
}
has_trait_xp = {
trait = gallowsbait
track = trickster
value <= crusader_absolution_min_xp_to_remove_trait_value
}
has_trait_xp = {
trait = gallowsbait
track = thief
value <= crusader_absolution_min_xp_to_remove_trait_value
}
has_trait_xp = {
trait = gallowsbait
track = poacher
value <= crusader_absolution_min_xp_to_remove_trait_value
}
has_trait_xp = {
trait = gallowsbait
track = marauder
value <= crusader_absolution_min_xp_to_remove_trait_value
}
}
remove_trait = gallowsbait
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls absolve_crusaders_of_gallowsbait_effect.
Casus belli (1)
Events (2)
- great_holy_war.0061
- Victorious …
great_holy_war.0052
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.