get Energy

This commit is contained in:
2025-08-02 19:28:13 +02:00
parent 71714e71df
commit b259cc5fc6

View File

@ -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)