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

tgp_treasury_setup_effect

tgp_treasury_setup_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3335 (6 lines). No parameters.

tgp_treasury_setup_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3335 of its file. It takes no parameters: tgp_treasury_setup_effect = yes. The game's script calls it in 1 place, among them on_game_start_after_lobby (on action). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

What it does

  • If has Treasury:
    • enact_treasury_budgets_init = 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 (6 lines of game script)
tgp_treasury_setup_effect = {
	if = {
		limit = { has_treasury = yes }
		enact_treasury_budgets_init = yes
	}
}

As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

Where it is used

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

On actions (the game's own hooks) (1)

  • on_game_start_after_lobby

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