Cell Type Usage Fixed.
This commit is contained in:
@@ -34,6 +34,7 @@ public class ItemBasicStorageCell extends AEBaseItem implements IStorageCell, II
|
|||||||
|
|
||||||
final MaterialType component;
|
final MaterialType component;
|
||||||
final int totalBytes;
|
final int totalBytes;
|
||||||
|
final int perType;
|
||||||
final double idleDrain;
|
final double idleDrain;
|
||||||
|
|
||||||
public ItemBasicStorageCell(MaterialType whichCell, int Kilobytes) {
|
public ItemBasicStorageCell(MaterialType whichCell, int Kilobytes) {
|
||||||
@@ -47,18 +48,23 @@ public class ItemBasicStorageCell extends AEBaseItem implements IStorageCell, II
|
|||||||
{
|
{
|
||||||
case Cell1kPart:
|
case Cell1kPart:
|
||||||
idleDrain = 0.5;
|
idleDrain = 0.5;
|
||||||
|
perType = 8;
|
||||||
break;
|
break;
|
||||||
case Cell4kPart:
|
case Cell4kPart:
|
||||||
idleDrain = 1.0;
|
idleDrain = 1.0;
|
||||||
|
perType = 32;
|
||||||
break;
|
break;
|
||||||
case Cell16kPart:
|
case Cell16kPart:
|
||||||
idleDrain = 1.5;
|
idleDrain = 1.5;
|
||||||
|
perType = 128;
|
||||||
break;
|
break;
|
||||||
case Cell64kPart:
|
case Cell64kPart:
|
||||||
idleDrain = 2.0;
|
idleDrain = 2.0;
|
||||||
|
perType = 512;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
idleDrain = 0.0;
|
idleDrain = 0.0;
|
||||||
|
perType = 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user