Added more hints
This commit is contained in:
@@ -162,6 +162,16 @@ public class HintsFragment extends Fragment{
|
||||
waveFire(() -> Groups.fire.size() > 0 && Blocks.wave.unlockedNow(), () -> indexer.getAllied(state.rules.defaultTeam, BlockFlag.extinguisher).size() > 0),
|
||||
generator(() -> control.input.block == Blocks.combustionGenerator, () -> ui.hints.placedBlocks.contains(Blocks.combustionGenerator)),
|
||||
guardian(() -> state.boss() != null && state.boss().armor >= 4, () -> state.boss() == null),
|
||||
coreUpgrade(() -> state.isCampaign() && Blocks.coreFoundation.unlocked()
|
||||
&& state.rules.defaultTeam.core() != null
|
||||
&& state.rules.defaultTeam.core().block == Blocks.coreShard
|
||||
&& state.rules.defaultTeam.core().items.has(Blocks.coreFoundation.requirements),
|
||||
() -> ui.hints.placedBlocks.contains(Blocks.coreFoundation)),
|
||||
presetLaunch(() -> state.isCampaign()
|
||||
&& state.getSector().preset == null
|
||||
&& SectorPresets.frozenForest.unlocked()
|
||||
&& SectorPresets.frozenForest.sector.save == null,
|
||||
() -> state.isCampaign() && state.getSector().preset == SectorPresets.frozenForest),
|
||||
;
|
||||
|
||||
@Nullable
|
||||
|
||||
@@ -3,6 +3,7 @@ package mindustry.ui.fragments;
|
||||
import arc.*;
|
||||
import arc.func.*;
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import arc.scene.*;
|
||||
import arc.scene.actions.*;
|
||||
import arc.scene.event.*;
|
||||
@@ -22,6 +23,7 @@ public class LoadingFragment extends Fragment{
|
||||
parent.fill(t -> {
|
||||
//rect must fill screen completely.
|
||||
t.rect((x, y, w, h) -> {
|
||||
Draw.alpha(t.color.a);
|
||||
Styles.black8.draw(0, 0, Core.graphics.getWidth(), Core.graphics.getHeight());
|
||||
});
|
||||
t.visible = false;
|
||||
|
||||
Reference in New Issue
Block a user