Scripted effect · All Under Heaven files
bring_disciples_to_movement_effect
bring_disciples_to_movement_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 435 (103 lines). No parameters.
bring_disciples_to_movement_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 435 of its file. It takes no parameters: bring_disciples_to_movement_effect = yes. The game's script calls it in 1 place, among them set_movement_leader_and_power_effect (scripted effect). Its body carries 5 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
root = scope:character requires a scope:situation_participant_group to be saved beforehand
What it does
- Every … Disciple (…):
- scope:situation_participant_group › Depending on participant group type:
- When participant group type is expansion movement:
- When participant group type is advancement movement:
- When participant group type is pro hegemon movement:
- When participant group type is conservative movement:
- Changes allegiance to Conservative Movement
- prev › If played by a person: Starts the interaction “Ask to Join my Movement”
- Disciples' Personal Movement Power: …
- scope:situation_participant_group › Depending on participant group type:
• 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 (103 lines of game script)
bring_disciples_to_movement_effect = {
#all of your disciples should always follow you
save_temporary_scope_as = recipient #for loc
every_relation = {
type = disciple
custom = every_disciple_joins_movement
scope:situation_participant_group = {
switch = {
trigger = participant_group_type
expansion_movement = {
custom_tooltip = celestial_switch_movement_to_expansion_tt
prev = {
if = {
limit = {
is_ai = no
}
run_interaction = {
interaction = celestial_ask_to_switch_movements_interaction
actor = scope:recipient
recipient = this
send_threshold = decline
}
}
else = {
set_variable = {
name = movement_member
value = flag:expansion
}
}
}
}
advancement_movement = {
custom_tooltip = celestial_switch_movement_to_advancement_tt
prev = {
if = {
limit = {
is_ai = no
}
run_interaction = {
interaction = celestial_ask_to_switch_movements_interaction
actor = scope:recipient
recipient = this
send_threshold = decline
}
}
else = {
set_variable = {
name = movement_member
value = flag:advancement
}
}
}
}
pro_hegemon_movement = {
custom_tooltip = celestial_switch_movement_to_pro_hegemon_tt
prev = {
if = {
limit = {
is_ai = no
}
run_interaction = {
interaction = celestial_ask_to_switch_movements_interaction
actor = scope:recipient
recipient = this
send_threshold = decline
}
}
else = {
set_variable = {
name = movement_member
value = flag:pro_hegemon
}
}
}
}
conservative_movement = {
custom_tooltip = celestial_switch_movement_to_conservative_tt
prev = {
if = {
limit = {
is_ai = no
}
run_interaction = {
interaction = celestial_ask_to_switch_movements_interaction
actor = scope:recipient
recipient = this
send_threshold = decline
}
}
else = {
set_variable = {
name = movement_member
value = flag:conservative
}
}
}
}
}
}
custom_tooltip = every_disciple_adds_movement_power_tt
hidden_effect = { recalculate_participant_group = situation:dynastic_cycle }
}
}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 bring_disciples_to_movement_effect.
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.