Scripted effect · All Under Heaven files
make_movement_favored_effect
make_movement_favored_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 1113 (38 lines). No parameters.
make_movement_favored_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1113 of its file. It takes no parameters: make_movement_favored_effect = yes. The game's script calls it in 7 places, among them Favor a Movement (decision), The Dynastic Cycle (situation) and tgp_dynastic_cycle_decision_event.0111 (event). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
The comment above it in the file
Makes the targeted movement become empowered Scope is situation_participant_group
What it does
• 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 (38 lines of game script)
make_movement_favored_effect = {
save_scope_as = movement_to_be_favored
custom_description = {
text = new_movement_becomes_favored_desc
object = scope:movement_to_be_favored
situation:dynastic_cycle ?= {
random_participant_group = {
limit = {
has_variable = movement_favored
}
set_variable = {
name = movement_unfavored
days = 1
}
remove_variable = movement_favored
}
scope:movement_to_be_favored = {
set_variable = movement_favored
}
}
}
custom_tooltip = new_movement_becomes_favored_power_increase
situation:dynastic_cycle ?= {
random_participant_group = {
limit = {
has_variable = movement_unfavored
}
save_scope_as = movement_to_be_unfavored
}
}
if = {
limit = {
exists = scope:movement_to_be_unfavored
}
custom_tooltip = new_movement_becomes_favored_power_decrease
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls make_movement_favored_effect.
Decisions (1)
Situations (1)
Events (4)
- tgp_dynastic_cycle_decision_event.0111
- The Imperial Favor
debate_event.5110 - The Imperial Favor
debate_event.5111 - The Imperial Favor
debate_event.5120
Scripted effects (1)
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.