Scripted effect
disburse_wedding_spouse_host_activity_rewards
disburse_wedding_spouse_host_activity_rewards = yesgame/common/scripted_effects/00_activity_effects.txt, line 2699 (96 lines). No parameters.
disburse_wedding_spouse_host_activity_rewards is a scripted effect in Crusader Kings III, written at line 2699 of its file. It takes no parameters: disburse_wedding_spouse_host_activity_rewards = yes. The game's script calls it in 2 places, among them Grand Wedding (activity) and The Conclusion (event ep2_wedding.0950). Its body carries 2 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_decoration option = wedding_decoration_good }
Then
- Activity log entry › scope:root_scope:
- Gains the modifier “Celebrated a Magnificent Wedding” for 20 years
Else if
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_normal }
Then
- The magnificence of the wedding venue seemed appropriate.
- Activity log entry › scope:root_scope:
- Gains the modifier “Celebrated a Grandiose Wedding” for 20 years
Else if
has_activity_option = { category = wedding_option_decoration option = wedding_decoration_bad }
Then
- The magnificence of the wedding venue felt lacking.
- Activity log entry › scope:root_scope:
- Gains the modifier “Celebrated a Grand Wedding” for 20 years
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 (96 lines of game script)
disburse_wedding_spouse_host_activity_rewards = {
# for the loc
save_scope_as = root_scope
if = {
limit = {
root = scope:spouse_1
}
scope:spouse_2 = { save_scope_as = other_spouse }
}
else_if = {
limit = {
root = scope:spouse_2
}
scope:spouse_1 = { save_scope_as = other_spouse }
}
scope:activity = {
if = {
limit = {
has_activity_option = {
category = wedding_option_decoration
option = wedding_decoration_good
}
}
add_activity_log_entry = {
key = host_wedding_decoration_good
tags = { completed }
score = 100
# this line below adds the entry to the Effects section of the conclusion UI
show_in_conclusion = yes
character = scope:root_scope
target = scope:other_spouse
scope:root_scope = {
add_character_modifier = {
modifier = gwedding_magnificent_wedding_modifier
years = 20
}
}
}
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_decoration
option = wedding_decoration_normal
}
}
custom_tooltip = host_wedding_decoration_normal
add_activity_log_entry = {
key = host_wedding_decoration_normal
tags = { completed }
score = 100
# this line below adds the entry to the Effects section of the conclusion UI
show_in_conclusion = yes
character = scope:root_scope
target = scope:other_spouse
scope:root_scope = {
add_character_modifier = {
modifier = gwedding_grandiose_wedding_modifier
years = 20
}
}
}
}
else_if = {
limit = {
has_activity_option = {
category = wedding_option_decoration
option = wedding_decoration_bad
}
}
custom_tooltip = host_wedding_decoration_bad
add_activity_log_entry = {
key = host_wedding_decoration_bad
tags = { completed }
score = 100
# this line below adds the entry to the Effects section of the conclusion UI
show_in_conclusion = yes
character = scope:root_scope
target = scope:other_spouse
scope:root_scope = {
add_character_modifier = {
modifier = gwedding_grand_wedding_modifier
years = 20
}
}
}
}
}
# LEGITIMACY GAIN FOR GRAND ACTIVITY PARTICIPATION - WEDDING
grand_activity_participation_legitimacy_effect = yes
}As written in game/common/scripted_effects/00_activity_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls disburse_wedding_spouse_host_activity_rewards.
Activities (1)
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.