mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Fixed #11888 / Minor sector submission fixes
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -458,7 +458,6 @@ public class SerpuloTechTree{
|
|||||||
new Research(mender),
|
new Research(mender),
|
||||||
new Research(combustionGenerator)
|
new Research(combustionGenerator)
|
||||||
), () -> {
|
), () -> {
|
||||||
|
|
||||||
node(ruinousShores, Seq.with(
|
node(ruinousShores, Seq.with(
|
||||||
new SectorComplete(crateredBattleground),
|
new SectorComplete(crateredBattleground),
|
||||||
new Research(graphitePress),
|
new Research(graphitePress),
|
||||||
@@ -472,7 +471,6 @@ public class SerpuloTechTree{
|
|||||||
new Research(siliconSmelter),
|
new Research(siliconSmelter),
|
||||||
new Research(steamGenerator)
|
new Research(steamGenerator)
|
||||||
), () -> {
|
), () -> {
|
||||||
|
|
||||||
node(saltFlats, Seq.with(
|
node(saltFlats, Seq.with(
|
||||||
new SectorComplete(windsweptIslands),
|
new SectorComplete(windsweptIslands),
|
||||||
new SectorComplete(fungalPass),
|
new SectorComplete(fungalPass),
|
||||||
|
|||||||
@@ -2259,7 +2259,7 @@ public class LStatements{
|
|||||||
@RegisterStatement("playsound")
|
@RegisterStatement("playsound")
|
||||||
public static class PlaySoundStatement extends LStatement{
|
public static class PlaySoundStatement extends LStatement{
|
||||||
public boolean positional;
|
public boolean positional;
|
||||||
public String id = "@sfx-pew", volume = "1", pitch = "1", pan = "0", x = "@thisx", y = "@thisy", limit = "true";
|
public String id = "@sfx-shoot", volume = "1", pitch = "1", pan = "0", x = "@thisx", y = "@thisy", limit = "true";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void build(Table table){
|
public void build(Table table){
|
||||||
|
|||||||
@@ -926,6 +926,9 @@ public class ApplicationTests{
|
|||||||
fail("Sector " + sector.name + " has unlocalized objectives: " + timers.toString(", ", t -> "'" + t.text + "'"));
|
fail("Sector " + sector.name + " has unlocalized objectives: " + timers.toString(", ", t -> "'" + t.text + "'"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: some Erekir sectors (origin, caldera) modify the cap, why?
|
||||||
|
//assertEquals(0, state.rules.unitCap, "Sector " + sector.name + " must not modify the unit cap.");
|
||||||
|
|
||||||
for(Tile tile : world.tiles){
|
for(Tile tile : world.tiles){
|
||||||
if(tile.drop() != null){
|
if(tile.drop() != null){
|
||||||
resources.add(tile.drop());
|
resources.add(tile.drop());
|
||||||
|
|||||||
Reference in New Issue
Block a user