Jump to content




[MC 1.7.10] [CC 1.74+] Industrial Peripheral

peripheral computer

  • You cannot reply to this topic
No replies to this topic

#1 forhaxed

  • New Members
  • 1 posts

Posted 28 August 2016 - 02:26 PM

Hi!

This mod initially is planned for personal use. Before using mod — make backup and use at your own risk.
With this mod and ComputerCraft you can receive (and change) data from different machines from Industrial Craft 2.
And sorry for my english, I'm not english native speaker :(

Small mod tutorial:

Step 1:
For work - Industrial Peripheral needs himself, his craft:
Posted Image

Frequency Transmitter, Advanced Circuit, Machine Casing, Redstone
Step 2:
Also needed Transducer Chip, his craft:
Posted Image

Circuit, Redstone, Iron plate
Step 3:
You can bind Transducer Chip to a particular machine:
Posted Image

Step 4:
After binding, you must insert the chip into the Industrial Peripheral:
Posted Image

Step 5:
Now you can receive a variety of data from the machines:[indent]
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: "..(storage.current)..", Max: "..(storage.max)..", Output: "..(storage.output));[/indent]
If the machine is moved or deleted - you will break the chip. To fix it you must use a craft 2x2: Chip + Redstone

All available functions:[indent]
getMachineNameInSlot(slot) - get machine name in slot
FluidRegulator.getOutputMb(slot)
FluidRegulator.setOutputMb(slot, value)
FluidRegulator.getMode(slot)
FluidRegulator.setMode(slot, value)
FluidRegulator.getFluidStock(slot) return [name, amount, capacity]
ElectricMachine.getEnergy(slot)
SteamGenerator.getPressure(slot)
SteamGenerator.setPressure(slot, value)
SteamGenerator.getInputWater(slot)
SteamGenerator.setInputWater(slot, value)
SteamGenerator.getCalcification(slot) return [current, max]
SteamGenerator.getHeatInput(slot)
SteamGenerator.getOutput(_slot) return [volume, type]
SteamGenerator.getSystemHeat(slot) return [current, max]
SteamGenerator.getFluidStock(slot) return [name, amount, capacity]
Condenser.getProgress(slot)
Condenser.getFluidInput(slot) return [name, amount, capacity]
Condenser.getFluidOutput(slot) return [name, amount, capacity]
LHE.getHeatTransmit(slot) return [current, max]
LHE.getFluidWarm(slot) return [name, amount, capacity]
LHE.getFluidCold(slot) return [name, amount, capacity]
ElectricStorage.getEnergy(slot) return [current, max, output]
ElectricGenerator.getStirlingProduction(slot) return [receivedheat, production]
ElectricGenerator.getKineticProduction(slot) return [receivedkinetic, production]
KineticSteamGenerator.getPower(slot)
KineticSteamGenerator.getTurbineDamage(slot)
KineticSteamGenerator.getDistiledTank(slot) return [name, amount, capacity]
NuclearReactor.getActive()
NuclearReactor.getPowerEU()
NuclearReactor.getHeat() return [current, max]
NuclearReactor.getEmitHeat()
NuclearReactor.getFluidWarm() return [name, amount, capacity]
NuclearReactor.getFluidCold() return [name, amount, capacity][/indent]
The development will be slow due to lack of time. But sometimes it will check for the presence of topic suggestions / bugs.

Mod link: https://minecraft.cu...rial-peripheral

Bonus: Liquid nuclear reactor example (ComputerCraft automaticly controll all LNR elements):
Posted Image

Attached Thumbnails

  • Attached Image: craft_chip.png
  • Attached Image: craft_main.png
  • Attached Image: linked_item.png
  • Attached Image: placed.png

Edited by forhaxed, 28 August 2016 - 03:54 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users