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_fire_china_realm_name_event_effect

tgp_fire_china_realm_name_event_effect = yes

game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt, line 2310 (17 lines). No parameters.

tgp_fire_china_realm_name_event_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2310 of its file. It takes no parameters: tgp_fire_china_realm_name_event_effect = yes. The game's script calls it in 3 places, among them on_rank_up (on action), on_vassal_change (on action) and tgp_fire_china_realm_name_event_for_vassals_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_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 (17 lines of game script)
tgp_fire_china_realm_name_event_effect = {
	if = {
		limit = {
			is_ai = no
		}
		trigger_event = {
			id = tgp_dynastic_cycle.9000
			days = 1 # so the player gets to choose first
		}
	}
	else = {
		trigger_event = {
			id = tgp_dynastic_cycle.9000
			days = 2
		}
	}
}

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

Where it is used

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

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

  • on_rank_up
  • on_vassal_change

Source: game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_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?