package gregtech.api.util;

import gtPlusPlus.core.util.math.MathUtils;
import net.minecraftforge.fluids.FluidStack;

public class ThermalFuel {

	public static void addThermalFuel(FluidStack aInput1, FluidStack aInput2, FluidStack aOutput1, int euValue, int aSpecialValue) {
		GT_Recipe x = new GT_Recipe(
				true,
				null,
				null,
				null,
				null,
				new FluidStack[]{aInput1, aInput2},
				new FluidStack[]{aOutput1},
				20, //1 Tick
				euValue, //No Eu produced
				aSpecialValue //Magic Number
		);
		Recipe_GT.Gregtech_Recipe_Map.sGeoThermalFuels.addRecipe(x);
	}
	
	public static void addSteamTurbineFuel(FluidStack aInput1) {
		GT_Recipe x = new GT_Recipe(
				true,
				null,
				null,
				null,
				null,
				new FluidStack[]{aInput1},
				null,
				20, //1 Tick
				MathUtils.findPercentageOfInt((aInput1.amount/2), 95), //No Eu produced
				0 //Magic Number
		);
		Recipe_GT.Gregtech_Recipe_Map.sSteamTurbineFuels.addRecipe(x);
	}
	
	
	
	
}