Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for LoadedCondition not factoring in Weight #16730

Open
MlemandPurrs opened this issue Jun 27, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@MlemandPurrs
Copy link

commented Jun 27, 2019

What i wanted to do: LST has 16 capacity, aslong atleast 8 are occupied in use speed drops to 50%

Doubled capacity of LST then given it:
'SpeedMultiplier@HALFCAPACITY:
RequiresCondition: Loaded >= 8
Modifier: 50'
now what happens is: it doesnt account for different weights.
If i do put 8x E1 into it, then does get slowed, the effect kicking in, but not for 3x 4TNK(of each has been given Weight: 4)
Thats because it checks for LoadedCondition: Loaded being provided 8x, then applies the effect, completely ignoring Weight of Passengers(and thus Cargo slots occupied in total).

@GraionDilach

This comment has been minimized.

Copy link
Contributor

commented Jun 27, 2019

A better/simpler option would be to allow Cargo->PassengerConditions listing multiple conditions for an individual type.

@abcdefg30 abcdefg30 added the Feature label Jun 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.