Misc polish
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 624 B |
@@ -37,7 +37,7 @@ public class SteamVent extends Floor{
|
|||||||
|
|
||||||
public SteamVent(String name){
|
public SteamVent(String name){
|
||||||
super(name);
|
super(name);
|
||||||
variants = 1;
|
variants = 2;
|
||||||
inEditor = false;
|
inEditor = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ public class CoreBlock extends StorageBlock{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaximumAccepted(Item item){
|
public int getMaximumAccepted(Item item){
|
||||||
return state.rules.coreIncinerates ? storageCapacity * 2 : storageCapacity;
|
return state.rules.coreIncinerates ? storageCapacity * 20 : storageCapacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -348,7 +348,7 @@ public class CoreBlock extends StorageBlock{
|
|||||||
state.teams.registerCore(this);
|
state.teams.registerCore(this);
|
||||||
|
|
||||||
storageCapacity = itemCapacity + proximity().sum(e -> owns(e) ? e.block.itemCapacity : 0);
|
storageCapacity = itemCapacity + proximity().sum(e -> owns(e) ? e.block.itemCapacity : 0);
|
||||||
proximity.each(e -> owns(e), t -> {
|
proximity.each(this::owns, t -> {
|
||||||
t.items = items;
|
t.items = items;
|
||||||
((StorageBuild)t).linkedCore = this;
|
((StorageBuild)t).linkedCore = this;
|
||||||
});
|
});
|
||||||
|
|||||||