aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update the train copy/paste tool to include more wagon data.HEADmasterMarnack2026-07-10
| | | | | | | | - Copy additional wagon properties. - Copy the wagon livery string set by the bike painter tool. - Add support for optional custom functions in the wagon prototype so that the tool can can handle mod specific custom data, such as livery information.
* Update readme with codeberg urlorwell2026-07-08
|
* Refactor al.get_line_description and drop the last_stop_prefix optionY. Wang2026-07-08
| | | | | The last_stop_prefix option appears to have been primarily a workaround for an implementation limitation of al.get_line_description.
* ch_function: Fix utf8_sort_cache is nil1F616EMO2026-07-08
| | | | Probably an oversight, the table is not there.
* Introduce default LuaATC environment on place1F616EMO2026-07-08
| | | | | | | Adds the command /env_default to set per-player default environment to be used on placing new LuaATC components. This makes component placement more predictable, and should any error be triggered, it won't go to the wrong player.
* Disallow trains with no locomotive to set ARS at signalsMaverick27972026-07-08
|
* Add get_active_route and list_routes to LuaATC1F616EMO2026-07-08
| | | | | | | | get_active_route returns the name of the route currently set on the signal. Useful for rendering signalling control panels. list_routes returns an array of valid route names. Useful for implementing remote controls of signals.
* crash fix: invalid arithmetic in rwt objects in timetable formMaverick27972026-07-08
|
* Line editor: translate remaining tooltips to englishorwell2026-07-07
|
* Avoid translation across the first line of item descriptions1F616EMO2026-06-07
| | | | | | | | Fixes :get_short_description() chopping translation escape sequences in half by separating the first line and the rest of item descriptions into two translatable strings. The number of line breaks are preserved. Workaround or fix of https://github.com/luanti-org/luanti/issues/12566.
* Drop poconverty5nw2026-06-07
| | | | | | | | As pointed out in a recent email[1], poconvert now throws an error on Luanti 5.16.1. This patch removes poconvert entirely given that it no longer makes sense to continue maintaining poconvert. [1] https://lists.sr.ht/~gpcf/advtrains-discuss/%3CC34BDFB0-6409-4867-AA2F-CCE0CD5E2325@icloud.com%3E
* make_release: Ensure that working directory is clean before packing releaseorwell2026-06-07
|
* Signal UI: Rename Smartroute button to New (auto-search) to be more intuitiverelease-2.9.0orwell2026-03-29
|
* Ks signals: signal parts above rotated rotate with baseorwell2026-03-29
|
* Trackworker: add callbacks in node definitionorwell2026-03-29
|
* Remove hardcoded uppercase conversion for destination displayY. Wang2026-03-29
| | | | | | The uppercase conversion function uses string.upper with a hardcoded conversion table. Given Lua's lack of UTF-8-based string operation functions, it is not hard to see how this is problematic.
* Allow custom descriptions to fully override outsideY. Wang2026-03-29
| | | | | | | | | | | | | | | | | | 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.
* New wagons should not start with a nil fc/fcind fieldMaverick27972026-03-29
|
* Fix wrong reference to res (should be rwint) in rwt.i_sec1F616EMO2026-03-22
|
* Add code headers to facilitate copy and paste1F616EMO2026-03-22
| | | | | | | | | | | | | | | | | This patch fixes the issue that environment and approach callback mode has to be set across copy and pastes through additional steps. By adding headers in the following format: -- ADVT-Environment-Name: tmp -- ADVT-Approach-Callback-Mode: 1 These settings will be automatically set when clicking "Save". Headers are only read when saved; therefore, codes can still modify the approach callback mode (or any other variables that later uses this header approach). This will speed up code copy and pastes, especially when handling codes that require approach callback. Signed-off-by: 1F616EMO <root@1f616emo.xyz>
* Fix crash when using "New Route From" based on an invalid routeMaverick27972026-03-22
|
* Aadd get_wagon_train_id for retrieving train ID from wagon ID1F616EMO2026-03-22
| | | | Context: https://chatlog.1f616emo.xyz/chat/1f616emoluanti/2026/01/30/#L147
* Editor Dopraven: remove remaining czech stringsorwell2026-03-22
|
* stoprail: prefill ARS * field on new stoprails. this was somehow forgotten.orwell2026-03-22
|
* path_get_index_by_offset: Add +-1 item buffer for path availability ↵orwell2026-02-08
| | | | generation in case of rounding errors
* Update german translation and pot fileorwell2026-01-31
|
* Switch to english and make translatable the "Next Stop" textorwell2026-01-31
|
* Fix Last Passages formspec after rwt updatesorwell2026-01-29
|
* Indicate routesetting trigger if a route is setY. Wang2026-01-29
| | | | | | | A player observed an issue with a certain setup where ARS is constantly triggered and the route cannot (easily) be canceled. This patch helps troubleshoot this issue by indicating the specific cause for routesetting (in particular, which train triggered ARS).
* atc_rail: Make sure speed limit in atc_set_lzb_tsr is number1F616EMO2026-01-29
| | | | | | Type-checking was done, but string values are not converted to numbers, causing hard-to-trace errors in advtrains/lzb.lua:175. There is risk of a crash loop if this is not fixed.
* /at_status: Fix concat boolean1F616EMO2026-01-29
|
* Redo how wagon groups are calculatedMaverick27972026-01-29
| | | | | | - Added "at_rideable" to include anything that can be ridden, rather than the previous hardcoded "pass" seat name. - Changed how "at_control" was calculated (now checks for driving_ctrl_access) - Changed how "at_pax" was calculated (now checks for not driving_ctrl_access)
* Deprecate poconvertY. Wang2026-01-29
|
* Remove test for PO filesY. Wang2026-01-29
|
* Remove tr filesY. Wang2026-01-29
|
* Update gitignoreY. Wang2026-01-29
|
* Move PO and POT files to locale/Y. Wang2026-01-29
|
* Update translation readmeY. Wang2026-01-29
|
* Unify update-translations.shY. Wang2026-01-29
| | | | | | | | | | | | | | | | | | | | | | | Debian 13 has been released with Luanti 5.10. It is therefore safe to assume that most players are now using at least 5.10 with support for PO files. This patchset moves the .po translation files from po/ to locale/, making these accessible to the Luanti client. In addition: * .tr files are now dropped as these are no longer used. * update-translations.sh is now unified into a single file in the root directory of the modpack. It is also designed to handle the entire modpack rather than individual mods. * poconvert is deprecated as it is no longer useful (for Advtrains), and the effort to maintain this brings little gain in comparison. It is still kept for compatibility (i.e. in case other mods depend on this), but should arguably be removed in a later version. * The unittest step for testing PO files is removed because * It depends on the (deprecated) poconvert module; * It has not been particularly useful - its only use was (arguably) in testing poconvert itself; and * It is not fully functional as it only checks PO files in advtrains/.
* Railwaytime: refactor and return cycle/instanceorwell2026-01-27
|
* Export new Rwt functions to lua environment for luaatcorwell2026-01-22
|
* Make scheduler aware of time wrappingorwell2026-01-22
|
* RailwayTime: Extend to hours precision, wrap clock at 7 days, clip repeating ↵orwell2026-01-22
| | | | times at day boundary
* lines: fix crash on nonexisting stdatarelease-2.8.3orwell2025-10-13
|
* line_automation: Fix error when default is not present due to node soundsrelease-2.8.2orwell2025-10-05
|
* signal_api: Fix errors caused by missing nodedeforwell2025-10-05
|
* Fix dependencies on line_automation, dont hard-depend on defaultrelease-2.8.1orwell2025-09-30
|
* Ks signals: add 0.5 offset to the right variant for positioning between 3m ↵release-2.8.0orwell2025-09-28
| | | | tracks
* Remove stanizni rozhlas because it doesn't work yetorwell2025-09-28
|
* Merge branch 'master' into timetableorwell2025-09-28
|\