Fixed #11888 / Minor sector submission fixes

This commit is contained in:
Anuken
2026-04-14 16:24:54 -04:00
parent be70941529
commit f5be90867f
7 changed files with 4 additions and 3 deletions
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),
+1 -1
View File
@@ -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());