Scripted effect
diplomacy_foreign_special_1010_court_visit_interesting_relation_outcome_effect
diplomacy_foreign_special_1010_court_visit_interesting_relation_outcome_effect = yesgame/common/scripted_effects/00_diplomacy_lifestyle_effects.txt, line 323 (18 lines). No parameters.
diplomacy_foreign_special_1010_court_visit_interesting_relation_outcome_effect is a scripted effect in Crusader Kings III, written at line 323 of its file. It takes no parameters: diplomacy_foreign_special_1010_court_visit_interesting_relation_outcome_effect = yes. The game's script calls it in 1 place, among them Hospitality: An Odd Request (event diplomacy_foreign_special.1022). Patch 1.20.1.2, from game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt.
What it does
If
scope:private_dinner_outcome = flag:okay
Then
Else if
scope:private_dinner_outcome = flag:befriend
Then
Else if
scope:private_dinner_outcome = flag:manipulate
Then
Else if
scope:private_dinner_outcome = flag:seduce
Then
• 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 (18 lines of game script)
diplomacy_foreign_special_1010_court_visit_interesting_relation_outcome_effect = {
if = {
limit = { scope:private_dinner_outcome = flag:okay }
diplomacy_foreign_special_1010_court_visit_interesting_relation_okay_effect = yes
}
else_if = {
limit = { scope:private_dinner_outcome = flag:befriend }
diplomacy_foreign_special_1010_court_visit_interesting_relation_befriend_effect = yes
}
else_if = {
limit = { scope:private_dinner_outcome = flag:manipulate }
diplomacy_foreign_special_1010_court_visit_interesting_relation_manipulate_effect = yes
}
else_if = {
limit = { scope:private_dinner_outcome = flag:seduce }
diplomacy_foreign_special_1010_court_visit_interesting_relation_seduce_effect = yes
}
}As written in game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls diplomacy_foreign_special_1010_court_visit_interesting_relation_outcome_effect.
Events (1)
- Hospitality: An Odd Request
diplomacy_foreign_special.1022
Source: game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.