Bugfixes / New campaign map
This commit is contained in:
@@ -561,6 +561,7 @@ sector.tarFields.name = Tar Fields
|
|||||||
sector.saltFlats.name = Salt Flats
|
sector.saltFlats.name = Salt Flats
|
||||||
sector.fungalPass.name = Fungal Pass
|
sector.fungalPass.name = Fungal Pass
|
||||||
sector.biomassFacility.name = Biomass Synthesis Facility
|
sector.biomassFacility.name = Biomass Synthesis Facility
|
||||||
|
sector.windsweptIslands.name = Windswept Islands
|
||||||
|
|
||||||
#unused
|
#unused
|
||||||
#sector.crags.name = Crags
|
#sector.crags.name = Crags
|
||||||
|
|||||||
BIN
core/assets/maps/windsweptIslands.msav
Normal file
BIN
core/assets/maps/windsweptIslands.msav
Normal file
Binary file not shown.
@@ -8,7 +8,7 @@ import static mindustry.content.Planets.*;
|
|||||||
public class SectorPresets implements ContentList{
|
public class SectorPresets implements ContentList{
|
||||||
public static SectorPreset
|
public static SectorPreset
|
||||||
groundZero,
|
groundZero,
|
||||||
craters, biomassFacility, frozenForest, ruinousShores, stainedMountains, tarFields, fungalPass,
|
craters, biomassFacility, frozenForest, ruinousShores, windsweptIslands, stainedMountains, tarFields, fungalPass,
|
||||||
saltFlats, overgrowth,
|
saltFlats, overgrowth,
|
||||||
impact0078, desolateRift, nuclearComplex;
|
impact0078, desolateRift, nuclearComplex;
|
||||||
|
|
||||||
@@ -46,6 +46,11 @@ public class SectorPresets implements ContentList{
|
|||||||
difficulty = 3;
|
difficulty = 3;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
windsweptIslands = new SectorPreset("windsweptIslands", serpulo, 246){{
|
||||||
|
captureWave = 30;
|
||||||
|
difficulty = 5;
|
||||||
|
}};
|
||||||
|
|
||||||
stainedMountains = new SectorPreset("stainedMountains", serpulo, 20){{
|
stainedMountains = new SectorPreset("stainedMountains", serpulo, 20){{
|
||||||
captureWave = 30;
|
captureWave = 30;
|
||||||
difficulty = 3;
|
difficulty = 3;
|
||||||
|
|||||||
@@ -436,7 +436,7 @@ public class TechTree implements ContentList{
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
node(navalFactory, () -> {
|
node(navalFactory, Seq.with(new SectorComplete(ruinousShores)), () -> {
|
||||||
node(risso, () -> {
|
node(risso, () -> {
|
||||||
node(minke, () -> {
|
node(minke, () -> {
|
||||||
node(bryde, () -> {
|
node(bryde, () -> {
|
||||||
@@ -479,36 +479,44 @@ public class TechTree implements ContentList{
|
|||||||
new Research(kiln),
|
new Research(kiln),
|
||||||
new Research(mechanicalPump)
|
new Research(mechanicalPump)
|
||||||
), () -> {
|
), () -> {
|
||||||
node(tarFields, Seq.with(
|
node(windsweptIslands, Seq.with(
|
||||||
new SectorComplete(ruinousShores),
|
new SectorComplete(ruinousShores),
|
||||||
new Research(coalCentrifuge),
|
new Research(pneumaticDrill),
|
||||||
new Research(conduit),
|
new Research(hail),
|
||||||
new Research(wave)
|
new Research(siliconSmelter),
|
||||||
|
new Research(steamGenerator)
|
||||||
), () -> {
|
), () -> {
|
||||||
//TODO change positions?
|
node(tarFields, Seq.with(
|
||||||
node(impact0078, Seq.with(
|
new SectorComplete(windsweptIslands),
|
||||||
new SectorComplete(tarFields),
|
new Research(coalCentrifuge),
|
||||||
new Research(Items.thorium),
|
new Research(conduit),
|
||||||
new Research(overdriveProjector)
|
new Research(wave)
|
||||||
), () -> {
|
), () -> {
|
||||||
node(desolateRift, Seq.with(
|
//TODO change positions?
|
||||||
new SectorComplete(impact0078),
|
node(impact0078, Seq.with(
|
||||||
new Research(thermalGenerator),
|
new SectorComplete(tarFields),
|
||||||
new Research(thoriumReactor)
|
new Research(Items.thorium),
|
||||||
|
new Research(overdriveProjector)
|
||||||
), () -> {
|
), () -> {
|
||||||
|
node(desolateRift, Seq.with(
|
||||||
|
new SectorComplete(impact0078),
|
||||||
|
new Research(thermalGenerator),
|
||||||
|
new Research(thoriumReactor)
|
||||||
|
), () -> {
|
||||||
|
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
node(saltFlats, Seq.with(
|
node(saltFlats, Seq.with(
|
||||||
new SectorComplete(ruinousShores),
|
new SectorComplete(windsweptIslands),
|
||||||
new Research(groundFactory),
|
new Research(groundFactory),
|
||||||
new Research(airFactory),
|
new Research(airFactory),
|
||||||
new Research(door),
|
new Research(door),
|
||||||
new Research(waterExtractor)
|
new Research(waterExtractor)
|
||||||
), () -> {
|
), () -> {
|
||||||
|
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -175,6 +175,8 @@ public class Control implements ApplicationListener, Loadable{
|
|||||||
app.post(() -> ui.hudfrag.showLand());
|
app.post(() -> ui.hudfrag.showLand());
|
||||||
renderer.zoomIn(Fx.coreLand.lifetime);
|
renderer.zoomIn(Fx.coreLand.lifetime);
|
||||||
app.post(() -> Fx.coreLand.at(core.getX(), core.getY(), 0, core.block));
|
app.post(() -> Fx.coreLand.at(core.getX(), core.getY(), 0, core.block));
|
||||||
|
camera.position.set(core);
|
||||||
|
player.set(core);
|
||||||
Time.run(Fx.coreLand.lifetime, () -> {
|
Time.run(Fx.coreLand.lifetime, () -> {
|
||||||
Fx.launch.at(core);
|
Fx.launch.at(core);
|
||||||
Effect.shake(5f, 5f, core);
|
Effect.shake(5f, 5f, core);
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ public class Logic implements ApplicationListener{
|
|||||||
Events.on(BlockDestroyEvent.class, event -> {
|
Events.on(BlockDestroyEvent.class, event -> {
|
||||||
//blocks that get broken are appended to the team's broken block queue
|
//blocks that get broken are appended to the team's broken block queue
|
||||||
Tile tile = event.tile;
|
Tile tile = event.tile;
|
||||||
Block block = tile.block();
|
|
||||||
//skip null entities or un-rebuildables, for obvious reasons; also skip client since they can't modify these requests
|
//skip null entities or un-rebuildables, for obvious reasons; also skip client since they can't modify these requests
|
||||||
if(tile.build == null || !tile.block().rebuildable || net.client()) return;
|
if(tile.build == null || !tile.block().rebuildable || net.client()) return;
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public class DesktopInput extends InputHandler{
|
|||||||
t.visible(() -> {
|
t.visible(() -> {
|
||||||
t.color.a = Mathf.lerpDelta(t.color.a, player.builder().isBuilding() ? 1f : 0f, 0.15f);
|
t.color.a = Mathf.lerpDelta(t.color.a, player.builder().isBuilding() ? 1f : 0f, 0.15f);
|
||||||
|
|
||||||
return Core.settings.getBool("hints") && selectRequests.isEmpty() && t.color.a > 0.01f;
|
return ui.hudfrag.shown && Core.settings.getBool("hints") && selectRequests.isEmpty() && t.color.a > 0.01f;
|
||||||
});
|
});
|
||||||
t.touchable(() -> t.color.a < 0.1f ? Touchable.disabled : Touchable.childrenOnly);
|
t.touchable(() -> t.color.a < 0.1f ? Touchable.disabled : Touchable.childrenOnly);
|
||||||
t.table(Styles.black6, b -> {
|
t.table(Styles.black6, b -> {
|
||||||
@@ -75,7 +75,7 @@ public class DesktopInput extends InputHandler{
|
|||||||
});
|
});
|
||||||
|
|
||||||
group.fill(t -> {
|
group.fill(t -> {
|
||||||
t.visible(() -> lastSchematic != null && !selectRequests.isEmpty());
|
t.visible(() -> ui.hudfrag.shown && lastSchematic != null && !selectRequests.isEmpty());
|
||||||
t.bottom();
|
t.bottom();
|
||||||
t.table(Styles.black6, b -> {
|
t.table(Styles.black6, b -> {
|
||||||
b.defaults().left();
|
b.defaults().left();
|
||||||
|
|||||||
@@ -446,7 +446,7 @@ public class HudFragment extends Fragment{
|
|||||||
|
|
||||||
Table table = new Table(Tex.button);
|
Table table = new Table(Tex.button);
|
||||||
table.update(() -> {
|
table.update(() -> {
|
||||||
if(state.isMenu()){
|
if(state.isMenu() || !ui.hudfrag.shown){
|
||||||
table.remove();
|
table.remove();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user