How do i add tiny flags to display variables onto decisions
As in with the UK/Germany flags and the numbers next to them?
This isn't something the site currently has the ability to add. However, if you wanted to add similar code, you would need to add this to the decision's category:
custom_icon = {
tag = ENG
value = eng_gateway_to_europe_icon_value
desc = eng_gateway_to_europe_full_influence_breakdown
visible = {
country_exists = ENG
}
}
custom_icon = {
tag = GER
value = ger_gateway_to_europe_icon_value
desc = ger_gateway_to_europe_full_influence_breakdown
visible = {
country_exists = GER
}
}
The line:
tag = X
is which flag to show
value = X
Is the value of a variable to show
desc = X
Is the localisation key to show when hovered over
visible = { }
Are the conditions met for the icon to be visible
agoosecalledjustin
So I'm trying to figure out how to make a tiny flag like in the decision "gateway to europe" with the little british and german flags. How do i do it?