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

Scripted effect · Legacy of Persia files

opinion_based_on_sky_burial_viewpoint_for_relatives_scripted_effect

opinion_based_on_sky_burial_viewpoint_for_relatives_scripted_effect = yes

game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt, line 139 (43 lines). No parameters.

opinion_based_on_sky_burial_viewpoint_for_relatives_scripted_effect is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 139 of its file. It takes no parameters: opinion_based_on_sky_burial_viewpoint_for_relatives_scripted_effect = yes. The game's script calls it in 1 place, among them The Return to the Sky (event fp3_yearly.8024). Patch 1.20.1.2, from game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt.

What it does

  • If

    • One of these

      • Their rite: The rite has Rulers can give their ancestors a Sky Burial, gaining Piety and pleasing their Vassals
      • or

        Has the Trait: Compassionate
      • or

        Has the Trait: Cynical
      • or

        Has the Trait: Trusting
      • or

        Has the Trait: Forgiving
      • or

        All of these

        • None of these

          • Their rite: The rite has Rulers can give their ancestors a Sky Burial, gaining Piety and pleasing their Vassals
        • Ai compassion at least 35
        • Ai zeal at most 35
      • or

        All of these

        • None of these

          • Their rite: The rite has Rulers can give their ancestors a Sky Burial, gaining Piety and pleasing their Vassals
        • Their rite: Has the Pluralist Doctrine
        • Ai zeal at most 35

    Then

    • Opinion: Benevolent (+20)
  • Else, if ai zeal more than 35: Opinion: Blasphemous Practices (-30)
  • Otherwise: Opinion: Practices Strange Rituals (-10)

• 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 (43 lines of game script)
opinion_based_on_sky_burial_viewpoint_for_relatives_scripted_effect = {
	if = {
		limit = {
			OR = {
				rite = { rite_has_parameter = sky_burials_active }
				has_trait = compassionate
				has_trait = cynical
				has_trait = trusting 
				has_trait = forgiving 
				AND = {
					NOT = {	rite = { rite_has_parameter = sky_burials_active }	}
					ai_compassion >= medium_positive_ai_value
					ai_zeal <= medium_positive_ai_value
				}
				AND = {
					NOT = {	rite = { rite_has_parameter = sky_burials_active }	}
					rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
					ai_zeal <= medium_positive_ai_value
				}
			}	
		}
		add_opinion = { 
			target = root
			opinion = 20
			modifier = fp3_benevolent_opinion
		}
	}
	else_if = {
		limit = { ai_zeal > medium_positive_ai_value }
		add_opinion = { 
			target = root
			opinion = -30
			modifier = fp3_blasphemous_practices_opinion 
		}
	}
	else = {
		add_opinion = { 
			target = root
			opinion = -10
			modifier = fp3_strange_rituals_opinion 
		}
	}
}

As written in game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt.

Where it is used

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

Events (1)

Source: game/common/scripted_effects/01_dlc_fp3_scripted_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?