package mindustry.content; import mindustry.type.*; import static mindustry.content.Planets.*; public class SectorPresets{ public static SectorPreset groundZero, craters, biomassFacility, taintedWoods, frozenForest, ruinousShores, facility32m, windsweptIslands, stainedMountains, tarFields, frontier, fungalPass, infestedCanyons, atolls, mycelialBastion, extractionOutpost, saltFlats, testingGrounds, overgrowth, //polarAerodrome, impact0078, desolateRift, nuclearComplex, planetaryTerminal, coastline, navalFortress, weatheredChannels, seaPort, geothermalStronghold, cruxscape, onset, aegis, lake, intersect, basin, atlas, split, marsh, peaks, ravine, caldera, stronghold, crevice, siege, crossroads, karst, origin; public static void load(){ //region serpulo groundZero = new SectorPreset("groundZero", serpulo, 15){{ alwaysUnlocked = true; addStartingItems = true; captureWave = 10; difficulty = 1; overrideLaunchDefaults = true; noLighting = true; startWaveTimeMultiplier = 3f; }}; saltFlats = new SectorPreset("saltFlats", serpulo, 101){{ difficulty = 5; }}; testingGrounds = new SectorPreset("testingGrounds", serpulo, 3){{ difficulty = 7; captureWave = 33; }}; frozenForest = new SectorPreset("frozenForest", serpulo, 170){{ captureWave = 15; difficulty = 2; }}; biomassFacility = new SectorPreset("biomassFacility", serpulo, 63){{ captureWave = 20; difficulty = 3; }}; taintedWoods = new SectorPreset("taintedWoods", serpulo, 221){{ captureWave = 33; difficulty = 5; }}; craters = new SectorPreset("craters", serpulo, 175){{ captureWave = 20; difficulty = 2; }}; ruinousShores = new SectorPreset("ruinousShores", serpulo, 41){{ captureWave = 30; difficulty = 3; }}; seaPort = new SectorPreset("seaPort", serpulo, 98){{ difficulty = 4; }}; facility32m = new SectorPreset("facility32m", serpulo, 64){{ captureWave = 25; difficulty = 4; }}; windsweptIslands = new SectorPreset("windsweptIslands", serpulo, 97){{ captureWave = 30; difficulty = 4; }}; stainedMountains = new SectorPreset("stainedMountains", serpulo, 20){{ captureWave = 30; difficulty = 3; }}; extractionOutpost = new SectorPreset("extractionOutpost", serpulo, 165){{ difficulty = 5; }}; //TODO: removed for now //polarAerodrome = new SectorPreset("polarAerodrome", serpulo, 68){{ // difficulty = 7; //}}; coastline = new SectorPreset("coastline", serpulo, 108){{ captureWave = 30; difficulty = 5; }}; weatheredChannels = new SectorPreset("weatheredChannels", serpulo, 39){{ captureWave = 40; difficulty = 9; }}; navalFortress = new SectorPreset("navalFortress", serpulo, 216){{ difficulty = 8; }}; frontier = new SectorPreset("frontier", serpulo, 41){{ difficulty = 4; }}; fungalPass = new SectorPreset("fungalPass", serpulo, 219){{ difficulty = 4; }}; infestedCanyons = new SectorPreset("infestedCanyons", serpulo, 210){{ difficulty = 4; }}; atolls = new SectorPreset("atolls", serpulo, 40){{ difficulty = 7; }}; mycelialBastion = new SectorPreset("mycelialBastion", serpulo, 23){{ difficulty = 8; }}; overgrowth = new SectorPreset("overgrowth", serpulo, 220){{ difficulty = 5; }}; tarFields = new SectorPreset("tarFields", serpulo, 101){{ captureWave = 40; difficulty = 5; }}; impact0078 = new SectorPreset("impact0078", serpulo, 227){{ captureWave = 45; difficulty = 7; }}; desolateRift = new SectorPreset("desolateRift", serpulo, 123){{ captureWave = 18; difficulty = 8; }}; nuclearComplex = new SectorPreset("nuclearComplex", serpulo, 130){{ captureWave = 50; difficulty = 7; }}; planetaryTerminal = new SectorPreset("planetaryTerminal", serpulo, 93){{ difficulty = 10; isLastSector = true; }}; geothermalStronghold = new SectorPreset("geothermalStronghold", serpulo, 264){{ difficulty = 10; }}; cruxscape = new SectorPreset("cruxscape", serpulo, 54){{ difficulty = 10; }}; /* registerHiddenSectors(serpulo, 68, //Winter Forest by wpx: https://discord.com/channels/391020510269669376/1165421701362897000/1235654407006322700 241,//River Bastion by wpx: https://discord.com/channels/391020510269669376/1165421701362897000/1232658317126402050 173,//Front Line by stormrider: https://discord.com/channels/391020510269669376/1165421701362897000/1188484967064404061 25, //HochuPizzu by wpx: https://discord.com/channels/391020510269669376/1165421701362897000/1170279703056228515 12, //Salt Outpost by skeledragon: https://discord.com/channels/391020510269669376/1165421701362897000/1193441915459338361 106,//Desert Wastes by xaphiro_: https://discord.com/channels/391020510269669376/1165421701362897000/1226498922898264157 243,//Port 012 by skeledragon: https://discord.com/channels/391020510269669376/1165421701362897000/1174884280242012262 240 //Cold Grove by wpx: https://discord.com/channels/391020510269669376/1165421701362897000/1230550892718194742 ); //these are hidden wave presets (TODO) find a better way to do this Vars.content.sector("sector-serpulo-173").captureWave = 17; Vars.content.sector("sector-serpulo-240").captureWave = 40; serpulo.sectors.get(173).generateEnemyBase = false; serpulo.sectors.get(240).generateEnemyBase = false;*/ //endregion //region erekir onset = new SectorPreset("onset", erekir, 10){{ addStartingItems = true; alwaysUnlocked = true; difficulty = 1; }}; aegis = new SectorPreset("aegis", erekir, 88){{ difficulty = 3; }}; lake = new SectorPreset("lake", erekir, 41){{ difficulty = 4; }}; intersect = new SectorPreset("intersect", erekir, 36){{ difficulty = 5; captureWave = 9; attackAfterWaves = true; }}; atlas = new SectorPreset("atlas", erekir, 14){{ difficulty = 5; }}; split = new SectorPreset("split", erekir, 19){{ difficulty = 2; }}; basin = new SectorPreset("basin", erekir, 29){{ difficulty = 6; }}; marsh = new SectorPreset("marsh", erekir, 25){{ difficulty = 4; }}; peaks = new SectorPreset("peaks", erekir, 30){{ difficulty = 3; }}; ravine = new SectorPreset("ravine", erekir, 39){{ difficulty = 4; captureWave = 24; }}; caldera = new SectorPreset("caldera-erekir", erekir, 43){{ difficulty = 4; }}; stronghold = new SectorPreset("stronghold", erekir, 18){{ difficulty = 7; }}; crevice = new SectorPreset("crevice", erekir, 3){{ difficulty = 6; captureWave = 46; }}; siege = new SectorPreset("siege", erekir, 58){{ difficulty = 8; }}; crossroads = new SectorPreset("crossroads", erekir, 37){{ difficulty = 7; }}; karst = new SectorPreset("karst", erekir, 5){{ difficulty = 9; captureWave = 10; }}; origin = new SectorPreset("origin", erekir, 12){{ difficulty = 10; isLastSector = true; }}; //endregion } static void registerHiddenSectors(Planet planet, int... ids){ for(int id : ids){ new SectorPreset("sector-" + planet.name + "-" + id, "hidden/" + planet + "-" + id, planet, id){{ requireUnlock = false; }}; planet.sectors.get(id).generateEnemyBase = true; } } }