Added 2x2 container storage block

This commit is contained in:
Anuken 2018-10-14 09:57:28 -04:00
parent 5f89d8588d
commit 4b7f254e17
6 changed files with 758 additions and 736 deletions

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

View File

@ -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(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
/*new Recipe(distribution, StorageBlocks.core,
new ItemStack(Items.copper, 2000), new ItemStack(Items.densealloy, 1500),

View File

@ -29,6 +29,7 @@ public class DistributionBlocks extends BlockList implements ContentList{
itemBridge = new BufferedItemBridge("bridge-conveyor"){{
range = 4;
speed = 60f;
bufferCapacity = 15;
}};
phaseConveyor = new ItemBridge("phase-conveyor"){{

View File

@ -7,7 +7,7 @@ import io.anuke.mindustry.world.blocks.storage.SortedUnloader;
import io.anuke.mindustry.world.blocks.storage.Vault;
public class StorageBlocks extends BlockList implements ContentList{
public static Block core, vault, unloader;
public static Block core, vault, container, unloader;
@Override
public void load(){
@ -21,6 +21,12 @@ public class StorageBlocks extends BlockList implements ContentList{
itemCapacity = 2000;
}};
container = new Vault("container"){{
size = 2;
health = 600;
itemCapacity = 500;
}};
unloader = new SortedUnloader("unloader"){{
speed = 5;
}};