Industrial Peripheral
This mod was originally created for personal use. Before installation, be sure to create a world backup and use at your own risk.
Industrial Peripheral allows interaction with Industrial Craft 2 equipment through ComputerCraft computer systems. You can receive information about machine status and control them programmatically.
Quick Installation Guide
Step 1: Create the main Industrial Peripheral block. Crafting requires:
- Frequency Transmitter
- Advanced Circuit
- Machine Casing
- Redstone

Step 2: Craft a transducer chip. Crafting recipe:
- Basic Circuit
- Redstone
- Iron Plate

Step 3: Bind the chip to a specific Industrial Craft 2 machine

Step 4: Install the configured chip into the Industrial Peripheral block

Step 5: Now you can receive data from machines through computer programs:
if not os.loadAPI("ip/industrial") then
print("Failed to load Industrial Peripheral driver!");
end
industrial.bindSide("top");
local storage = industrial.ElectricStorage.getEnergy(1);
print("Current energy: "..(storage.current)..", Maximum: "..(storage.max)..", Output: "..(storage.output));
Important: When moving or deleting a machine, the chip becomes damaged. To repair, use 2x2 crafting: Chip + Redstone
Available Functions
General Functions
getMachineNameInSlot(slot)- get machine name in specified slot
Fluid Management
FluidRegulator.getOutputMb(slot)FluidRegulator.setOutputMb(slot, value)FluidRegulator.getMode(slot)FluidRegulator.setMode(slot, value)FluidRegulator.getFluidStock(slot)returns [name, amount, capacity]
Electrical Machines
ElectricMachine.getEnergy(slot)ElectricStorage.getEnergy(slot)returns [current, max, output]ElectricGenerator.getStirlingProduction(slot)returns [received heat, production]ElectricGenerator.getKineticProduction(slot)returns [received kinetic, production]
Steam Systems
SteamGenerator.getPressure(slot)SteamGenerator.setPressure(slot, value)SteamGenerator.getInputWater(slot)SteamGenerator.setInputWater(slot, value)SteamGenerator.getCalcification(slot)returns [current, max]SteamGenerator.getHeatInput(slot)SteamGenerator.getOutput(slot)returns [volume, type]SteamGenerator.getSystemHeat(slot)returns [current, max]SteamGenerator.getFluidStock(slot)returns [name, amount, capacity]
Condensers and Heat Exchangers
Condenser.getProgress(slot)Condenser.getFluidInput(slot)returns [name, amount, capacity]Condenser.getFluidOutput(slot)returns [name, amount, capacity]LHE.getHeatTransmit(slot)returns [current, max]LHE.getFluidWarm(slot)returns [name, amount, capacity]LHE.getFluidCold(slot)returns [name, amount, capacity]
Kinetic Systems
KineticSteamGenerator.getPower(slot)KineticSteamGenerator.getTurbineDamage(slot)KineticSteamGenerator.getDistiledTank(slot)returns [name, amount, capacity]
Nuclear Reactors
NuclearReactor.getActive()NuclearReactor.getPowerEU()NuclearReactor.getHeat()returns [current, max]NuclearReactor.getEmitHeat()NuclearReactor.getFluidWarm()returns [name, amount, capacity]NuclearReactor.getFluidCold()returns [name, amount, capacity]
Development is done in free time, so updates may be irregular.