For example:Įvery pre-scripted flag must have a name/key. In vanilla, all pre-scripted flags are defined in common/coat_of_arms/coat_of_arms/00_pre_scripted_countries.txt. The images for the actual emblems and patterns used in flags are located in game/gfx/coat_of_arms with different folders for patterns, colored emblems and textured emblems.
By default, they are organized into different files for prescripted flags and templates for randomly generated flags. Flag scripting (for both pre-scripted flags and autogeneration patterns) is located in game/common/coat_of_arms/coat_of_arms.