From adb9a82d84601265b26ee0f1435e72c5d983ca94 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 25 Feb 2026 23:11:20 -0500 Subject: [PATCH] Fixed Ground Zero being land-able with IPA, leading to buggy behavior --- core/src/mindustry/content/SectorPresets.java | 1 - core/src/mindustry/content/SerpuloTechTree.java | 1 + core/src/mindustry/ui/dialogs/PlanetDialog.java | 5 ++++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/content/SectorPresets.java b/core/src/mindustry/content/SectorPresets.java index 8db657966d..1ea6020a54 100644 --- a/core/src/mindustry/content/SectorPresets.java +++ b/core/src/mindustry/content/SectorPresets.java @@ -177,7 +177,6 @@ public class SectorPresets{ //region erekir onset = new SectorPreset("onset", erekir, 10){{ - addStartingItems = true; alwaysUnlocked = true; difficulty = 1; }}; diff --git a/core/src/mindustry/content/SerpuloTechTree.java b/core/src/mindustry/content/SerpuloTechTree.java index cd003c8fa4..f2da02df45 100644 --- a/core/src/mindustry/content/SerpuloTechTree.java +++ b/core/src/mindustry/content/SerpuloTechTree.java @@ -508,6 +508,7 @@ public class SerpuloTechTree{ new SectorComplete(overgrowth), new SectorComplete(extractionOutpost), new SectorComplete(saltFlats), + new SectorComplete(mycelialBastion), new Research(risso), new Research(minke), new Research(bryde), diff --git a/core/src/mindustry/ui/dialogs/PlanetDialog.java b/core/src/mindustry/ui/dialogs/PlanetDialog.java index c252d74b6c..64996220b4 100644 --- a/core/src/mindustry/ui/dialogs/PlanetDialog.java +++ b/core/src/mindustry/ui/dialogs/PlanetDialog.java @@ -414,7 +414,10 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{ boolean canSelect(Sector sector){ if(mode == select) return sector.hasBase() && launchSector != null && sector.planet == launchSector.planet; - if(mode == planetLaunch && sector.hasBase()) return false; + //sectors with addStartingItems = true can't be landed on, as they override the core and items of the interplanetary accelerator + //at the moment, this is only true of Ground Zero in vanilla + //TODO: maybe relax these restrictions and add better support for these sorts of "tutorial" starting sectors later + if(mode == planetLaunch && (sector.hasBase() || (sector.preset != null && sector.preset.addStartingItems))) return false; if(sector.planet.generator == null) return false;