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

Scripted effect

learn_commander_trait_final_test_duel_effect

learn_commander_trait_final_test_duel_effect = yes

game/common/scripted_effects/00_martial_lifestyle_effects.txt, line 881 (25 lines). No parameters.

learn_commander_trait_final_test_duel_effect is a scripted effect in Crusader Kings III, written at line 881 of its file. It takes no parameters: learn_commander_trait_final_test_duel_effect = yes. The game's script calls it in 2 places, among them A Supply of Knowledge (event learn_commander_trait.1201) and On My Own (event learn_commander_trait.1291). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_martial_lifestyle_effects.txt.

What it does

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

The script as written (25 lines of game script)
learn_commander_trait_final_test_duel_effect = {
	duel = {
		skill = martial
		value = 10
		10 = {
			compare_modifier = {
				value = scope:duel_value
			}
			desc = learn_commander_trait_final_test_success
			custom_tooltip = learn_commander_trait_final_test_success_tt
			trigger_event = {
				on_action = learn_commander_trait_success
				days = 1
			}
		}
		10 = {
			desc = learn_commander_trait_final_test_failure
			custom_tooltip = learn_commander_trait_final_test_failure_tt
			trigger_event = {
				on_action = learn_commander_trait_failure
				days = 1
			}
		}
	}
}

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

Where it is used

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

Events (2)

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