8 lines
232 B
Lua
8 lines
232 B
Lua
local typeOfPeripheral = peripheral.getType("left")
|
|
|
|
print("Type of peripheral on the left: " .. typeOfPeripheral)
|
|
|
|
local storageEnergy = typeOfPeripheral.getStoredEnergy() --- IGNORE ---
|
|
|
|
print("Storage energy: " .. storageEnergy)
|