[2.1.7] undocumented LuaTrain changes

This subforum contains all the issues which we already resolved.
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 209
Joined: Tue Feb 06, 2024 5:18 am
Contact:

[2.1.7] undocumented LuaTrain changes

Post 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. :-)
Rseding91
Factorio Staff
Factorio Staff
Posts: 17053
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.7] undocumented LuaTrain changes

Post by Rseding91 »

All of these still exist - just the Lua docs had an error in their generation which omitted them.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”