Skip to content
You're reading the docs for Railroader 0.6 (the MoW Update), currently available on the Experimental branch.

Relay API Reference

Native modules available to Relay scripts, grouped by whether you need to import them.

Available as bare globals in every script — no import needed. See Globals for the full list: printing/string/utility functions, the Vector3 type, and the Coroutine() function.

ModuleDescription
mathConstants and math functions
logLogging (debug/info/warning/error)
jsonSandboxed JSON file loading, asset pack scripts only
railroaderThe game itself: world, UI extension, cars, track, operations

Asset packs can also export their own modules for cross-pack imports (from "domain/module" import ...) — see Modules.