SHOW:
|
|
- or go back to the newest paste.
1 | - | local shield = peripheral.find("warpdriveForceFieldProjector") |
1 | + | local capacitor = peripheral.find("warpdriveCapacitor") |
2 | ||
3 | while true do | |
4 | - | local current, capacity, outputRate, inputRate, consumptionRate = shield.getEnergyStatus() |
4 | + | local energyStored = capacitor.getEnergyStatus() |
5 | - | print("Assembly Status:", consumptionRate) |
5 | + | print("energy:", energyStored) |
6 | ||
7 | - | os.sleep(0.8) |
7 | + | os.sleep(0.05) |
8 | end | |
9 |