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

Scripted effect · All Under Heaven files

mandala_contributor_destruction_aspect_reward_effect

mandala_contributor_destruction_aspect_reward_effect = yes

game/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 538 (20 lines). No parameters.

mandala_contributor_destruction_aspect_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 538 of its file. It takes no parameters: mandala_contributor_destruction_aspect_reward_effect = yes. The game's script calls it in 2 places, among them mandala_capital_03 (great project) and contributed_destruction_aspect_effect (scripted effect). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

What it does

  • add_martial_skill = 1
  • If a check the game hides passes: the same again (1 line)
    • Holding of … gains Statues of Destruction

    Otherwise

    • Holding of … gains Statues of Destruction

• 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 (20 lines of game script)
mandala_contributor_destruction_aspect_reward_effect = {
	add_martial_skill = 1
	if = {
		limit = { exists = scope:province }
		custom_tooltip = mandala_contributor_destruction_aspect_statues_reward_province_effect_tt
		hidden_effect = {
			scope:province = {
				add_province_modifier = { modifier = mandala_destruction_aspect_statues_modifier }
			}
		}
	}
	else = {
		custom_tooltip = mandala_contributor_destruction_aspect_statues_reward_effect_tt
		hidden_effect = {
			scope:owner.capital_province = {
				add_province_modifier = { modifier = mandala_destruction_aspect_statues_modifier }
			}
		}	
	}
}

As written in game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

Where it is used

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

Great projects (1)

  • mandala_capital_03

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