Added 2x2 container storage block
This commit is contained in:
BIN
core/assets-raw/sprites/blocks/storage/container.png
Normal file
BIN
core/assets-raw/sprites/blocks/storage/container.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 374 B |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 103 KiB |
@@ -132,7 +132,8 @@ public class Recipes implements ContentList{
|
|||||||
new Recipe(power, PowerBlocks.rtgGenerator, new ItemStack(Items.lead, 200), new ItemStack(Items.silicon, 150), new ItemStack(Items.phasematter, 50), new ItemStack(Items.plastanium, 150), new ItemStack(Items.thorium, 100));
|
new Recipe(power, PowerBlocks.rtgGenerator, new ItemStack(Items.lead, 200), new ItemStack(Items.silicon, 150), new ItemStack(Items.phasematter, 50), new ItemStack(Items.plastanium, 150), new ItemStack(Items.thorium, 100));
|
||||||
|
|
||||||
new Recipe(distribution, StorageBlocks.unloader, new ItemStack(Items.densealloy, 40), new ItemStack(Items.silicon, 50));
|
new Recipe(distribution, StorageBlocks.unloader, new ItemStack(Items.densealloy, 40), new ItemStack(Items.silicon, 50));
|
||||||
new Recipe(distribution, StorageBlocks.vault, new ItemStack(Items.densealloy, 500), new ItemStack(Items.thorium, 350));
|
new Recipe(distribution, StorageBlocks.container, new ItemStack(Items.densealloy, 200));
|
||||||
|
new Recipe(distribution, StorageBlocks.vault, new ItemStack(Items.densealloy, 500), new ItemStack(Items.thorium, 250));
|
||||||
//core disabled due to being broken
|
//core disabled due to being broken
|
||||||
/*new Recipe(distribution, StorageBlocks.core,
|
/*new Recipe(distribution, StorageBlocks.core,
|
||||||
new ItemStack(Items.copper, 2000), new ItemStack(Items.densealloy, 1500),
|
new ItemStack(Items.copper, 2000), new ItemStack(Items.densealloy, 1500),
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class DistributionBlocks extends BlockList implements ContentList{
|
|||||||
itemBridge = new BufferedItemBridge("bridge-conveyor"){{
|
itemBridge = new BufferedItemBridge("bridge-conveyor"){{
|
||||||
range = 4;
|
range = 4;
|
||||||
speed = 60f;
|
speed = 60f;
|
||||||
|
bufferCapacity = 15;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
phaseConveyor = new ItemBridge("phase-conveyor"){{
|
phaseConveyor = new ItemBridge("phase-conveyor"){{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import io.anuke.mindustry.world.blocks.storage.SortedUnloader;
|
|||||||
import io.anuke.mindustry.world.blocks.storage.Vault;
|
import io.anuke.mindustry.world.blocks.storage.Vault;
|
||||||
|
|
||||||
public class StorageBlocks extends BlockList implements ContentList{
|
public class StorageBlocks extends BlockList implements ContentList{
|
||||||
public static Block core, vault, unloader;
|
public static Block core, vault, container, unloader;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load(){
|
public void load(){
|
||||||
@@ -21,6 +21,12 @@ public class StorageBlocks extends BlockList implements ContentList{
|
|||||||
itemCapacity = 2000;
|
itemCapacity = 2000;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
container = new Vault("container"){{
|
||||||
|
size = 2;
|
||||||
|
health = 600;
|
||||||
|
itemCapacity = 500;
|
||||||
|
}};
|
||||||
|
|
||||||
unloader = new SortedUnloader("unloader"){{
|
unloader = new SortedUnloader("unloader"){{
|
||||||
speed = 5;
|
speed = 5;
|
||||||
}};
|
}};
|
||||||
|
|||||||
Reference in New Issue
Block a user