Raise events when train stop limits are changed

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
notnotatschool
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Feb 17, 2021 1:01 am
Contact:

Raise events when train stop limits are changed

Post by notnotatschool »

I'd like it if it were possible for mods to react to train stop limits changing. I imagine this would raise an event with the associated train stop, the old limit, and the new limit. This would be useful for a mod that I am working on but have not yet released.
spam38
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Jun 07, 2024 4:07 am
Contact:

Re: Raise events when train stop limits are changed

Post by spam38 »

I second this suggestion. I've been playing around with a train scheduling mod myself, and it would be useful to be able to have an event handler trigger when a stop "requests" that a train be sent to it by increasing its trains_limit property.
Post Reply

Return to “Modding interface requests”