Scripted trigger · All Under Heaven files
should_use_asian_maa_graphics
should_use_asian_maa_graphics = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 710 (9 lines). No parameters.
should_use_asian_maa_graphics is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 710 of its file. It takes no parameters: should_use_asian_maa_graphics = yes (or no). The game's script calls it in 20 places, among them Armored Footmen (men at arms types), Armored Horsemen (men at arms types) and Bowmen (men at arms types). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
One of these
has_unit_gfx = chinese_unit_gfxor
has_unit_gfx = japanese_unit_gfxor
has_unit_gfx = indian_unit_gfxor
has_unit_gfx = southeast_asian_unit_gfxor
has_unit_gfx = mongol_unit_gfx
• 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 (9 lines of game script)
should_use_asian_maa_graphics = {
OR = {
has_unit_gfx = chinese_unit_gfx
has_unit_gfx = japanese_unit_gfx
has_unit_gfx = indian_unit_gfx
has_unit_gfx = southeast_asian_unit_gfx
has_unit_gfx = mongol_unit_gfx
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls should_use_asian_maa_graphics.
Men at arms types (20)
- Armored Footmen
- Armored Horsemen
- Bowmen
- Crossbowmen
- House Guard
- Light Footmen
14 more
- Light Horsemen
- Order Foot Knights
- Order Knights
- Pikemen
- Pikemen Militia
- Retinue Archers
- Retinue Crossbowmen
- Retinue Handgunners
- Retinue Lancers
- Retinue Outriders
- Retinue Pikemen
- Retinue Skirmishers
- Retinue Vanguard
- Teulu
Source: game/common/scripted_triggers/10_tgp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.