Scripted effect · Coronations files
coronation_add_magnificence_log_effect
coronation_add_magnificence_log_effect = { CHAR = … VALUE = … }game/common/scripted_effects/10_ach_effects.txt, line 3231 (93 lines). Parameters: $CHAR$, $VALUE$.
coronation_add_magnificence_log_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 3231 of its file. A call passes 2 parameters: CHAR and VALUE. The game's script calls it in 59 places, among them … Moment (event coronation_events.1027), … Speaks (event coronation_events.1037) and … Who Defends (event coronation_events.6010). Its body carries 8 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (93 lines of game script)
coronation_add_magnificence_log_effect = {
if = {
limit = {
$CHAR$ != involved_activity.activity_host
}
save_scope_value_as = {
name = magnificence_level
value = $VALUE$
}
$CHAR$ = {
save_scope_as = char
}
hidden_effect = {
involved_activity = {
switch = {
trigger = scope:magnificence_level
flag:positive_massive = {
add_activity_log_entry = {
key = coronation_tt_positive_massive_log
score = 10
tags = { positive }
character = scope:char
custom_tooltip = coronation_tt_positive_massive
}
}
flag:positive_major = {
add_activity_log_entry = {
key = coronation_tt_positive_major_log
score = 10
tags = { positive }
character = scope:char
custom_tooltip = coronation_tt_positive_major
}
}
flag:positive_medium = {
add_activity_log_entry = {
key = coronation_tt_positive_medium_log
score = 10
tags = { positive }
character = scope:char
custom_tooltip = coronation_tt_positive_medium
}
}
flag:positive_tiny = {
add_activity_log_entry = {
key = coronation_tt_positive_tiny_log
score = 10
tags = { positive }
character = scope:char
custom_tooltip = coronation_tt_positive_tiny
}
}
flag:positive_miniscule = {
add_activity_log_entry = {
key = coronation_tt_positive_miniscule_log
score = 10
tags = { positive }
character = scope:char
custom_tooltip = coronation_tt_positive_miniscule
}
}
flag:negative_tiny = {
add_activity_log_entry = {
key = coronation_tt_negative_tiny_log
score = 10
tags = { negative }
character = scope:char
custom_tooltip = coronation_tt_negative_tiny
}
}
flag:negative = {
add_activity_log_entry = {
key = coronation_tt_negative_log
score = 10
tags = { negative }
character = scope:char
custom_tooltip = coronation_tt_negative
}
}
flag:negative_major = {
add_activity_log_entry = {
key = coronation_tt_negative_major_log
score = 10
tags = { negative }
character = scope:char
custom_tooltip = coronation_tt_negative_major
}
}
}
}
}
}
}As written in game/common/scripted_effects/10_ach_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls coronation_add_magnificence_log_effect.
Events (56)
- … Moment
coronation_events.1027 - … Speaks
coronation_events.1037 - … Who Defends
coronation_events.6010 - …s and Commoners
ach_coronation.0013 - A … …
coronation_events_klank.1008 - A Blessed Toast
coronation_events.1015
50 more
- A Bold Gesture
coronation_events.1032 - A Cake to Remember
coronation_events.1026 - A Common Cause
coronation_events.6011 - A Delightful Treat
ach_coronation.0027 - A Fiery Evening
coronation_events.1013 - A Lesson in Impermanence
coronation_events.1040 - A Question of Precedence
coronation_events.1007 - A Quiet Moment
prelude_events.0180 - A Raw Serving
coronation_events.1012 - A Warhound for the …
coronation_events.6020 - A Wonderfully Cultured Crowd
coronation_events_klank.1002 - An Appeal to the Gods
coronation_events.1039 - Captured for Posterity
coronation_events.1030 - Cold Glances
coronation_events.1025 - Concerns Among the Clans
coronation_events.1020 - Encouraging Words
prelude_events.0190 - Feeding Panic
coronation_events.1014 - Fit for a …
prelude_events.0090 - Friends Everywhere
coronation_events.1024 - Grace Upon Your Possessions
prelude_events.0130 - Hail to the …
coronation_events.1023 - Haunting Mockery
coronation_events.1000 - Ill Omens
ach_coronation.0026 - In A Time of Struggle
coronation_events_klank.1009 - In Your Glorious Light
prelude_events.0140 - Jewels of the …
coronation_events.6110 - Legitimate Stupors
ach_coronation.0028 - New Dawns, Old Dungeons
coronation_events_klank.1003 - Opportunity in Libation
coronation_events.1017 - Our Voices and the Ages
coronation_events.6001 - Petitioners
guest_intent_coronation_events.0100 - Promising Buildings
prelude_events.0100 - Questions of Rite and Right
ach_coronation.0012 - Raise the Cup
coronation_events.1016 - Remember Your Friends
prelude_events.0120 - Sacrifice to the Four Altars
coronation_events.1038 - Tales of Wars Lost
coronation_events_klank.1005 - The … Who Became …
coronation_events_klank.1016 - The Ceremony
coronation_events.0205 - The Choir Rises
coronation_events.1031 - The Fate of Persia
coronation_events_klank.1010 - The Forgotten Vow
coronation_events.1029 - The Great Stampede of …
ach_coronation.0015 - The Three Assents
coronation_events.6123 - The Vastness of …
coronation_events_klank.1011 - The Voice of …
prelude_events.0170 - To Drink and Be Merry
ach_coronation.0025 - Unheard
prelude_events.0110 - Wartime Revels
feast_default_jason.100 - Where Is It?
coronation_events.1002
Scripted effects inside an event file (3)
- ach_coronation_0028_success_effect
- coronation_events_6110_artifact_reward_effect
- liege_reward_effect
Source: game/common/scripted_effects/10_ach_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.