Page 1 of 1

[2.1.7] undocumented LuaTrain changes

Posted: Tue Jun 23, 2026 7:06 pm
by hgschmie
It seems that LuaTrain lost get_contents(), get_fluid_contents() and get_schedule() (LuaSchedule being fully unsupported now?) but there was nothing in the release notes about this.

Is the “official way” to get train contents to just enumerate wagons or is there a different/better way? Given that the conditions (which operate on the full train) still work, something is still there. :-)

Re: [2.1.7] undocumented LuaTrain changes

Posted: Tue Jun 23, 2026 7:13 pm
by Rseding91
All of these still exist - just the Lua docs had an error in their generation which omitted them.