Added unit decal system for mods/future units

This commit is contained in:
Anuken
2021-08-19 14:20:18 -04:00
parent 558ee579e1
commit a8b423836e
3 changed files with 42 additions and 1 deletions

View File

@@ -537,7 +537,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
//sector notifications & search
c.top().right();
c.defaults().width(280f);
c.defaults().width(290f);
c.button(bundle.get("sectorlist") +
(attacked == 0 ? "" : "\n[red]⚠[lightgray] " + bundle.format("sectorlist.attacked", "[red]" + attacked + "[]")),
@@ -585,6 +585,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
for(Sector sec : all){
if(sec.hasBase() && (searchText.isEmpty() || sec.name().toLowerCase().contains(searchText.toLowerCase()))){
con.button(t -> {
t.marginRight(10f);
t.left();
t.defaults().growX();