diff --git a/darkstat/front/mines.templ b/darkstat/front/mines.templ index 073b4881..de0307d2 100644 --- a/darkstat/front/mines.templ +++ b/darkstat/front/mines.templ @@ -26,6 +26,7 @@ templ MinesT(mines []configs_export.Mine) { Mine Price + Buyable Ammo Price Hull Dmg Shield Dmg @@ -59,6 +60,7 @@ templ MinesT(mines []configs_export.Mine) { > { mine.Name } { strconv.Itoa(mine.Price) } + { strconv.FormatBool(len(mine.Bases) > 0) } { strconv.Itoa(mine.AmmoPrice) } { strconv.Itoa(mine.HullDamage) } { strconv.Itoa(mine.ShieldDamage) } diff --git a/darkstat/front/shields.templ b/darkstat/front/shields.templ index d51d7ca7..11bda519 100644 --- a/darkstat/front/shields.templ +++ b/darkstat/front/shields.templ @@ -29,6 +29,7 @@ templ ShieldT(shields []configs_export.Shield) { Type Technology Price + Buyable Capacity Regen Rate Const Power Draw @@ -57,6 +58,7 @@ templ ShieldT(shields []configs_export.Shield) { { shield.Type } { shield.Technology } { strconv.Itoa(shield.Price) } + { strconv.FormatBool(len(shield.Bases) > 0) } { strconv.Itoa(shield.Capacity) } { strconv.Itoa(shield.RegenerationRate) } { strconv.Itoa(shield.ConstantPowerDraw) }