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_silk_road_downstream_peace_message_effect

tgp_silk_road_downstream_peace_message_effect = yes

game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt, line 178 (41 lines). No parameters.

tgp_silk_road_downstream_peace_message_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 178 of its file. It takes no parameters: tgp_silk_road_downstream_peace_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

• 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_peace_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_peace_good
				title = msg_silk_road_prosperity_upstream_peace
				desc = tgp_silk_road_move_sub_region_towards_exceptional_bounty_tt
				scope:player_sub_region_temp = {
					if = {
						limit = { sub_region_current_phase = phase_hardship }
						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_exceptional_bounty }
						}
						if = {
							limit = { this = scope:origin_sub_region_temp }
							custom_tooltip = tgp_silk_road_move_sub_region_towards_exceptional_bounty_primary_tt
						}
						else_if = {
							limit = { is_in_list = second_sub_regions }
							custom_tooltip = tgp_silk_road_move_sub_region_towards_exceptional_bounty_secondary_tt
						}
						else = { custom_tooltip = tgp_silk_road_move_sub_region_towards_exceptional_bounty_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.

Spotted a mistake on this page?