Sector layout fixes

This commit is contained in:
Anuken
2025-05-22 19:44:45 -04:00
parent 0de78ffa0d
commit d2c50ccd9e
4 changed files with 4 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ public class Planets{
atmosphereColor = Color.valueOf("3c1b8f");
atmosphereRadIn = 0.02f;
atmosphereRadOut = 0.3f;
startSector = 15;
startSector = 170;
alwaysUnlocked = true;
allowSelfSectorLaunch = true;
landCloudColor = Pal.spore.cpy().a(0.5f);

View File

@@ -152,7 +152,7 @@ public class Sector{
@Nullable
public TextureRegion icon(){
return info.contentIcon != null ? info.contentIcon.uiIcon : info.icon == null ? (preset != null && preset.uiIcon.found() ? preset.uiIcon : null) : Fonts.getLargeIcon(info.icon);
return info.contentIcon != null ? info.contentIcon.uiIcon : info.icon == null ? null : Fonts.getLargeIcon(info.icon);
}
@Nullable

View File

@@ -543,7 +543,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
var icon =
sec.isAttacked() ? Fonts.getLargeIcon("warning") :
!sec.hasBase() && sec.preset != null && sec.preset.requireUnlock && sec.preset.unlocked() && preficon == null ?
sec.preset != null ? sec.preset.uiIcon : Fonts.getLargeIcon("terrain") :
(sec.preset != null && sec.preset.requireUnlock && sec.preset.unlocked() ? sec.preset.uiIcon : Fonts.getLargeIcon("terrain")) :
sec.preset != null && sec.preset.requireUnlock && sec.preset.locked() && sec.preset.techNode != null && (sec.preset.techNode.parent == null || !sec.preset.techNode.parent.content.locked()) ? Fonts.getLargeIcon("lock") :
preficon;
var color = sec.isAttacked() ? Team.sharded.color : Color.white;