add Quartz Fluid Pipe (20mb/t)

This commit is contained in:
RufusStark 2014-09-01 01:18:31 -05:00
parent 77e68d2528
commit 35ef452017
6 changed files with 58 additions and 0 deletions

View file

@ -198,6 +198,7 @@ item.PipeFluidsWood.name=Wooden Fluid Pipe
item.PipeFluidsCobblestone.name=Cobblestone Fluid Pipe
item.PipeFluidsStone.name=Stone Fluid Pipe
item.PipeFluidsIron.name=Iron Fluid Pipe
item.PipeFluidsQuartz.name=Quartz Fluid Pipe
item.PipeFluidsGold.name=Golden Fluid Pipe
item.PipeFluidsEmerald.name=Emerald Fluid Pipe
item.PipePowerWood.name=Wooden Kinesis Pipe
@ -278,6 +279,7 @@ tip.gate.expansions=§9§oInstalled Expansions:
tip.PipeFluidsCobblestone=Basic pipe, 10 mB/t\nWon't connect to Stone
tip.PipeFluidsEmerald=Extraction pipe, 40 mB/t
tip.PipeFluidsGold=Basic pipe, 40 mB/t
tip.PipeFluidsQuartz=Basic pipe, 20 mB/t
tip.PipeFluidsIron=Valve pipe, 10 mB/t
tip.PipeFluidsSandstone=Only connects to other pipes, 10 mB/t
tip.PipeFluidsStone=Basic pipe, 10 mB/t\nWon't connect to Cobblestone

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

View file

