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

Scripted effect · Legends of the Dead files

grand_activity_participation_legitimacy_effect

grand_activity_participation_legitimacy_effect = yes

game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt, line 83 (26 lines). No parameters.

grand_activity_participation_legitimacy_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 83 of its file. It takes no parameters: grand_activity_participation_legitimacy_effect = yes. The game's script calls it in 6 places, among them …: Conclusion (event tournament_events.0150), disburse_tour_activity_rewards (scripted effect) and disburse_wedding_spouse_activity_rewards (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.

The comment above it in the file

LEGITIMACY GAIN FOR GRAND ACTIVITY PARTICIPATION

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 (26 lines of game script)
grand_activity_participation_legitimacy_effect = {
	if = {
		limit = { is_valid_for_legitimacy_change = yes }
		if = {
			limit = {
				scope:activity = {
					has_activity_type = activity_tour
					has_activity_option = {
						category = special_type
						option = tour_type_majesty
					}
				}
			}
			add_legitimacy = major_legitimacy_gain
		}
		else_if = {
			limit = {
				this = scope:host
			}
			add_legitimacy = medium_legitimacy_gain
		}
		else = {
			add_legitimacy = minor_legitimacy_gain
		}
	}
}

As written in game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/06_dlc_ce1_legitimacy_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?