Scripted effect
ep5_12_would_you_like_fries_with_that_check_effect
ep5_12_would_you_like_fries_with_that_check_effect = { EATER = … VICTIM = … }game/common/scripted_effects/00_achievement_effects.txt, line 454 (28 lines). Parameters: $EATER$, $VICTIM$.
ep5_12_would_you_like_fries_with_that_check_effect is a scripted effect in Crusader Kings III, written at line 454 of its file. A call passes 2 parameters: EATER and VICTIM. The game's script calls it in 5 places, among them Prisoner Escaped! (event travel_events.2033), The Grand … (event fp1_other_decisions.0003) and feast_7201_ritual_cannibal_death_effect (local effect). Patch 1.21.0, from game/common/scripted_effects/00_achievement_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (28 lines of game script)
ep5_12_would_you_like_fries_with_that_check_effect = { # Would You Like Fries With That?
hidden_effect = {
if = {
limit = {
$VICTIM$ = {
gdp_is_patrician_trigger = yes
OR = {
culture = {
has_cultural_pillar = heritage_central_germanic
}
liege ?= {
government_has_flag = government_is_republic
culture = {
has_cultural_pillar = heritage_central_germanic
}
}
}
}
}
$EATER$ = {
add_achievement_global_variable_effect = {
VARIABLE = ep5_12_would_you_like_fries_with_that_achievement_unlocked
VALUE = yes
}
}
}
}
}As written in game/common/scripted_effects/00_achievement_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep5_12_would_you_like_fries_with_that_check_effect.
Events (2)
- Prisoner Escaped!
travel_events.2033 - The Grand …
fp1_other_decisions.0003
Scripted effects inside an event file (1)
- feast_7201_ritual_cannibal_death_effect
Scripted effects (2)
Source: game/common/scripted_effects/00_achievement_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.