Scripted effect
invalidation_host_or_special_guest_isolated_effect
invalidation_host_or_special_guest_isolated_effect = yesgame/common/scripted_effects/00_activity_effects.txt, line 4824 (25 lines). No parameters.
invalidation_host_or_special_guest_isolated_effect is a scripted effect in Crusader Kings III, written at line 4824 of its file. It takes no parameters: invalidation_host_or_special_guest_isolated_effect = yes. The game's script calls it in 3 places, among them Coronation (activity), Debate (activity) and Grand Wedding (activity). Patch 1.20.1.2, from game/common/scripted_effects/00_activity_effects.txt.
What it does
If
- scope:activity: Does not have “invalidation effect set” (a variable the game's script sets)
Then
- scope:activity › Every attending character: Event activity_system.0340
• 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 (25 lines of game script)
invalidation_host_or_special_guest_isolated_effect = {
if = {
limit = {
scope:activity = {
NOT = { has_variable = invalidation_effect_set }
}
OR = {
scope:host = {
has_character_modifier = isolating_modifier
}
any_special_guest = {
has_character_modifier = isolating_modifier
}
}
}
scope:activity = {
set_variable = { name = invalidation_effect_set }
activity_type = { save_scope_as = activity_type }
activity_location = { save_scope_as = location }
every_attending_character = {
trigger_event = activity_system.0340
}
}
}
}As written in game/common/scripted_effects/00_activity_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls invalidation_host_or_special_guest_isolated_effect.
Activities (3)
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.