Many campaign changes

This commit is contained in:
Anuken
2020-05-16 16:11:53 -04:00
parent d110fe5ea3
commit bdbc8ab6d2
12 changed files with 250 additions and 14 deletions

View File

@@ -281,9 +281,9 @@ public class PlanetDialog extends FloatingDialog{
if(selectAlpha > 0.01f){
float stroke = 0.026f;
if(sec.save != null){
if(sec.hasBase()){
drawSelection(sec, Tmp.c1.set(Team.sharded.color).a(selectAlpha), stroke, -0.01f);
}else if(sec.hostility >= 0.02f){
}else if(sec.hasEnemyBase()){
drawSelection(sec, Tmp.c1.set(Team.crux.color).a(selectAlpha), stroke, -0.02f);
}
}
@@ -380,6 +380,13 @@ public class PlanetDialog extends FloatingDialog{
});
}
//disaply how many turns this sector has been attacked
if(selected.getTurnsPassed() > 0){
stable.row();
stable.add("[scarlet]" + Iconc.warning + " " + selected.getTurnsPassed() + "x attacks");
}
stable.row();
stable.button("Launch", Styles.transt, () -> {