Scripted effect
tooltip_disburse_wedding_guest_activity_rewards
tooltip_disburse_wedding_guest_activity_rewards = yesgame/common/scripted_effects/00_activity_effects.txt, line 2520 (178 lines). No parameters.
tooltip_disburse_wedding_guest_activity_rewards is a scripted effect in Crusader Kings III, written at line 2520 of its file. It takes no parameters: tooltip_disburse_wedding_guest_activity_rewards = yes. The game's script calls it in 1 place, among them The Conclusion (event ep2_wedding.0970). Its body carries 9 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_activity_effects.txt.
What it does
scope:activity:If
has_activity_option = { category = wedding_option_entertainment option = wedding_entertainment_good }
Then
- You: Gain +350 Prestige
Else if
has_activity_option = { category = wedding_option_entertainment option = wedding_entertainment_normal }
Then
- You: Gain +150 Prestige
Else if
has_activity_option = { category = wedding_option_entertainment option = wedding_entertainment_bad }
Then
- You: Gain +75 Prestige
If
has_activity_option = { category = wedding_option_food option = wedding_food_good }
Then
Else if
has_activity_option = { category = wedding_option_food option = wedding_food_normal }
Then
Else if
has_activity_option = { category = wedding_option_food option = wedding_food_bad }
Then
If
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_good }
Then
- You:
- Gains the modifier “Guest to the Wedding of the Century” for 20 years
- Diplomacy +2
- Monthly Diplomacy Lifestyle Experience +5%
- If has the Trait: Eager Reveler: Eager Reveler experience +10
- Gains the modifier “Guest to the Wedding of the Century” for 20 years
Else if
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_normal }
Then
- You › If has the Trait: Eager Reveler: Eager Reveler experience +5
Else if
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_bad }
Then
- You › If has the Trait: Eager Reveler: Eager Reveler experience +3
disburse_activity_stress_loss = yesgrand_activity_participation_legitimacy_effect = yes
• 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 (120 lines of game script)
tooltip_disburse_wedding_guest_activity_rewards = {
scope:activity = {
if = {
limit = {
has_activity_option = {
category = wedding_option_entertainment
option = wedding_entertainment_good
}
}
root = { add_prestige = major_prestige_gain }
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_entertainment
option = wedding_entertainment_normal
}
}
root = { add_prestige = medium_prestige_gain }
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_entertainment
option = wedding_entertainment_bad
}
}
root = { add_prestige = minor_prestige_gain }
}
if = {
limit = {
has_activity_option = {
category = wedding_option_food
option = wedding_food_good
}
}
if = {
limit = {
scope:host = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_host_high
}
if = {
limit = {
scope:spouse_1 = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_spouse_1_high
}
if = {
limit = {
scope:spouse_2 = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_spouse_2_high
}
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_food
option = wedding_food_normal
}
}
if = {
limit = {
scope:host = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_host_medium
}
if = {
limit = {
scope:spouse_1 = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_spouse_1_medium
}
if = {
limit = {
scope:spouse_2 = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_spouse_2_medium
}
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_food
option = wedding_food_bad
}
}
if = {
limit = {
scope:host = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_host_low
}
if = {
limit = {
scope:spouse_1 = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_spouse_1_low
}
if = {
limit = {
scope:spouse_2 = { is_ai = yes }
}
custom_tooltip = came_to_my_wedding_opinion_spouse_2_low
}
}
if = {
limit = {
has_activity_option = {
category = wedding_option_decoration
option = wedding_decoration_good
}
}
root = {
add_character_modifier = {
modifier = wedding_of_the_century_modifier
years = 20
}
if = {As written in game/common/scripted_effects/00_activity_effects.txt.
The first 120 of its 178 lines; the rest is in game/common/scripted_effects/00_activity_effects.txt from line 2520.
Where it is used
Every place in common/, events/ and history/ that calls tooltip_disburse_wedding_guest_activity_rewards.
Events (1)
- The Conclusion
ep2_wedding.0970
Source: game/common/scripted_effects/00_activity_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.