Scripted effect
diplomacy_foreign_special_1010_court_visit_interesting_relation_okay_effect
diplomacy_foreign_special_1010_court_visit_interesting_relation_okay_effect = yesgame/common/scripted_effects/00_diplomacy_lifestyle_effects.txt, line 215 (14 lines). No parameters.
diplomacy_foreign_special_1010_court_visit_interesting_relation_okay_effect is a scripted effect in Crusader Kings III, written at line 215 of its file. It takes no parameters: diplomacy_foreign_special_1010_court_visit_interesting_relation_okay_effect = yes. The game's script calls it in 2 places, among them Hospitality: Unfounded Suspicion (event diplomacy_foreign_special.1023) and diplomacy_foreign_special_1010_court_visit_interesting_relation_outcome_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_diplomacy_lifestyle_effects.txt.
What it does
scope:foreign_guest:- Opinion: Friendly (+15)
reverse_add_opinion = { target = scope:interesting_relation modifier = friendliness_opinion opinion = 15 }
• 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 (14 lines of game script)
diplomacy_foreign_special_1010_court_visit_interesting_relation_okay_effect = {
scope:foreign_guest = {
add_opinion = {
target = scope:interesting_relation
modifier = friendliness_opinion
opinion = 15
}
reverse_add_opinion = {
target = scope:interesting_relation
modifier = friendliness_opinion
opinion = 15
}
}
}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_okay_effect.
Events (1)
- Hospitality: Unfounded Suspicion
diplomacy_foreign_special.1023
Scripted effects (1)
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.