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

Scripted effect

single_combat_clean_shirtlessness_effect

single_combat_clean_shirtlessness_effect = { ATTACKER = … DEFENDER = … }

game/common/scripted_effects/00_single_combat_effects.txt, line 395 (22 lines). Parameters: $ATTACKER$, $DEFENDER$.

single_combat_clean_shirtlessness_effect is a scripted effect in Crusader Kings III, written at line 395 of its file. A call passes 2 parameters: ATTACKER and DEFENDER. The game's script calls it in 8 places, among them diarchy.9029 (event), fp1_tbc.0011 (event) and fp1_tbc.0021 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_single_combat_effects.txt.

The comment above it in the file

Let everyone put their shirts back on.

What it does

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

The script as written (22 lines of game script)
single_combat_clean_shirtlessness_effect = {
	$ATTACKER$ = {
		if = {
			limit = { has_character_flag = single_combat_stripped_to_waist }
			remove_character_flag = single_combat_stripped_to_waist
		}
		else_if = {
			limit = { has_character_flag = single_combat_duel_armor }
			remove_character_flag = single_combat_duel_armor
		}
	}
	$DEFENDER$ = {
		if = {
			limit = { has_character_flag = single_combat_stripped_to_waist }
			remove_character_flag = single_combat_stripped_to_waist
		}
		else_if = {
			limit = { has_character_flag = single_combat_duel_armor }
			remove_character_flag = single_combat_duel_armor
		}
	}
}

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 single_combat_clean_shirtlessness_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?