mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-26 07:03:22 +00:00
5e462adc5c
- textures/{block,item}s -> textures/{block,item} - assets/*/{advancements,lua,recipes} -> data/*/...
11 lines
293 B
Lua
11 lines
293 B
Lua
local tPeripherals = peripheral.getNames()
|
|
print( "Attached Peripherals:" )
|
|
if #tPeripherals > 0 then
|
|
for n=1,#tPeripherals do
|
|
local sPeripheral = tPeripherals[n]
|
|
print( sPeripheral .. " (" .. peripheral.getType( sPeripheral ) .. ")" )
|
|
end
|
|
else
|
|
print( "None" )
|
|
end
|