# Allows you to create your own dynamic keys
# to be called in localization.
# defined_text -> this is it, we're defining the text
# text -> a discrete entry that can be picked to display in loc.
# trigger -> determines if a text entry will be picked or not.
# (The triggers need to be valid for the scope the key is called in
# (eg Root or From.From).)
# localization_key -> points to the localization key
# that'll be used if trigger passes

defined_text = {
    name = GetGreyManpowerScore

    text = {
        trigger = { 
            var:global.ASG_grey_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetRedManpowerScore

    text = {
        trigger = { 
            var:global.ASG_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetBlueManpowerScore

    text = {
        trigger = { 
            var:global.ASG_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetGreenManpowerScore

    text = {
        trigger = { 
            var:global.ASG_green_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetLightBlueManpowerScore

    text = {
        trigger = { 
            var:global.ASG_light_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetLightRedManpowerScore

    text = {
        trigger = { 
            var:global.ASG_light_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetLightYellowManpowerScore

    text = {
        trigger = { 
            var:global.ASG_light_yellow_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetLightWhiteManpowerScore

    text = {
        trigger = { 
            var:global.ASG_light_white_curve_tag = { 
                set_temp_variable = { score_var = ASG_manpower_score }
            }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetGreyMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_grey_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetRedMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetBlueMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetGreenMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_green_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightBlueMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_light_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightRedMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_light_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightYellowMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_light_yellow_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightWhiteMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_light_white_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}
defined_text = {
    name = GetAlliesMilitaryScore

    text = {
        trigger = {
			TUR = {		
				set_temp_variable = { score_var = TUR.ASG_military_score_allies }
			}
        }
        localization_key = "ASG_score_loc_2"
    }
}
defined_text = {
    name = GetAxisMilitaryScore

    text = {
        trigger = {
			SPA = {		
				set_temp_variable = { score_var = SPA.ASG_military_score_axis }
			}
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetGreyCivilianScore

    text = {
        trigger = { 
            var:global.ASG_grey_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetRedCivilianScore

    text = {
        trigger = { 
            var:global.ASG_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetBlueCivilianScore

    text = {
        trigger = { 
            var:global.ASG_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetGreenCivilianScore

    text = {
        trigger = { 
            var:global.ASG_green_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightBlueCivilianScore

    text = {
        trigger = { 
            var:global.ASG_light_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightRedCivilianScore

    text = {
        trigger = { 
            var:global.ASG_light_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightYellowCivilianScore

    text = {
        trigger = { 
            var:global.ASG_light_yellow_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetLightWhiteCivilianScore

    text = {
        trigger = { 
            var:global.ASG_light_white_curve_tag = { 
                set_temp_variable = { score_var = ASG_civilian_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}

defined_text = {
    name = GetGreyCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_grey_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetRedCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetBlueCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetGreenCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_green_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetLightBlueCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_light_blue_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetLightRedCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_light_red_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetLightYellowCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_light_yellow_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetLightWhiteCasualtiesScore

    text = {
        trigger = { 
            var:global.ASG_light_white_curve_tag = { 
                set_temp_variable = { score_var = ASG_casualties_score }
            }
        }
        localization_key = "ASG_score_loc_1"
    }
}

defined_text = {
    name = GetMilitaryYLabel1

    text = {
        trigger = { 
                set_temp_variable = { score_var = 100 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_military_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetMilitaryYLabel2

    text = {
        trigger = { 
                set_temp_variable = { score_var = 200 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_military_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetMilitaryYLabel3

    text = {
        trigger = { 
                set_temp_variable = { score_var = 300 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_military_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetMilitaryYLabel4

    text = {
        trigger = { 
                set_temp_variable = { score_var = 400 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_military_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetMilitaryYLabel5

    text = {
        trigger = { 
                set_temp_variable = { score_var = 500 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_military_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetMilitaryYLabel6

    text = {
        trigger = {
                set_temp_variable = { score_var = 600 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_military_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetMilitaryYLabel7

    text = {
        trigger = { 
                set_temp_variable = { score_var = 700 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_military_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCivilianYLabel1

    text = {
        trigger = { 
                set_temp_variable = { score_var = 100 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_civilian_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCivilianYLabel2

    text = {
        trigger = { 
                set_temp_variable = { score_var = 200 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_civilian_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCivilianYLabel3

    text = {
        trigger = { 
                set_temp_variable = { score_var = 300 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_civilian_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCivilianYLabel4

    text = {
        trigger = { 
                set_temp_variable = { score_var = 400 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_civilian_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCivilianYLabel5

    text = {
        trigger = { 
                set_temp_variable = { score_var = 500 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_civilian_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCivilianYLabel6

    text = {
        trigger = { 
                set_temp_variable = { score_var = 600 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_civilian_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCivilianYLabel7

    text = {
        trigger = { 
                set_temp_variable = { score_var = 700 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_civilian_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc
    }
}

defined_text = {
    name = GetCasualtiesYLabel1

    text = {
        trigger = { 
                set_temp_variable = { score_var = 2 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_casualties_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetCasualtiesYLabel2

    text = {
        trigger = { 
                set_temp_variable = { score_var = 4 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_casualties_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetCasualtiesYLabel3

    text = {
        trigger = { 
                set_temp_variable = { score_var = 6 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_casualties_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetCasualtiesYLabel4

    text = {
        trigger = { 
                set_temp_variable = { score_var = 8 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_casualties_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetCasualtiesYLabel5

    text = {
        trigger = { 
                set_temp_variable = { score_var = 10 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_casualties_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetCasualtiesYLabel6

    text = {
        trigger = { 
                set_temp_variable = { score_var = 12 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_casualties_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetCasualtiesYLabel7

    text = {
        trigger = { 
                set_temp_variable = { score_var = 14 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_casualties_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetManpowerYLabel1

    text = {
        trigger = { 
                set_temp_variable = { score_var = 1.5 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_manpower_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetManpowerYLabel2

    text = {
        trigger = { 
                set_temp_variable = { score_var = 3 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_manpower_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetManpowerYLabel3

    text = {
        trigger = { 
                set_temp_variable = { score_var = 4.5 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_manpower_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetManpowerYLabel4

    text = {
        trigger = { 
                set_temp_variable = { score_var = 6 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_manpower_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetManpowerYLabel5

    text = {
        trigger = { 
                set_temp_variable = { score_var = 7.5 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_manpower_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetManpowerYLabel6

    text = {
        trigger = { 
                set_temp_variable = { score_var = 9 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_manpower_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetManpowerYLabel7

    text = {
        trigger = { 
                set_temp_variable = { score_var = 10.5 }
                multiply_temp_variable = {
                    score_var = GLOBAL.ASG_manpower_rendering_scale_factor
                }
        }
        localization_key = ASG_score_loc_million
    }
}

defined_text = {
    name = GetPinkMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_pink_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}
defined_text = {
    name = GetLightGreenMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_light_green_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}
defined_text = {
    name = GetBrownMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_brown_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}
defined_text = {
    name = GetLightOrangeMilitaryScore

    text = {
        trigger = { 
            var:global.ASG_light_orange_curve_tag = { 
                set_temp_variable = { score_var = ASG_military_score }
            }
        }
        localization_key = "ASG_score_loc_2"
    }
}