Skip to content

StationeersLuaLua Scripting for Stationeers

Write cleaner, more powerful automation code using Lua instead of IC10 assembly

StationeersLua Logo

Quick Example

lua
-- Blink a light on d0 every second
local LT = ic.enums.LogicType
local on = false

while true do
    on = not on
    ic.write(0, LT.On, on and 1 or 0)
    sleep(1)
end

New to StationeersLua?

Check out the Getting Started guide for a step-by-step walkthrough, or jump straight to the API Reference if you know what you're looking for.

AI-Generated Documentation

This documentation was AI-generated and may contain inaccuracies. If you find errors, please submit a pull request with corrections.

⚠️ This documentation was AI-generated and may contain inaccuracies. Please submit pull requests with corrections as needed.