Scripted effect · Legends of the Dead files
standard_activity_participation_legitimacy_effect
standard_activity_participation_legitimacy_effect = yesgame/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt, line 26 (14 lines). No parameters.
standard_activity_participation_legitimacy_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 26 of its file. It takes no parameters: standard_activity_participation_legitimacy_effect = yes. The game's script calls it in 2 places, among them disburse_feast_reveler_rewards (scripted effect) and hunt_individual_guest_awards_effect (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 STANDARD 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 (14 lines of game script)
standard_activity_participation_legitimacy_effect = {
if = {
limit = { is_valid_for_legitimacy_change = yes }
if = {
limit = {
this = scope:host
}
add_legitimacy = minor_legitimacy_gain
}
else = {
add_legitimacy = miniscule_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 standard_activity_participation_legitimacy_effect.
Scripted effects (2)
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.