More vent variants

This commit is contained in:
Anuken
2022-02-05 18:59:56 -05:00
parent 6675730571
commit 6c44f506fc
32 changed files with 290 additions and 73 deletions

View File

@@ -95,13 +95,7 @@ public class PowerTestFixture{
// Simulate the "changed" method. Calling it through reflections would require half the game to be initialized.
tile.build = block.newBuilding().init(tile, Team.sharded, false, 0);
if(block.hasPower){
new PowerGraph(){
//assume there's always something consuming power
@Override
public float getUsageFraction(){
return 1f;
}
}.add(tile.build);
new PowerGraph().add(tile.build);
}
// Assign incredibly high health so the block does not get destroyed on e.g. burning Blast Compound