mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-27 11:44:18 +00:00
info overlay
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user