Final cleanup before the draft phase ends ❤️

This commit is contained in:
Patrick 'Quezler' Mounier
2020-01-06 18:09:19 +01:00
parent 9b55eeaa38
commit 6e8ba927dd
3 changed files with 6 additions and 5 deletions

View File

@@ -21,16 +21,17 @@ abstract public class BaseConveyor extends Block implements Autotiler{
public BaseConveyor(String name){ public BaseConveyor(String name){
super(name); super(name);
rotate = true; rotate = true;
update = true; update = true;
layer = Layer.overlay;
group = BlockGroup.transportation;
hasItems = true; hasItems = true;
itemCapacity = 4; itemCapacity = 4;
unloadable = false;
layer = Layer.overlay;
idleSoundVolume = 0.004f;
conveyorPlacement = true; conveyorPlacement = true;
idleSound = Sounds.conveyor; idleSound = Sounds.conveyor;
idleSoundVolume = 0.004f; group = BlockGroup.transportation;
unloadable = false;
} }
@Override @Override

View File

@@ -78,6 +78,7 @@ public class CraterConveyor extends BaseConveyor{
// draw crater // draw crater
Draw.rect(crater, Tmp.v1.x, Tmp.v1.y, rotation - 90); Draw.rect(crater, Tmp.v1.x, Tmp.v1.y, rotation - 90);
// failsafe
if(entity.dominant() == null) return; if(entity.dominant() == null) return;
// draw resource // draw resource

View File

@@ -26,7 +26,6 @@ public enum BlockStat{
input(StatCategory.crafting), input(StatCategory.crafting),
output(StatCategory.crafting), output(StatCategory.crafting),
throughput(StatCategory.crafting),
productionTime(StatCategory.crafting), productionTime(StatCategory.crafting),
drillTier(StatCategory.crafting), drillTier(StatCategory.crafting),
drillSpeed(StatCategory.crafting), drillSpeed(StatCategory.crafting),