Scripted effect · All Under Heaven files
mandala_no_longer_polytheist_effect
mandala_no_longer_polytheist_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 3400 (21 lines). No parameters.
mandala_no_longer_polytheist_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3400 of its file. It takes no parameters: mandala_no_longer_polytheist_effect = yes. The game's script calls it in 2 places, among them on_death (on action) and on_rite_change (on action). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
If
- Is a ruler
- Government uses the Mandala Capital Temple Complex Great Project and Great Building
- Their faith: Does not have the Polytheist Doctrine
Then
convert_whole_realm_to_feudalism_effect = yes- Every tributary:
end_tributary = yes
• 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 (21 lines of game script)
mandala_no_longer_polytheist_effect = {
if = {
limit = {
is_ruler = yes
government_has_flag = government_is_mandala
faith = {
NOT = { has_doctrine = doctrine_polytheist }
}
}
convert_whole_realm_to_feudalism_effect = yes
hidden_effect = {
every_vassal = {
trigger_event = {
id = major_decisions.0002
days = 3
}
}
}
every_tributary = { end_tributary = yes }
}
}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_no_longer_polytheist_effect.
On actions (the game's own hooks) (2)
- on_death
- on_rite_change
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.