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

Scripted trigger

this_is_martial_society_trigger

this_is_martial_society_trigger = yes

game/common/scripted_triggers/00_elective_triggers.txt, line 40 (24 lines). No parameters.

this_is_martial_society_trigger is a scripted trigger in Crusader Kings III, written at line 40 of its file. It takes no parameters: this_is_martial_society_trigger = yes (or no). The game's script calls it in 4 places, among them elector_voting_pattern_circumstances_feudal_elective_modifier (scripted modifier), elector_voting_pattern_circumstances_gaelic_elective_modifier (scripted modifier) and elector_voting_pattern_circumstances_tribal_elective_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/00_elective_triggers.txt.

What it checks

  • Their rite:
    • The rite does not have the tenet Pacifism
    • The rite does not have the tenet Dharmic Pacifism
  • One of these

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (24 lines of game script)
this_is_martial_society_trigger = {
	rite = {
		NOR = {
			rite_has_tenet = tenet_pacifism
			rite_has_tenet = tenet_dharmic_pacifism
		}
	}
	OR = {
		government_has_flag = government_is_clan
		government_has_flag = government_is_tribal
		government_has_flag = government_is_mercenary
		government_has_flag = government_is_military_holy_order
		rite = {
			OR = {
				rite_has_parameter = great_holy_wars_active
				rite_has_parameter = great_holy_wars_active_if_reformed
				rite_has_parameter = cheaper_holy_wars_active
			}
		}
		culture = {
			has_cultural_tradition = tradition_tgp_bushido
		}
	}
}

As written in game/common/scripted_triggers/00_elective_triggers.txt.

Where it is used

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

Scripted modifiers (AI weights) (4)

  • elector_voting_pattern_circumstances_feudal_elective_modifier
  • elector_voting_pattern_circumstances_gaelic_elective_modifier
  • elector_voting_pattern_circumstances_tribal_elective_modifier
  • elector_voting_pattern_traits_feudal_elective_modifier

Source: game/common/scripted_triggers/00_elective_triggers.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?