Scripted effect · All Under Heaven files
tgp_one_up_activity_effect
tgp_one_up_activity_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3546 (19 lines). No parameters.
tgp_one_up_activity_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3546 of its file. It takes no parameters: tgp_one_up_activity_effect = yes. The game's script calls it in 4 places, among them Festival (activity), Hunt (activity) and Pilgrimage (activity). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
tgp_save_opposing_power_effect = yes- Gain +750 Prestige
- If government is Administrative: Influence +150
scope:opposing_power:- Gain -750 Prestige
- If government is Administrative: Influence -150
• 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 (19 lines of game script)
tgp_one_up_activity_effect = {
tgp_save_opposing_power_effect = yes
add_prestige = massive_prestige_gain
if = {
limit = {
government_has_flag = government_is_administrative
}
change_influence = massive_influence_gain
}
scope:opposing_power = {
add_prestige = massive_prestige_loss
if = {
limit = {
government_has_flag = government_is_administrative
}
change_influence = massive_influence_loss
}
}
}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 tgp_one_up_activity_effect.
Activities (3)
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.