This commit is contained in:
Anuken
2020-10-03 15:35:26 -04:00
parent 58a62ad19c
commit 06f9aa5f84
6 changed files with 9 additions and 6 deletions

View File

@@ -757,14 +757,14 @@ public class Blocks implements ContentList{
plastaniumWall = new Wall("plastanium-wall"){{
requirements(Category.defense, with(Items.plastanium, 5, Items.metaglass, 2));
health = 190 * wallHealthMultiplier;
health = 130 * wallHealthMultiplier;
insulated = true;
absorbLasers = true;
}};
plastaniumWallLarge = new Wall("plastanium-wall-large"){{
requirements(Category.defense, ItemStack.mult(plastaniumWall.requirements, 4));
health = 190 * wallHealthMultiplier * 4;
health = 130 * wallHealthMultiplier * 4;
size = 2;
insulated = true;
absorbLasers = true;

View File

@@ -519,7 +519,7 @@ public class UnitTypes implements ContentList{
crawler = new UnitType("crawler"){{
defaultController = SuicideAI::new;
speed = 0.85f;
speed = 0.9f;
hitSize = 8f;
health = 180;
mechSideSway = 0.25f;
@@ -536,7 +536,7 @@ public class UnitTypes implements ContentList{
speed = 1f;
splashDamageRadius = 55f;
instantDisappear = true;
splashDamage = 55f;
splashDamage = 60f;
killShooter = true;
hittable = false;
collidesAir = true;

View File

@@ -542,7 +542,7 @@ public class ContentParser{
}
void checkNullFields(Object object){
if(object instanceof Number || object instanceof String || toBeParsed.contains(object)) return;
if(object == null || object instanceof Number || object instanceof String || toBeParsed.contains(object) || object.getClass().getName().startsWith("arc.")) return;
parser.getFields(object.getClass()).values().toSeq().each(field -> {
try{

View File

@@ -23,6 +23,7 @@ public class OverflowGate extends Block{
instantTransfer = true;
unloadable = false;
canOverdrive = false;
itemCapacity = 1;
}
@Override

View File

@@ -75,6 +75,8 @@ public class CoreBlock extends StorageBlock{
public void setStats(){
super.setStats();
stats.add(BlockStat.buildTime, 0, StatUnit.seconds);
bars.add("capacity", (CoreBuild e) ->
new Bar(
() -> Core.bundle.format("bar.capacity", UI.formatAmount(e.storageCapacity)),