defined_text = {
    name = colour_support_uprising
    text = {
        trigger = {
            check_variable = { support_for_the_uprising < 50 }
        }
        localization_key = red
    }
    text = {
        trigger = {
            check_variable = { support_for_the_uprising < 100 }
        }
        localization_key = yellow
    }
    text = {
        localization_key = green
    }
}
defined_text = {
    name = colour_mafia_power
    text = {
        trigger = {
            check_variable = { mafia_power > 74 }
        }
        localization_key = red
    }
    text = {
        trigger = {
            check_variable = { mafia_power < 75 }
			check_variable = { mafia_power > 49 }
        }
        localization_key = orange
    }
	
	text = {
        trigger = {
            check_variable = { mafia_power < 50 }
			check_variable = { mafia_power > 24 }
        }
        localization_key = yellow
    }
	text = {
        trigger = {
            check_variable = { mafia_power < 25 }
			check_variable = { mafia_power > 0 }
        }
        localization_key = green
    }
	text = {
        trigger = {
            check_variable = { mafia_power = 0 }
        }
        localization_key = white
    }
}

defined_text = {
    name = colour_left_opposition_power
    text = {
        trigger = {
            check_variable = { left_opposition_power > 74 }
        }
        localization_key = red
    }
    text = {
        trigger = {
            check_variable = { left_opposition_power < 75 }
			check_variable = { left_opposition_power > 49 }
        }
        localization_key = orange
    }
	
	text = {
        trigger = {
            check_variable = { left_opposition_power < 50 }
			check_variable = { left_opposition_power > 24 }
        }
        localization_key = yellow
    }
	text = {
        trigger = {
            check_variable = { left_opposition_power < 25 }
			check_variable = { left_opposition_power > 0 }
        }
        localization_key = green
    }
	text = {
        trigger = {
            check_variable = { left_opposition_power = 0 }
        }
        localization_key = white
    }
}

defined_text = {
    name = colour_right_opposition_power
    text = {
        trigger = {
            check_variable = { right_opposition_power > 74 }
        }
        localization_key = red
    }
    text = {
        trigger = {
            check_variable = { right_opposition_power < 75 }
			check_variable = { right_opposition_power > 49 }
        }
        localization_key = orange
    }
	
	text = {
        trigger = {
            check_variable = { right_opposition_power < 50 }
			check_variable = { right_opposition_power > 24 }
        }
        localization_key = yellow
    }
	text = {
        trigger = {
            check_variable = { right_opposition_power < 25 }
			check_variable = { right_opposition_power > 0 }
        }
        localization_key = green
    }
	text = {
        trigger = {
            check_variable = { right_opposition_power = 0 }
        }
        localization_key = white
    }
}


defined_text = {
    name = vat_get_ruling_party
    text = {
        trigger = {
            has_government = neutrality
        }
        localization_key = "neutrality_drift"
    }
    text = {
        trigger = {
            has_government = democratic
        }
        localization_key = "democratic_drift"
    }
    text = {
        trigger = {
            has_government = fascism
        }
        localization_key = "fascism_drift"
    }
}

defined_text = {
    name = colour_german_relations
    text = {
        trigger = {
            check_variable = { vat_german_relations = 0 }
        }
        localization_key = ""
    }
    text = {
        trigger = {
            check_variable = { vat_german_relations < 10 }
        }
        localization_key = red
    }
    text = {
        trigger = {
            check_variable = { vat_german_relations < 50 }
        }
        localization_key = yellow
    }
    text = {
        localization_key = green
    }
}

defined_text = {
    name = colour_german_influence
    text = {
        trigger = {
            check_variable = { vat_german_influence = 0 }
        }
        localization_key = ""
    }
    text = {
        trigger = {
            check_variable = { vat_german_influence < 10 }
        }
        localization_key = red
    }
    text = {
        trigger = {
            check_variable = { vat_german_influence < 50 }
        }
        localization_key = yellow
    }
    text = {
        localization_key = green
    }
}

defined_text = {
    name = balkans_reich_influence_text
    text = {
        trigger = {
            BUL = { VAT_check_odd_reich_balkans_influence_visible = yes }
            ROM = { VAT_check_odd_reich_balkans_influence_visible = yes }
            has_completed_focus = VAT_the_bulgarian_question
            has_completed_focus = VAT_the_romanian_compromise
        }
        localization_key = "odd_bulgaria_and_romania_reich_influence_tt"
    }
    text = {
        trigger = {
            BUL = { VAT_check_odd_reich_balkans_influence_visible = yes }
            has_completed_focus = VAT_the_bulgarian_question
        }
        localization_key = "odd_bulgaria_reich_influence_tt"
    }
    text = {
        trigger = {
            ROM = { VAT_check_odd_reich_balkans_influence_visible = yes }
        }
        localization_key = "odd_romania_reich_influence_tt"
    }
    text = {
        localization_key = ""
    }
}


defined_text = {
    name = vat_odd_north_america_unlock_condition
    text = {
        trigger = {
            NOT = { has_completed_focus = VAT_the_north_american_branch_of_odd }
        }
        localization_key = "odd_north_america_tooltip_unlock_condition"
    }
    text = {
        localization_key = ""
    }
}

defined_text = {
    name = vat_odd_south_america_unlock_condition
    text = {
        trigger = {
            NOT = { has_completed_focus = VAT_the_south_american_branch_of_odd }
        }
        localization_key = "odd_south_america_tooltip_unlock_condition"
    }
    text = {
        localization_key = ""
    }
}

defined_text = {
    name = vat_odd_balkans_unlock_condition
    text = {
        trigger = {
            NOT = { has_completed_focus = VAT_the_balkan_branch_of_odd }
        }
        localization_key = "odd_balkans_tooltip_unlock_condition"
    }
    text = {
        localization_key = ""
    }
}