Scripted effect · All Under Heaven files
tgp_imperial_policy_event_effect
tgp_imperial_policy_event_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3327 (7 lines). No parameters.
tgp_imperial_policy_event_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3327 of its file. It takes no parameters: tgp_imperial_policy_event_effect = yes. The game's script calls it in 6 places, among them Banditry Crackdown (law), Defense Mobilization (law) and Disarmament (law). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
- Every player:
- Where:
top_liege = scope:liege
- Event tgp_japan_general.9300
- Where:
• 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 (7 lines of game script)
tgp_imperial_policy_event_effect = {
save_scope_as = liege
every_player = {
limit = { top_liege = scope:liege }
trigger_event = tgp_japan_general.9300
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_imperial_policy_event_effect.
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.