Scripted effect · All Under Heaven files
mandala_apply_10_year_modifier
mandala_apply_10_year_modifier = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 2190 (10 lines). No parameters.
mandala_apply_10_year_modifier is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2190 of its file. It takes no parameters: mandala_apply_10_year_modifier = yes. The game's script calls it in 4 places, among them on_became_house_head (on action), on_game_start_after_lobby (on action) and on_house_aspiration_changed (on action). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
The comment above it in the file
Aspect Effects
What it does
- Gains the modifier “Aspect of Creation” for 10 years — increase per period of Construction (max 10)
- Holding Construction Cost -2%
- Building Construction Cost -3%
- Building Construction Time -3%
- Event tgp_east_asia_mandala_events.0010 (after 3651 days)
• 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 (10 lines of game script)
mandala_apply_10_year_modifier = {
add_character_modifier = {
modifier = mandala_creator_modifier
years = 10
}
trigger_event = {
id = tgp_east_asia_mandala_events.0010
days = 3651 # 10 years and 1 day
}
}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_apply_10_year_modifier.
On actions (the game's own hooks) (3)
- on_became_house_head
- on_game_start_after_lobby
- on_house_aspiration_changed
Scripted effects (1)
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.