Feature #3979

vehicle current_max_speed

Added by planetmaker over 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:2012-05-15
Priority:NormalDue date:
Assignee:yexo% Done:

100%

Category:-
Target version:0.3.0

Description

The attached diff should implement for all vehicle types the new variable current_max_speed. As the return value depends on vehicle type, it needs to be vehicle type specific like the other speed variables.

For RV there are actually two such properties, and I'm not 100% sure I did the right thing there

current_max_speed.diff Magnifier (2.35 KB) planetmaker, 2012-05-15 07:22

Associated revisions

Revision 1897:934122ae78c5
Added by Hirundo about 5 years ago

Feature #3979: Variable 'current_max_speed' for vehicles. (planetmaker) (closes #3979).

Revision 2014:eaa9acf4cbe2
Added by Hirundo about 5 years ago

Feature #3979: Variable 'current_max_speed' for vehicles. (planetmaker) (closes #3979).

Revision 1897:934122ae78c5
Added by Hirundo about 5 years ago

Feature #3979: Variable 'current_max_speed' for vehicles. (planetmaker) (closes #3979).

Revision 2014:eaa9acf4cbe2
Added by Hirundo about 5 years ago

Feature #3979: Variable 'current_max_speed' for vehicles. (planetmaker) (closes #3979).

History

#1 Updated by planetmaker over 5 years ago

Maybe we could add a small note to action2var_variables.py what the conversion factor indicated for speed does (from what units to what)

#2 Updated by michi_cc over 5 years ago

Should be right, the current max speed has the same units as the other two speed variables. You've used tabs BTW.

#3 Updated by Hirundo about 5 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Applied in changeset 934122ae78c5.

Also available in: Atom PDF