get Energy
This commit is contained in:
@ -2,3 +2,6 @@ local typeOfPeripheral = peripheral.getType("left")
|
|||||||
|
|
||||||
print("Type of peripheral on the left: " .. typeOfPeripheral)
|
print("Type of peripheral on the left: " .. typeOfPeripheral)
|
||||||
|
|
||||||
|
local storageEnergy = typeOfPeripheral.getStoredEnergy() --- IGNORE ---
|
||||||
|
|
||||||
|
print("Storage energy: " .. storageEnergy)
|
||||||
|
|||||||
Reference in New Issue
Block a user