mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-02 12:49:12 +01:00
Explain the greyed-out ready box and count cars in the depot
A disabled checkbox shows no tooltip, so the settings override that greys out "ready to go" is now said under it. The consist vehicle count counted units, so a multi-unit was one vehicle; it now counts cars like the stats bar.
This commit is contained in:
@@ -35,6 +35,9 @@ public sealed class Consist : IReadOnlyList<ConsistItem>
|
||||
|
||||
public int Count => _items.Count;
|
||||
|
||||
/// <summary>Every vehicle, a multi-unit counted car by car - <see cref="Count"/> counts units.</summary>
|
||||
public int VehicleCount => _items.Sum(i => i.Cars.Count);
|
||||
|
||||
public ConsistItem this[int index]
|
||||
{
|
||||
get => _items[index];
|
||||
|
||||
Reference in New Issue
Block a user