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

Scripted trigger · All Under Heaven files

has_unfunded_contribution_in_planned_mandala_capital_trigger

has_unfunded_contribution_in_planned_mandala_capital_trigger = yes

game/common/scripted_triggers/tgp_mandala_triggers.txt, line 263 (18 lines). No parameters.

has_unfunded_contribution_in_planned_mandala_capital_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 263 of its file. It takes no parameters: has_unfunded_contribution_in_planned_mandala_capital_trigger = yes (or no). The game's script calls it in 6 places, among them Coerce Contribution (Scheme) (interaction), Leverage Contribution (Scheme) (interaction) and Coerce Contribution (scheme). Patch 1.20.1.2, from game/common/scripted_triggers/tgp_mandala_triggers.txt.

What it checks

  • Any great project:
    • great_project_owner = scope:owner_check
    • One of these

      • great_project_type = mandala_capital_01
      • or

        great_project_type = mandala_capital_02
      • or

        great_project_type = mandala_capital_03
      • or

        great_project_type = mandala_capital_04
      • or

        great_project_type = mandala_capital_05
    • great_project_construction_phase_is = planned
    • Any contribution:

• 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 (18 lines of game script)
has_unfunded_contribution_in_planned_mandala_capital_trigger = {
	save_temporary_scope_as = owner_check
	any_great_project = {
		great_project_owner = scope:owner_check
		OR = {
			great_project_type = mandala_capital_01
			great_project_type = mandala_capital_02
			great_project_type = mandala_capital_03
			great_project_type = mandala_capital_04
			great_project_type = mandala_capital_05
		}
		great_project_construction_phase_is = planned
		any_contribution = {
			is_owner_only_contribution_trigger = no
			contribution_is_funded = no
		}
	}
}

As written in game/common/scripted_triggers/tgp_mandala_triggers.txt.

Where it is used

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

Schemes (2)

  • Coerce Contribution
  • Leverage Contribution

Story cycles (1)

  • story_mandala

Source: game/common/scripted_triggers/tgp_mandala_triggers.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?