Scripted effect · All Under Heaven files
empty_treasury_when_abandoning_landed_life_effect
empty_treasury_when_abandoning_landed_life_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3914 (14 lines). No parameters.
empty_treasury_when_abandoning_landed_life_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3914 of its file. It takes no parameters: empty_treasury_when_abandoning_landed_life_effect = yes. The game's script calls it in 86 places, among them Return to the Steppe (decision), on_game_start (on action) and c_abydos (history). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
- If treasury more than 0:
remove_treasury = { value = scope:current_treasury }
• 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 (14 lines of game script)
empty_treasury_when_abandoning_landed_life_effect = {
if = {
limit = {
treasury > 0
}
save_scope_value_as = {
name = current_treasury
value = treasury
}
remove_treasury = {
value = scope:current_treasury
}
}
}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 empty_treasury_when_abandoning_landed_life_effect.
Decisions (1)
On actions (the game's own hooks) (1)
- on_game_start
History files (the start of the game) (83)
- c_abydos (titles)
- c_achaia (titles)
- c_aeolis (titles)
- c_aetolia (titles)
- c_aintab (titles)
- c_aytos (titles)
77 more
- c_buthrotum (titles)
- c_cephalonia (titles)
- c_chios (titles)
- c_chonae (titles)
- c_colonea (titles)
- c_constanta (titles)
- c_debar (titles)
- c_demetrias (titles)
- c_dorostorum (titles)
- c_dyrrachion (titles)
- c_euboea (titles)
- c_kalliopolis (titles)
- c_kerch (titles)
- c_korinthos (titles)
- c_laconia (titles)
- c_lecce (titles)
- c_lesbos (titles)
- c_lycandus (titles)
- c_lycaonia (titles)
- c_lycia (titles)
- c_lydia (titles)
- c_malta (titles)
- c_marash (titles)
- c_mesembria (titles)
- c_messenia (titles)
- c_metzovo (titles)
- c_mosynopolis (titles)
- c_naissus (titles)
- c_naxos (titles)
- c_nicopolis (titles)
- c_nicosia (titles)
- c_pacatiana (titles)
- c_pirin (titles)
- c_pomoravlje (titles)
- c_prusa (titles)
- c_rhodos (titles)
- c_samosata (titles)
- c_seleucia (titles)
- c_selge (titles)
- c_sinope (titles)
- c_siracusa (titles)
- c_sredets (titles)
- c_thessalia (titles)
- c_velbazhd (titles)
- c_vidin (titles)
- d_achaia (titles)
- d_aegean_islands (titles)
- d_anatolia (titles)
- d_antioch (titles)
- d_armeniac (titles)
- d_athens (titles)
- d_bucellaria (titles)
- d_bulgaria (titles)
- d_cappadocia (titles)
- d_chaldia (titles)
- d_charsianon (titles)
- d_cibyrrhaeot (titles)
- d_cilicia (titles)
- d_cyprus (titles)
- d_dyrrachion (titles)
- d_edessa (titles)
- d_ephese (titles)
- d_epirus (titles)
- d_krete (titles)
- d_mesopotamia (titles)
- d_opsikion (titles)
- d_optimatoi (titles)
- d_paphlagonia (titles)
- d_philippopolis (titles)
- d_rashka (titles)
- d_sebasteia (titles)
- d_strymon (titles)
- d_syrmia (titles)
- d_thessalonika (titles)
- d_thracesia (titles)
- d_turnovo (titles)
- d_vaspurakan (titles)
Scripted effects (1)
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.