Skip to content

Train Info Lookup v1.2

Train Info Lookup is a collection of Lua Scripts for the ComputerCraft Tweaked mod.
It adds a search tool that allows you to look up information about a specific train line from railinfo.juliandev02.me and currently supports the following information separated into tabs:

  • Info
    • Train Operator
    • Train Status (Running, No Schedule, etc)
    • Notices, if set
  • Stations
    • A list of all the stations
  • Compositions
    • Train compositions running on the line, if actually specified, visualized.

Setup

To use this set of scripts, execute the following in an Advanced Computer from ComputerCraft:

wget run https://lookup.andre601.ch/assets/v1.2/setup.lua

This will execute the setup.lua script (found here) which will automatically download the required files and perform a reboot after.
After this is done should you be able to simply search for trains.

Current Limitations/Issues

  • wget may fail to load the setup.lua site.
    This is due to the host (codeberg.page) not being as stable as GitHub Pages.
    If this happens, simply retry or use https://codeberg.org/Andre601/TrainLookup/raw/branch/master/docs/assets/v1.2/setup.lua as the URL for wget.