Scripted effect
tooltip_disburse_wedding_host_activity_rewards
tooltip_disburse_wedding_host_activity_rewards = yesgame/common/scripted_effects/00_activity_effects.txt, line 2267 (252 lines). No parameters.
tooltip_disburse_wedding_host_activity_rewards is a scripted effect in Crusader Kings III, written at line 2267 of its file. It takes no parameters: tooltip_disburse_wedding_host_activity_rewards = yes. The game's script calls it in 1 place, among them The Conclusion (event ep2_wedding.0950). 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 +1,200 Prestige
Else if
has_activity_option = { category = wedding_option_entertainment option = wedding_entertainment_normal }
Then
- You: Gain +800 Prestige
Else if
has_activity_option = { category = wedding_option_entertainment option = wedding_entertainment_bad }
Then
- You: Gain +400 Prestige
If
has_activity_option = { category = wedding_option_food option = wedding_food_good }
Then
- Every Guest: Opinion: Impressed (+30)
Else if
has_activity_option = { category = wedding_option_food option = wedding_food_normal }
Then
- Every Guest: Opinion: Impressed (+20)
Else if
has_activity_option = { category = wedding_option_food option = wedding_food_bad }
Then
- Every Guest: Opinion: Impressed (+5)
If
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_good }
Then
- You:
- Gains the modifier “Magnificent Host” for 20 years
- Monthly Renown +5%
- Monthly Prestige +5%
- Monthly Stewardship Lifestyle Experience +10%
- Monthly Diplomacy Lifestyle Experience +10%
- Courtly Vassal Opinion +8
- Gains the modifier “Magnificent Host” for 20 years
Else if
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_normal }
Then
Else if
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_bad }
Then
- You:
- If has the Trait: Eager Reveler: Eager Reveler experience +10
- Otherwise: Gains the Trait Eager Reveler
If
One of these
scope:wedding_venue:has_building_or_higher = royal_garden_03
or
scope:wedding_venue:has_building_or_higher = leisure_palace_03
Then
- You:
- Stress and fulfillment impact: -100
- Your dynasty: The dynasty gains … Renown
Else if
One of these
scope:wedding_venue:has_building_or_higher = royal_garden_02
or
scope:wedding_venue:has_building_or_higher = leisure_palace_02
Then
- You:
- Stress and fulfillment impact: -65
- Your dynasty: The dynasty gains … Renown
Else if
One of these
scope:wedding_venue:has_building_or_higher = royal_garden_01
or
scope:wedding_venue:has_building_or_higher = leisure_palace_01
Then
- You:
- Stress and fulfillment impact: -30
- Your dynasty: The dynasty gains +10 Renown
If
a check the game hides
Then
- You: You gets …
- You:
grand_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_host_activity_rewards = {
scope:activity = {
if = {
limit = {
has_activity_option = {
category = wedding_option_entertainment
option = wedding_entertainment_good
}
}
root = { add_prestige = 1200 }
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_entertainment
option = wedding_entertainment_normal
}
}
root = { add_prestige = 800 }
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_entertainment
option = wedding_entertainment_bad
}
}
root = { add_prestige = 400 }
}
if = {
limit = {
has_activity_option = {
category = wedding_option_food
option = wedding_food_good
}
}
every_attending_character = {
limit = { this != root }
custom = custom.every_activity_guest
add_opinion = {
target = root
modifier = impressed_opinion
opinion = 30
}
}
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_food
option = wedding_food_normal
}
}
every_attending_character = {
limit = { this != root }
custom = custom.every_activity_guest
add_opinion = {
target = root
modifier = impressed_opinion
opinion = 20
}
}
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_food
option = wedding_food_bad
}
}
every_attending_character = {
limit = { this != root }
custom = custom.every_activity_guest
add_opinion = {
target = root
modifier = impressed_opinion
opinion = 5
}
}
}
if = {
limit = {
has_activity_option = {
category = wedding_option_decoration
option = wedding_decoration_good
}
}
root = {
add_character_modifier = {
modifier = gwedding_magnificent_host_modifier
years = 20
}
if = {
limit = {
any_vassal_or_below = {
vassal_stance = courtly
}
}
every_vassal_or_below = {
vassal_stance = courtly
custom = every_courtly_vassal
add_opinion = {
modifier = hosted_wedding_opinion
target = root
opinion = 30
}
}
}
}
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_decoration
option = wedding_decoration_normal
}
}
root = {
add_character_modifier = {
modifier = gwedding_gracious_host_modifierAs written in game/common/scripted_effects/00_activity_effects.txt.
The first 120 of its 252 lines; the rest is in game/common/scripted_effects/00_activity_effects.txt from line 2267.
Where it is used
Every place in common/, events/ and history/ that calls tooltip_disburse_wedding_host_activity_rewards.
Events (1)
- The Conclusion
ep2_wedding.0950
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.