Add new FC aircraft

This commit is contained in:
Raffson
2024-07-14 12:58:26 +02:00
parent 068165c588
commit 6cfe948ef2
5 changed files with 107 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ def aircraft_banner_for(unit_type: AircraftType) -> Path:
name = "Su-30SM"
elif unit_type.dcs_id == "F-15ESE":
name = "F-15E"
elif "_FC" in unit_type.dcs_id:
name = unit_type.dcs_id.replace("_FC", "")
else:
name = unit_type.dcs_id
return AIRCRAFT_BANNERS_BASE / f"{name}.jpg"