CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · All Under Heaven files

debate_cleanup_effect

debate_cleanup_effect = yes

game/common/scripted_effects/tgp_debate_scripted_effects.txt, line 695 (15 lines). No parameters.

debate_cleanup_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 695 of its file. It takes no parameters: debate_cleanup_effect = yes. The game's script calls it in 2 places, among them Debate (activity) and Canceled Debate (event debate_event.1100). Patch 1.20.1.2, from game/common/scripted_effects/tgp_debate_scripted_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (15 lines of game script)
debate_cleanup_effect = {
    if = {
        limit = {
            has_variable = tgp_debate_success_score
        }
        set_variable = {
            name = tgp_debate_success_score
            value = var:tgp_debate_success_score
            days = 60
        }
    }
    # Debates
    remove_variable ?= debate_selected_tactic
    remove_variable ?= debate_crowd_sentiment
}

As written in game/common/scripted_effects/tgp_debate_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls debate_cleanup_effect.

Activities (1)

Events (1)

Source: game/common/scripted_effects/tgp_debate_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?