info overlay

This commit is contained in:
1brucben
2025-06-03 18:30:07 +02:00
parent cc9ad11aff
commit b309922b84
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -390,6 +390,7 @@
"gold": "Gold",
"ports": "Ports",
"cities": "Cities",
"hospitals": "Hospitals",
"missile_launchers": "Missile launchers",
"sams": "SAMs",
"warships": "Warships",
@@ -245,6 +245,10 @@ export class PlayerInfoOverlay extends LitElement implements Layer {
${translateText("player_info_overlay.cities")}:
${player.units(UnitType.City).length}
</div>
<div class="text-sm opacity-80" translate="no">
${translateText("player_info_overlay.hospitals")}:
${player.units(UnitType.Hospital).length}
</div>
<div class="text-sm opacity-80" translate="no">
${translateText("player_info_overlay.missile_launchers")}:
${player.units(UnitType.MissileSilo).length}