Scripted effect
invalidation_nobody_present_effect
invalidation_nobody_present_effect = yesgame/common/scripted_effects/00_activity_effects.txt, line 4786 (16 lines). No parameters.
invalidation_nobody_present_effect is a scripted effect in Crusader Kings III, written at line 4786 of its file. It takes no parameters: invalidation_nobody_present_effect = yes. The game's script calls it in 14 places, among them Blót (activity), Camp Revelry (activity) and Capital Examination (activity). Patch 1.20.1.2, from game/common/scripted_effects/00_activity_effects.txt.
What it does
If
scope:activity:has_attending_activity_guests = no- Does not have “invalidation effect set” (a variable the game's script sets)
Then
- scope:host: Event activity_system.0100
• 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 (16 lines of game script)
invalidation_nobody_present_effect = {
if = {
limit = {
scope:activity = {
has_attending_activity_guests = no
NOT = { has_variable = invalidation_effect_set }
}
}
scope:activity = {
set_variable = { name = invalidation_effect_set }
activity_type = { save_scope_as = activity_type }
activity_location = { save_scope_as = location }
}
scope:host = { trigger_event = activity_system.0100 }
}
}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_nobody_present_effect.
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.