@ -80,6 +80,7 @@ import buildcraft.transport.pipes.PipeFluidsCobblestone;
import buildcraft.transport.pipes.PipeFluidsEmerald;
import buildcraft.transport.pipes.PipeFluidsGold;
import buildcraft.transport.pipes.PipeFluidsIron;
import buildcraft.transport.pipes.PipeFluidsQuartz;
import buildcraft.transport.pipes.PipeFluidsSandstone;
import buildcraft.transport.pipes.PipeFluidsStone;
import buildcraft.transport.pipes.PipeFluidsVoid;
@ -164,6 +165,7 @@ public class BuildCraftTransport extends BuildCraftMod {
public static Item pipeFluidsWood;
public static Item pipeFluidsCobblestone;
public static Item pipeFluidsStone;
public static Item pipeFluidsQuartz;
public static Item pipeFluidsIron;
public static Item pipeFluidsGold;
public static Item pipeFluidsVoid;
@ -218,6 +220,7 @@ public class BuildCraftTransport extends BuildCraftMod {
public static TechnoSimpleItem technoPipeFluidsWood = new TechnoSimpleItem();
public static TechnoSimpleItem technoPipeFluidsCobblestone = new TechnoSimpleItem();
public static TechnoSimpleItem technoPipeFluidsStone = new TechnoSimpleItem();
public static TechnoSimpleItem technoPipeFluidsQuartz = new TechnoSimpleItem();
public static TechnoSimpleItem technoPipeFluidsIron = new TechnoSimpleItem();
public static TechnoSimpleItem technoPipeFluidsGold = new TechnoSimpleItem();
public static TechnoSimpleItem technoPipeFluidsVoid = new TechnoSimpleItem();
@ -397,6 +400,7 @@ public class BuildCraftTransport extends BuildCraftMod {
pipeFluidsWood = buildPipe(PipeFluidsWood.class, "Wooden Waterproof Pipe", CreativeTabBuildCraft.PIPES, pipeWaterproof, pipeItemsWood);
pipeFluidsCobblestone = buildPipe(PipeFluidsCobblestone.class, "Cobblestone Waterproof Pipe", CreativeTabBuildCraft.PIPES, pipeWaterproof, pipeItemsCobblestone);
pipeFluidsStone = buildPipe(PipeFluidsStone.class, "Stone Waterproof Pipe", CreativeTabBuildCraft.PIPES, pipeWaterproof, pipeItemsStone);
pipeFluidsQuartz = buildPipe(PipeFluidsQuartz.class, "Quartz Waterproof Pipe", CreativeTabBuildCraft.PIPES, pipeWaterproof, pipeItemsQuartz);
pipeFluidsIron = buildPipe(PipeFluidsIron.class, "Iron Waterproof Pipe", CreativeTabBuildCraft.PIPES, pipeWaterproof, pipeItemsIron);
pipeFluidsGold = buildPipe(PipeFluidsGold.class, "Golden Waterproof Pipe", CreativeTabBuildCraft.PIPES, pipeWaterproof, pipeItemsGold);
pipeFluidsEmerald = buildPipe(PipeFluidsEmerald.class, "Emerald Waterproof Pipe", CreativeTabBuildCraft.PIPES, pipeWaterproof, pipeItemsEmerald);
@ -639,6 +643,13 @@ public class BuildCraftTransport extends BuildCraftMod {
technoPipeItemsSandstone,
technoPipeFluidsWood);
technoPipeFluidsQuartz.initialize(
Tier.StoneGear,
pipeFluidsQuartz,
new ItemStack(BuildCraftCore.stoneGearItem, 5),
technoPipeItemsQuartz,
technoPipeFluidsStone);
technoPipeFluidsIron.initialize(
Tier.StoneGear,
pipeFluidsIron,

View file

@ -92,6 +92,7 @@ public class PipeIconProvider implements IIconProvider {
PipeFluidsCobblestone("pipeFluidsCobblestone"),
PipeFluidsWood_Standard("pipeFluidsWood_standard"),
PipeFluidsEmerald_Standard("pipeFluidsEmerald_standard"),
PipeFluidsQuartz("pipeFluidsQuartz"),
PipeFluidsGold("pipeFluidsGold"),
PipeFluidsIron_Standard("pipeFluidsIron_standard"),
PipeFluidsSandstone("pipeFluidsSandstone"),

View file

@ -60,6 +60,7 @@ public class TransportProxyClient extends TransportProxy {
MinecraftForgeClient.registerItemRenderer(BuildCraftTransport.pipeFluidsWood, pipeItemRenderer);
MinecraftForgeClient.registerItemRenderer(BuildCraftTransport.pipeFluidsCobblestone, pipeItemRenderer);
MinecraftForgeClient.registerItemRenderer(BuildCraftTransport.pipeFluidsStone, pipeItemRenderer);
MinecraftForgeClient.registerItemRenderer(BuildCraftTransport.pipeFluidsQuartz, pipeItemRenderer);
MinecraftForgeClient.registerItemRenderer(BuildCraftTransport.pipeFluidsIron, pipeItemRenderer);
MinecraftForgeClient.registerItemRenderer(BuildCraftTransport.pipeFluidsGold, pipeItemRenderer);
MinecraftForgeClient.registerItemRenderer(BuildCraftTransport.pipeFluidsEmerald, pipeItemRenderer);

View file

@ -0,0 +1,43 @@
/**
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft.transport.pipes;
import net.minecraft.item.Item;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraftforge.common.util.ForgeDirection;
import buildcraft.BuildCraftTransport;
import buildcraft.api.core.IIconProvider;
import buildcraft.transport.Pipe;
import buildcraft.transport.PipeIconProvider;
import buildcraft.transport.PipeTransportFluids;
public class PipeFluidsQuartz extends Pipe<PipeTransportFluids> {
public PipeFluidsQuartz(Item item) {
super(new PipeTransportFluids(), item);
transport.flowRate = 20;
transport.travelDelay = 8;
}
@Override
@SideOnly(Side.CLIENT)
public IIconProvider getIconProvider() {
return BuildCraftTransport.instance.pipeIconProvider;
}
@Override
public int getIconIndex(ForgeDirection direction) {
return PipeIconProvider.TYPE.PipeFluidsQuartz.ordinal();
}
}