Scripted effect
tgp_tributary_setup_effect
tgp_tributary_setup_effect = yesgame/common/scripted_effects/00_tributary_setup_effects.txt, line 1071 (43 lines). No parameters.
tgp_tributary_setup_effect is a scripted effect in Crusader Kings III, written at line 1071 of its file. It takes no parameters: tgp_tributary_setup_effect = yes. The game's script calls it in 1 place, among them setup_tributaries_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_tributary_setup_effects.txt.
What it does
title:h_china.holder:If
current_date >= 851.1.1current_date <= 1036.1.1
Then
title:k_hexi.holder:break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
If
current_date >= 705.1.1current_date <= 926.1.1
Then
title:k_balhae.holder:break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
If
current_date >= 337.1.1current_date <= 935.1.1
Then
title:k_silla.holder:break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
If
current_date >= 866.1.1current_date <= 1132.1.1
Then
title:k_dzungaria.holder:break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
• 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 (43 lines of game script)
tgp_tributary_setup_effect = {
title:h_china.holder ?= {
save_scope_as = suzerain
if = {
limit = { current_date >= 851.1.1 current_date <= 1036.1.1 }
title:k_hexi.holder ?= {
break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
}
}
if = {
limit = { current_date >= 705.1.1 current_date <= 926.1.1 }
title:k_balhae.holder ?= {
break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
}
}
if = {
limit = { current_date >= 337.1.1 current_date <= 935.1.1 }
title:k_silla.holder ?= {
break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
}
}
if = {
limit = { current_date >= 866.1.1 current_date <= 1132.1.1 }
title:k_dzungaria.holder ?= {
break_subject_contract_and_establish_tributary_effect = { SUZERAIN = scope:suzerain TRIBUTARY = this }
}
}
}
if = {
limit = { current_date >= 1178.1.1 }
tgp_1178_tributary_setup_effect = yes
}
else_if = {
limit = { current_date >= 1066.1.1 }
tgp_1066_tributary_setup_effect = yes
}
else_if = {
limit = { current_date >= 867.1.1 }
tgp_867_tributary_setup_effect = yes
}
}As written in game/common/scripted_effects/00_tributary_setup_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_tributary_setup_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_tributary_setup_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.