Implement friend and foe IFF color change and fix bugs

This commit is contained in:
Squinty 2024-04-26 21:01:10 +00:00
parent 4cead7d985
commit 4c44dc7b30
5 changed files with 43 additions and 9 deletions

View file

@ -40,7 +40,9 @@ theme_override_styles/fill = ExtResource("2_e3xla")
value = 60.0
show_percentage = false
[node name="Chevron" type="Label" parent="IFFContainer"]
[node name="FoeChevron" type="Label" parent="IFFContainer"]
unique_name_in_owner = true
visible = false
layout_direction = 2
layout_mode = 2
size_flags_vertical = 1
@ -52,3 +54,18 @@ theme_override_font_sizes/font_size = 14
text = "▼"
horizontal_alignment = 1
vertical_alignment = 2
[node name="FriendChevron" type="Label" parent="IFFContainer"]
unique_name_in_owner = true
visible = false
layout_direction = 2
layout_mode = 2
size_flags_vertical = 1
theme_override_colors/font_color = Color(0, 1, 0, 0.2)
theme_override_colors/font_outline_color = Color(0, 0, 0, 0.2)
theme_override_constants/outline_size = 3
theme_override_constants/line_spacing = -20
theme_override_font_sizes/font_size = 14
text = "▼"
horizontal_alignment = 1
vertical_alignment = 2