Duplicate ID check, hasItems cleanup, web host message, projector start
This commit is contained in:
@@ -78,13 +78,11 @@ public class PowerBlocks extends BlockList implements ContentList {
|
||||
|
||||
battery = new PowerGenerator("battery") {{
|
||||
powerCapacity = 320f;
|
||||
hasItems = false;
|
||||
}};
|
||||
|
||||
batteryLarge = new PowerGenerator("batterylarge") {{
|
||||
size = 3;
|
||||
powerCapacity = 2000f;
|
||||
hasItems = false;
|
||||
}};
|
||||
|
||||
powernode = new PowerDistributor("powernode") {{
|
||||
|
||||
@@ -8,7 +8,7 @@ import io.anuke.mindustry.world.Block;
|
||||
import io.anuke.mindustry.world.blocks.units.*;
|
||||
|
||||
public class UnitBlocks extends BlockList implements ContentList {
|
||||
public static Block resupplyPoint, repairPoint, droneFactory, dropPoint, reconstructor;
|
||||
public static Block resupplyPoint, repairPoint, droneFactory, dropPoint, reconstructor, overdriveProjector, shieldProjector;
|
||||
|
||||
@Override
|
||||
public void load() {
|
||||
@@ -39,5 +39,13 @@ public class UnitBlocks extends BlockList implements ContentList {
|
||||
reconstructor = new Reconstructor("reconstructor") {{
|
||||
size = 2;
|
||||
}};
|
||||
|
||||
overdriveProjector = new OverdriveProjector("overdriveprojector") {{
|
||||
size = 2;
|
||||
}};
|
||||
|
||||
shieldProjector = new ShieldProjector("shieldprojector") {{
|
||||
size = 2;
|
||||
}};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user