You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be useful to be able to replace some part of an announcement with different things which differ between trains.
Text replacements that could be useful:
current destination (%d%)
name of next destination (%D%). You might have a destination for each platform (LondonP1, LondonP2), but for the purposes of the sign you only want "London" for both destinations, I suppose that'd require an extra sign after a destination sign to give a text name for that specific destination).
last destination on route (%r-1% / %rl% or %R-1% / %Rl% for text name of destination)
route name (this is trickier, it doesn't seem to store the saved route name that has been loaded, alternatively key/value pairs in tags? so if tag route=central is set, then maybe %Troute% turns into "central")
Examples
After a station used by multiple train routes:
[+train:south]
announce
This is a %Troute% train to %Rl%
Next stop: %D%
The text was updated successfully, but these errors were encountered:
My idea here was to give traincarts a proper placeholderapi integration, and then using papi in announce messages. This same mechanism can then be used for a future text billboard attachment thingy.
Feature Request
Description
It'd be useful to be able to replace some part of an announcement with different things which differ between trains.
Text replacements that could be useful:
%d%
)%D%
). You might have a destination for each platform (LondonP1, LondonP2), but for the purposes of the sign you only want "London" for both destinations, I suppose that'd require an extra sign after a destination sign to give a text name for that specific destination).%r-1%
/%rl%
or%R-1%
/%Rl%
for text name of destination)%Troute%
turns into "central")Examples
After a station used by multiple train routes:
The text was updated successfully, but these errors were encountered: