Scripted effect · All Under Heaven files
spawn_mandala_realm_task_contract_effect
spawn_mandala_realm_task_contract_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 2494 (8 lines). No parameters.
spawn_mandala_realm_task_contract_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2494 of its file. It takes no parameters: spawn_mandala_realm_task_contract_effect = yes. The game's script calls it in 1 place, among them yearly_playable_pulse (on action). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
The comment above it in the file
Task Contracts Select the Contract Tier (somewhat randomized, based on your Radiance)
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (8 lines of game script)
spawn_mandala_realm_task_contract_effect = {
save_scope_as = mandala_ruler
# Select which contract to create
trigger_event = {
on_action = spawn_mandala_realm_contract_on_action
}
}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 spawn_mandala_realm_task_contract_effect.
On actions (the game's own hooks) (1)
- yearly_playable_pulse
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.