Scripted effect
bg_fire_clean_up_and_invalidate_effect
bg_fire_clean_up_and_invalidate_effect = yesgame/common/scripted_effects/00_board_game_effects.txt, line 322 (31 lines). No parameters.
bg_fire_clean_up_and_invalidate_effect is a scripted effect in Crusader Kings III, written at line 322 of its file. It takes no parameters: bg_fire_clean_up_and_invalidate_effect = yes. The game's script calls it in 1 place, among them The Greatest Game: … (event board_games.0001). Patch 1.20.1.2, from game/common/scripted_effects/00_board_game_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (31 lines of game script)
bg_fire_clean_up_and_invalidate_effect = {
remove_engaged_in_board_game_variables_effect = yes
# We try to wing this at scope:bg_defender...
if = {
limit = {
scope:bg_defender = { is_alive = yes }
}
scope:bg_defender = {
trigger_event = { saved_event_id = scope:invalidation_event }
}
}
# ... then scope:bg_attacker...
else_if = {
limit = {
scope:bg_attacker = { is_alive = yes }
}
scope:bg_attacker = {
trigger_event = { saved_event_id = scope:invalidation_event }
}
}
# ... then scope:bg_initiator...
else_if = {
limit = {
scope:bg_initiator = { is_alive = yes }
}
scope:bg_initiator = {
trigger_event = { saved_event_id = scope:invalidation_event }
}
}
# ... then we give up, as somehow *everyone* involved in the board game has died simultaneously.
}As written in game/common/scripted_effects/00_board_game_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls bg_fire_clean_up_and_invalidate_effect.
Events (1)
- The Greatest Game: …
board_games.0001
Source: game/common/scripted_effects/00_board_game_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.