LuaATC Textlines
Improved textlines with integrated LuaATC component
This mod adds displays, inspired by those from the textline mod, which support the Advtrains LuaATC system. They are in fact operation panels with fancy displays strapped on them.
How to use
Right-clicking on a display brings up the LuaATC programming formspec, similar to the ones of LuaATC operation panels. The display can be programmed like any other LuaATC component.
LuaATC Textlines receive special display and refresh events, which frequencies can be set in the Luanti settings. Those events are only sent to a textline if it is loaded.
The display(text, ...) function displays text. Hanging textlines can show different text on both sides if several arguments are used, for example display('Side 1', 'Side 2'). Use '' to erase display; nil copies the first display.
The default font, color, etc. can be configured in the Luanti settings.
Provided displays
This mod provides flat and hanging green and orange displays. Note: they glow in the dark.
LBM
See README.md.
Dependencies
This mod depends on font_api, from the Display modpack, and on advtrains_luaautomation, from Advtrains. font_api is not strictly needed, but there is currently no fallback, so it is needed anyways.
How to make new LuaATC Textlines
Use luaatc_textline.register_textline(name, def) to register a new textline. Then the display's properties can be customised, e.g with color, glow, custom entity properties (e.g changing the visual), etc. See API.md for more info.
Media information
Credits to Gabriel Maia and Segvault for creating the mod textline in the first place.
Part of the code is inspired by the original textline code.
Unless otherwise noted, all media were made by Nazalassa and licensed under the CC-BY-SA-4.0 license. The following media are "otherwise noted":
textures/luaatc_textline_any.pngcomes fromtextlineand was originally published under the WTFPL.textures/luaatc_textline_background.pngcomes fromtextlineand was originally published under the WTFPL.
Links
- Source: https://codeberg.org/Nazalassa/luaatc_textline.git
- Forum: https://forum.luanti.org/viewtopic.php?t=31246
- Issues: https://codeberg.org/Nazalassa/luaatc_textline/issues
- Original ContentDB page: content.luanti.org/packages/Nazalassa/luaatc_textline/
License
GPL-2.0-or-later
Media license: CC-BY-SA-4.0
Development state
MAINTENANCE_ONLY
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| LuaATC Textlines 1.2 | 2026-09-26 17:38:49 | 27.5 KB | Download |