---@diagnostic disable: undefined-global, undefined-field term.clear() -- === Peripheral Setup === local interface = peripheral.find("advanced_crystal_interface") or peripheral.find("crystal_interface") or peripheral.find("basic_interface") local ender_modem = peripheral.wrap("back") rednet.open("back") if fs.exists("iris_config.lua") then dofile("iris_config.lua") end interface.sendStargateMessage("Valid IDC codes:") for _, code in ipairs(VALID_IDC_CODES) do interface.sendStargateMessage(" - " .. code) end interface.sendStargateMessage("Transceiver Frequency: " .. TRANSCEIVER_FREQUENCY) interface.sendStargateMessage("Iris Auto-Close Time: " .. IRIS_CLOSE_DELAY .. " seconds") interface.sendStargateMessage("Gate Coordinates: " .. gps.locate())