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

Scripted effect

take_vows_demand_effect

take_vows_demand_effect = yes

game/common/scripted_effects/00_holy_order_effects.txt, line 1017 (74 lines). No parameters.

take_vows_demand_effect is a scripted effect in Crusader Kings III, written at line 1017 of its file. It takes no parameters: take_vows_demand_effect = yes. The game's script calls it in 7 places, among them Ask to Join Military Order (interaction), Ask to Take Monastic Vows (interaction) and Ask to Take Vows (interaction). Patch 1.20.1.2, from game/common/scripted_effects/00_holy_order_effects.txt.

What it does

  • If

    • scope:recipient:
      • is_heir_of = scope:puppet_or_actor

    Then

    • Tyranny +10
  • scope:recipient:
    • If

      Then

      Otherwise

      • If

        • Not all of these

          • Has the Trait: Bastard
          • Ai vengefulness less than 20
          • Ai greed less than 20
          • Ai zeal more than -20

        Then

    • Every Parent:
      • Where:
        • None of these

          • this = scope:puppet_or_actor
          • Any child:
            • NOT = { this = scope:recipient }
            • is_heir_of = scope:puppet_or_actor
          • Has the Trait: Zealous
      • Opinion: Forced Child to Take Vows

• 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 (74 lines of game script)
take_vows_demand_effect = {
	if = {
		limit = {
			scope:recipient = {
				is_heir_of = scope:puppet_or_actor
			}
		}
		add_tyranny = medium_tyranny_gain
	}
	
	scope:recipient = {
		if = {
			limit = {
				NOT = {
					has_relation_rival = scope:puppet_or_actor
				}
				OR = {
					ai_zeal <= low_negative_ai_value
					ai_greed >= low_positive_ai_value
					ai_vengefulness >= low_positive_ai_value
				}
				NOR = {
					has_trait = forgiving
					has_trait = craven
					has_trait = zealous
					has_trait = content
					has_trait = humble
					has_trait = bastard
				}
			}
			set_relation_rival = {
				target = scope:puppet_or_actor
				reason = rival_forced_to_take_vows
			}
		}
		else = {
			if = {
				limit = {
					#Bastards with decently matching personality don't see this as betrayal
					NAND = {
						has_trait = bastard
						ai_vengefulness < low_positive_ai_value
						ai_greed < low_positive_ai_value
						ai_zeal > low_negative_ai_value
					}
				}
				progress_towards_rival_effect = {
					CHARACTER = scope:puppet_or_actor
					REASON = rival_forced_to_take_vows
					OPINION = 0
				}
			}
		}
		every_parent = {
			limit = {
				NOR = {
					this = scope:puppet_or_actor
					#Doesn't have other kid in root's line succession
					any_child = {
						NOT = {
							this = scope:recipient
						}
						is_heir_of = scope:puppet_or_actor
					}
					has_trait = zealous
				}
			}
			add_opinion = {
				modifier = forced_child_take_vows
				target = scope:puppet_or_actor
			}
		}
	}
}

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

Where it is used

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

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