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

Scripted effect

remove_single_combat_variables_effect

remove_single_combat_variables_effect = yes

game/common/scripted_effects/00_single_combat_effects.txt, line 337 (18 lines). No parameters.

remove_single_combat_variables_effect is a scripted effect in Crusader Kings III, written at line 337 of its file. It takes no parameters: remove_single_combat_variables_effect = yes. The game's script calls it in 1 place, among them remove_single_combat_info_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_single_combat_effects.txt.

The comment above it in the file

Clean up all variables resulting from single combat.

What it does

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

The script as written (18 lines of game script)
remove_single_combat_variables_effect = {
	remove_variable = tier_1_counter
	remove_variable = tier_2_counter
	remove_variable = tier_3_counter
	remove_variable = sc_attacker_success_check
	remove_variable = sc_defender_success_check
	remove_variable = sc_attacker_injury_risk_check
	remove_variable = sc_defender_injury_risk_check
	remove_variable = sc_attacker_injury_bonus
	remove_variable = sc_defender_injury_bonus
	remove_variable = success_threshold
	remove_variable = sc_attacker_injury_risk_score
	remove_variable = sc_attacker_duel_success_score
	remove_variable = sc_defender_injury_risk_score
	remove_variable = sc_defender_duel_success_score
	remove_variable = current_round
	# Note, we don't remove var:engaged_in_single_combat here, as we run this effect at the start of combat for clean-up also.
}

As written in game/common/scripted_effects/00_single_combat_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/00_single_combat_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?