Scripted effect
hosted_successful_feast_interrupted_effect
hosted_successful_feast_interrupted_effect = yesgame/common/scripted_effects/00_feast_scripted_effects.txt, line 264 (22 lines). No parameters.
hosted_successful_feast_interrupted_effect is a scripted effect in Crusader Kings III, written at line 264 of its file. It takes no parameters: hosted_successful_feast_interrupted_effect = yes. The game's script calls it in 1 place, among them End of Festivities (event feast.5004). Patch 1.20.1.2, from game/common/scripted_effects/00_feast_scripted_effects.txt.
What it does
- Gain +150 Prestige
- scope:activity › Every guest:
add_hosted_feast_modifier_towards_character = { CHARACTER = scope:host }
reveler_lifestyle_rank_up_check_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 (22 lines of game script)
hosted_successful_feast_interrupted_effect = {
add_prestige = medium_prestige_gain
scope:activity = {
every_attending_character = {
limit = {
this != scope:host
}
custom = every_guest_scope_tt
add_hosted_feast_modifier_towards_character = { CHARACTER = scope:host }
}
}
reveler_lifestyle_rank_up_check_effect = yes
hidden_effect = {
if = {
limit = { exists = scope:spouse }
add_opinion = { #Your opinion of your Spouse increases, considering they did most of the work
target = scope:spouse
modifier = feast_spouse_hosted_successful_feast_opinion
}
}
}
}As written in game/common/scripted_effects/00_feast_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls hosted_successful_feast_interrupted_effect.
Events (1)
- End of Festivities
feast.5004
Source: game/common/scripted_effects/00_feast_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.