cfg Machines {
    cfg HeatExchangerController {
        Enabled = Y

        InternalTankCapacity = 16000
        MaxHeat = 1000 // Should be > StartHeating + (max HeatTransfer), otherwise weirdness will ensue
        StartHeating = 150
        HeatDecay = 0.05

        cfg Required {
            HeatExchanger = 1
        }
        cfg Modules {
            FluidInput = 5
            FluidOutputSelect = 6
            ItemOutput = 6
            HeatExchanger = 50
            Sensor = 10
        }
    }
}

recipes {
    F = I:advgenerators:IronFrame
    w = I:advgenerators:IronWiring
    W = I:advgenerators:IronTubing
    C = I:advgenerators:Controller

    FwF
    WCW => B:advgenerators:HeatExchangerController
    FWF

    FWF
    WWW => B:advgenerators:HeatExchanger
    FWF

    // steam is 0.2 MJ/mB
    // 1 HU = 1 MJ
    // steam is 0.2 HU/mB = 5 mB/HU
    // lava is 30 HU/mB

    exchanger: fluid:lava 1 mB => B:obsidian 0.001 + 30 HU
    exchanger: fluid:water 5 mB + 3 HU => fluid:steam 5 mB

    if HaveMod IC2 {
    	// 1 (IC2) HU = 0.5-0.75 EU in IC2 - i buff this to ~1 EU
    	// 1 coolant mb = 20 (ic2) HU = 20 EU = 8 MJ

    	exchanger: fluid:ic2hotcoolant 1mB => fluid:ic2coolant 1mB + 8 HU
    }
}
