aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/init.lua
diff options
context:
space:
mode:
authorY. Wang <y5nw@protonmail.com>2026-03-01 13:33:18 +0000
committerorwell <orwell@bleipb.de>2026-03-29 17:45:01 +0200
commit31febe6fe193aa84a6ac4127e9f839cf6b5abc2b (patch)
tree51692ab4c3603160d678791dccd9660d7aa5db56 /advtrains_interlocking/init.lua
parent7653bfcf71e4cec533fbd222c8236096d0130368 (diff)
Allow custom descriptions to fully override outside
The station editor allows specifying custom displays, but the custom value is appended to the hardcoded built-in display. This in particular prevents sensible use of the display feature provided by the Konstal 105N. It also prevents the user from specifying shorter strings for displays with length limitation. This patch adds a al.get_line_display function that returns linevar_def.train_name (verbatim) if the value is present. The train_name option from al.get_line_description is removed as this option would no longer be compatible with other options. = = = This patchset sequentially removes (IMO questionable) features from al.get_line_description.
Diffstat (limited to 'advtrains_interlocking/init.lua')
0 files changed, 0 insertions, 0 deletions