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_innovation_setup_effect

tgp_silk_road_innovation_setup_effect = yes

game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt, line 225 (78 lines). No parameters.

tgp_silk_road_innovation_setup_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 225 of its file. It takes no parameters: tgp_silk_road_innovation_setup_effect = yes. The game's script calls it in 1 place, among them on_game_start (on action). 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 (78 lines of game script)
tgp_silk_road_innovation_setup_effect = {
	if = {
		limit = { has_tgp_dlc_trigger = yes }
		# CHAM
		culture:cham = {
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = champa_rice }
		}
		# VIET
		culture:viet = {
			if = {
				limit = {
					game_start_date >= 1066.1.1
				}
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = champa_rice }
			}
		}
		# JAPAN
		culture:japanese = {
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = lacquered_armor }
		}
		# KOREA
		culture:baekje = {
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = lacquered_armor }
		}
		culture:goguryeo = {
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = lacquered_armor }
		}
		culture:silla = {
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = lacquered_armor }
		}
		culture:goryeo = {
			if = {
				limit = {
					game_start_date >= 1066.1.1
				}
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = lacquered_armor }
			}
		}
		# CHINA
		culture:han = {
			# Woodblock scrolls by 868
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = block_printing }
			# Coking by 9th century
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = coking }
			# Woodblock scrolls by 868
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = composite_crossbow }
			# Pre-Tang
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = cupellation }
			# Pre-Tang
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = dragon_kiln }
			# Pre-Tang
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = lacquered_armor }
			# Pre-Tang
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = pharmacopoeia }
			# Pre-Tang
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = sericulture }
			# Pre-Tang
			tgp_silk_road_innovation_setup_add_effect = { INNOVATION = waterworks }
			if = {
				limit = {
					game_start_date >= 1066.1.1
				}
				# Known by Song
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = bulkheads }
				# Introduced to the Song court by 977
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = champa_rice }
				# Lodestone compasses by 1088
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = compass }
				# 10-11th century
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = double_entry_bookkeeping }
				# First edition of the Wujing Zongyao and the first written formulation of weaponized gunpowder
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = fire_medicine }
				# 震天雷 by 1044
				tgp_silk_road_innovation_setup_add_effect = { INNOVATION = grenades }
			}
		}
	}
}

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

Where it is used

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

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

  • on_game_start

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?