Onset tech tree entry

This commit is contained in:
Anuken
2022-01-22 16:49:18 -05:00
parent d9bcdf3f37
commit 3574e40a08
2 changed files with 12 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import mindustry.game.Objectives.*;
import mindustry.type.*;
import static mindustry.content.Blocks.*;
import static mindustry.content.SectorPresets.*;
import static mindustry.content.TechTree.*;
public class ErekirTechTree{
@ -180,8 +181,8 @@ public class ErekirTechTree{
});
//TODO implement
node(sublimate, () -> {
//TODO implement
node(titan, () -> {
});
@ -194,6 +195,11 @@ public class ErekirTechTree{
});
});
//TODO more sectors
node(onset, () -> {
});
nodeProduce(Items.beryllium, () -> {
nodeProduce(Items.oxide, () -> {
nodeProduce(Items.fissileMatter, () -> {

View File

@ -324,6 +324,11 @@ public class Control implements ApplicationListener, Loadable{
control.saves.resetSave();
}
//for planet launches, mostly
if(sector.preset != null){
sector.preset.quietUnlock();
}
ui.planet.hide();
SaveSlot slot = sector.save;
sector.planet.setLastSector(sector);