aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/README.md
Commit message (Collapse)AuthorAge
* Add get_fc() and set_fc() commandsMaverick27972023-03-17
| | | | | get_fc: returns a table of each wagon's FC codes set_fc: set a table to overwrite the FC codes of a train's wagons
* small security fixes in advtrains_luaautomation/Maverick27972023-03-17
| | | | | | | - fixed file permissions of advtrains_luaautomation/README.md (755->644) - fixed file permissions of advtrains_luaautomation/environment.lua (755->644) - prevented LuaATC section_occupancy() from having direct access to the interlocking section id occupancy table - simplify section_occupancy() logic
* Luaautomation: add section_occupancy()Maverick27972021-12-29
| | | | | | | Returns a table of train ids for the specified section. Returns nil if the section id is not provided.. Returns false if the section id is invalid. Returns an empty table if the section id is valid but empty of trains.
* readme atc_set_ars_disable typoMaverick27972021-11-09
|
* split_at_index where index=1Maverick27972021-11-08
| | | | | Splitting at index=1 results in multiple empty trains being created. Can be prevented by an atc_speed > 0 check by the user, but easier just to return false and do nothing.
* LuaATC: add sending atc command to train by ID, and getters for in/out text ↵orwell962021-03-02
| | | | (solves #124 and #166)
* LuaATC: add interrupt_safe() and clear_interrupts(), fix queue mainlooporwell962021-02-17
|
* Clean up structure of atlatc README.md after rebaseorwell962021-02-17