Rails could track how often they're used

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
nljr
Long Handed Inserter
Long Handed Inserter
Posts: 97
Joined: Tue May 30, 2017 2:32 am
Contact:

Rails could track how often they're used

Post by nljr »

It would be really nice to have a record of how much traffic went down a particular rail.

Turrets already track how many things they killed, and assemblers track how many things they've made.

Wouldn't it be awesome if tracks tracked how many locomotives have passed?

Tekky
Smart Inserter
Smart Inserter
Posts: 1039
Joined: Sun Jul 31, 2016 10:53 am
Contact:

Re: Rails could track how often they're used

Post by Tekky »

It may already be possible to implement such a counter using the circuit network. However, I'm afraid that such a counter would not be reliable, because, if a train leaves a block in one tick and another train enters that block in the same tick, the circuit network attached to the track signals will not detect any change.

However, if this suggestion of mine were implemented, then it would certainly be possible for the circuit network to reliably detect this, by reading the Train IDs in a certain block and incrementing a counter whenever a change in Train ID is detected.

Pi-C
Smart Inserter
Smart Inserter
Posts: 1648
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Rails could track how often they're used

Post by Pi-C »

nljr wrote:
Sun Apr 14, 2019 1:18 pm
Wouldn't it be awesome if tracks tracked how many locomotives have passed?
Do you really mean "how many locomotives have passed" or rather "how many times did some locomotive pass"? I always find numbers like these irritating.

One example from real life: The company responsible for public traffic in our town regularly publishes statistics like this: "This year, 2.4 million people have used our buses. That's about 150.000 more than in the previous year." Given that only about 60.000 people live here, and that many of these use their private car or ride their bicycle, such numbers are just ludicrous. What they really mean is, they can account for 2.4 million individual tickets that have been used. :-)
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

nljr
Long Handed Inserter
Long Handed Inserter
Posts: 97
Joined: Tue May 30, 2017 2:32 am
Contact:

Re: Rails could track how often they're used

Post by nljr »

Pi-C wrote:
Sun Apr 14, 2019 2:49 pm
Do you really mean "how many locomotives have passed" or rather "how many times did some locomotive pass"? I always find numbers like these irritating.
Absolutely. What I care about is traffic, which means every pass by any locomotive should count.

Your public transit organization also cares about traffic, in the specific sense of passenger traffic.

Post Reply

Return to “Ideas and Suggestions”