Scripted effect
set_up_translation_story_effect
set_up_translation_story_effect = { BOOK = … }game/common/scripted_effects/00_learning_lifestyle_effects.txt, line 132 (10 lines). Parameters: $BOOK$.
set_up_translation_story_effect is a scripted effect in Crusader Kings III, written at line 132 of its file. A call passes 1 parameter: BOOK. The game's script calls it in 1 place, among them A New Translation (event learning_scholarship_special.2001). Patch 1.20.1.2, from game/common/scripted_effects/00_learning_lifestyle_effects.txt.
What it does
- Gains the modifier “Translating Book”
- Learning +1
- Starts the story “Translate a Great Work”
• 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 (10 lines of game script)
set_up_translation_story_effect = {
add_character_modifier = {
modifier = book_translation_ongoing_modifier
}
set_variable = {
name = book_to_translate
value = flag:$BOOK$
}
create_story = book_translation_story
}As written in game/common/scripted_effects/00_learning_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls set_up_translation_story_effect.
Events (1)
- A New Translation
learning_scholarship_special.2001
Source: game/common/scripted_effects/00_learning_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.