TrainScheduleRecord support for unnamed (position/rail target) temporaries

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 300
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

TrainScheduleRecord support for unnamed (position/rail target) temporaries

Post by justarandomgeek »

Currently, the position/rail-target temporaries are returned by API calls as a station with no name, but the actual target isn't present. There also appears to be no way to create these entries.

dockmeister
Inserter
Inserter
Posts: 48
Joined: Tue Feb 26, 2019 5:49 pm
Contact:

Re: TrainScheduleRecord support for unnamed (position/rail target) temporaries

Post by dockmeister »

Hi,

i would like to second this. I would like to set temporary station via lua.

Also there is a field missing in "TrainScheduleRecord" on https://lua-api.factorio.com/latest/Con ... duleRecord.

For temporary stations there is a third field available:
temporary: a boolean, true if station is temporary nil otherwise

cheers

Post Reply

Return to “Modding interface requests”