diff --git a/getStorageEnergy.lua b/getStorageEnergy.lua index 078ae5b..66f1a5c 100644 --- a/getStorageEnergy.lua +++ b/getStorageEnergy.lua @@ -2,3 +2,6 @@ local typeOfPeripheral = peripheral.getType("left") print("Type of peripheral on the left: " .. typeOfPeripheral) +local storageEnergy = typeOfPeripheral.getStoredEnergy() --- IGNORE --- + +print("Storage energy: " .. storageEnergy)