CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · All Under Heaven files

tgp_dynastic_cycle_add_to_movement_effect

tgp_dynastic_cycle_add_to_movement_effect = { CHAR = … }

game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt, line 2435 (69 lines). Parameters: $CHAR$.

tgp_dynastic_cycle_add_to_movement_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2435 of its file. A call passes 1 parameter: CHAR. The game's script calls it in 3 places, among them A Welcome Visitor (event tgp_movement_events.0010), Pride's Folly (event debate_event.2000) and Scholarly Crossroads (event az_debate.0008). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt.

What it does

  • … will join the Other Rulers

• 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 (69 lines of game script)
tgp_dynastic_cycle_add_to_movement_effect = {
	$CHAR$ = { save_scope_as = other_ruler }
	custom_tooltip = tgp_movement_events_0010_add_to_movement_effect_tt
	if = {
		limit = {
			top_participant_group:dynastic_cycle ?= {
				participant_group_type = expansion_movement
			}
		}
		$CHAR$ = {
			set_variable = {
				name = movement_member
				value = flag:expansion
			}
		}
	}
	else_if = {
		limit = {
			top_participant_group:dynastic_cycle ?= {
				participant_group_type = advancement_movement
			}
		}
		$CHAR$ = {
			set_variable = {
				name = movement_member
				value = flag:advancement
			}
		}
	}
	else_if = {
		limit = {
			top_participant_group:dynastic_cycle ?= {
				participant_group_type = pro_hegemon_movement
			}
		}
		$CHAR$ = {
			set_variable = {
				name = movement_member
				value = flag:pro_hegemon
			}
		}
	}
	else_if = {
		limit = {
			top_participant_group:dynastic_cycle ?= {
				participant_group_type = conservative_movement
			}
		}
		$CHAR$ = {
			set_variable = {
				name = movement_member
				value = flag:conservative
			}
		}
	}
	else_if = {
		limit = {
			top_participant_group:dynastic_cycle ?= {
				participant_group_type = undecided_movement
			}
		}
		$CHAR$ = {
			set_variable = {
				name = movement_member
				value = flag:undecided
			}
		}
	}
}

As written in game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls tgp_dynastic_cycle_add_to_movement_effect.

Events (3)

Source: game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?