Scripted effect · All Under Heaven files
tgp_silk_road_downstream_war_message_effect
tgp_silk_road_downstream_war_message_effect = yesgame/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt, line 119 (41 lines). No parameters.
tgp_silk_road_downstream_war_message_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 119 of its file. It takes no parameters: tgp_silk_road_downstream_war_message_effect = yes. No file of common/, events/ or history/ calls it. Its body carries 6 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt.
What it does
- Every player:
tgp_silk_road_downstream_player_sub_region_effect = yesIf
a check the game hides
Then
scope:player_sub_region_temp:
• 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 (41 lines of game script)
tgp_silk_road_downstream_war_message_effect = {
every_player = {
tgp_silk_road_downstream_player_sub_region_effect = yes
if = {
limit = { exists = scope:player_sub_region_temp }
send_interface_message = {
type = msg_silk_road_prosperity_war_bad
title = msg_silk_road_prosperity_upstream_war
desc = tgp_silk_road_move_sub_region_towards_hardship_tt
scope:player_sub_region_temp = {
if = {
limit = { sub_region_current_phase = phase_exceptional_bounty }
if = {
limit = { this = scope:origin_sub_region_temp }
custom_tooltip = tgp_silk_road_move_sub_region_towards_steady_trading_primary_tt
}
else_if = {
limit = { is_in_list = second_sub_regions }
custom_tooltip = tgp_silk_road_move_sub_region_towards_steady_trading_secondary_tt
}
else = { custom_tooltip = tgp_silk_road_move_sub_region_towards_steady_trading_tertiary_tt }
}
else_if = {
limit = {
NOT = { sub_region_current_phase = phase_hardship }
}
if = {
limit = { this = scope:origin_sub_region_temp }
custom_tooltip = tgp_silk_road_move_sub_region_towards_hardship_primary_tt
}
else_if = {
limit = { is_in_list = second_sub_regions }
custom_tooltip = tgp_silk_road_move_sub_region_towards_hardship_secondary_tt
}
else = { custom_tooltip = tgp_silk_road_move_sub_region_towards_hardship_tertiary_tt }
}
}
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.