Bugfixes / Map tweaks
This commit is contained in:
Binary file not shown.
@@ -245,15 +245,13 @@ public class TechTree implements ContentList{
|
|||||||
|
|
||||||
node(spiritFactory, () -> {
|
node(spiritFactory, () -> {
|
||||||
node(daggerFactory, () -> {
|
node(daggerFactory, () -> {
|
||||||
node(daggerFactory, () -> {
|
node(titanFactory, () -> {
|
||||||
node(titanFactory, () -> {
|
node(fortressFactory);
|
||||||
node(fortressFactory);
|
});
|
||||||
});
|
node(wraithFactory, () -> {
|
||||||
node(wraithFactory, () -> {
|
node(phantomFactory);
|
||||||
node(phantomFactory);
|
node(ghoulFactory, () -> {
|
||||||
node(ghoulFactory, () -> {
|
node(revenantFactory);
|
||||||
node(revenantFactory);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ public class Separator extends Block{
|
|||||||
protected Color color = Color.valueOf("858585");
|
protected Color color = Color.valueOf("858585");
|
||||||
protected TextureRegion liquidRegion;
|
protected TextureRegion liquidRegion;
|
||||||
|
|
||||||
protected boolean offloading = false;
|
|
||||||
|
|
||||||
public Separator(String name){
|
public Separator(String name){
|
||||||
super(name);
|
super(name);
|
||||||
update = true;
|
update = true;
|
||||||
@@ -113,9 +111,7 @@ public class Separator extends Block{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(item != null && entity.items.get(item) < itemCapacity){
|
if(item != null && entity.items.get(item) < itemCapacity){
|
||||||
offloading = true;
|
|
||||||
offloadNear(tile, item);
|
offloadNear(tile, item);
|
||||||
offloading = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -124,11 +120,6 @@ public class Separator extends Block{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean canDump(Tile tile, Tile to, Item item){
|
|
||||||
return offloading || item != consumes.item();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TileEntity newEntity(){
|
public TileEntity newEntity(){
|
||||||
return new GenericCrafterEntity();
|
return new GenericCrafterEntity();
|
||||||
|
|||||||
Reference in New Issue
Block a user