Scripted effect
single_combat_apply_default_shirtlessness_effect
single_combat_apply_default_shirtlessness_effect = { ATTACKER = … DEFENDER = … }game/common/scripted_effects/00_single_combat_effects.txt, line 379 (14 lines). Parameters: $ATTACKER$, $DEFENDER$.
single_combat_apply_default_shirtlessness_effect is a scripted effect in Crusader Kings III, written at line 379 of its file. A call passes 2 parameters: ATTACKER and DEFENDER. The game's script calls it in 3 places, among them It's Time to D-D-D-D-D-D-D-Duel (event single_combat.1004), Trial-by-Combat: … (event fp1_tbc.0001) and configure_start_single_combat_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
Strip the shirts from characters where appropriate.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (14 lines of game script)
single_combat_apply_default_shirtlessness_effect = {
if = {
limit = {
$ATTACKER$ = { government_has_flag = government_is_tribal }
$DEFENDER$ = { government_has_flag = government_is_tribal }
}
$ATTACKER$ = { add_character_flag = single_combat_stripped_to_waist }
$DEFENDER$ = { add_character_flag = single_combat_stripped_to_waist }
}
else = {
$ATTACKER$ = { add_character_flag = single_combat_duel_armor }
$DEFENDER$ = { add_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_apply_default_shirtlessness_effect.
Events (2)
- It's Time to D-D-D-D-D-D-D-Duel
single_combat.1004 - Trial-by-Combat: …
fp1_tbc.0001
Scripted effects (1)
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.