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_raid_effect

tgp_silk_road_raid_effect = yes

game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt, line 473 (19 lines). No parameters.

tgp_silk_road_raid_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 473 of its file. It takes no parameters: tgp_silk_road_raid_effect = yes. The game's script calls it in 1 place, among them on_raid_action_completion (on action). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_silk_road_scripted_effects.txt.

What it does

  • If

    • Their province: Is in the Silk Road region

    Then

    • One random county situation:
      • Where:
        • situation_type = silk_road_situation
        • situation_has_catalyst = catalyst_silk_road_raided
      • Counts toward the situation's next phase: “The Silk Road has been raided”

• 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 (19 lines of game script)
tgp_silk_road_raid_effect = { # county scope
	if = {
		limit = {
			title_province = { geographical_region = dlc_tgp_silk_road_route_region } # the actual route
		}
		save_scope_as = county_temp
		random_county_situation = {
			limit = {
				situation_type = silk_road_situation
				situation_has_catalyst = catalyst_silk_road_raided
			}
			trigger_situation_catalyst = {
				catalyst = catalyst_silk_road_raided
				county = scope:county_temp
				character = scope:raider
			}
		}
	}
}

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_raid_effect.

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

  • on_raid_action_completion

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?