Feature #2857

update vehicle properties

Added by foobar over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2011-07-14
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:2.0.0

Description

Vehicle prices of the new "without trailer" vehicles are still the same as with trailer.
Also get correct properties from http://www.tt-wiki.net/wiki/Dutch_Tram_Set/Vehicle_Properties

Associated revisions

Revision 50:dda828b54123
Added by foobar over 9 years ago

Fix: vehicle properties (closes #2857)

History

#1 Updated by foobar over 9 years ago

Recalculate all prices.

Purchase price based on:
  • weight (the heavier, the more materials used)
  • length (the longer, the more furniture needed inside; implicit capacity)
  • power (the more power, the more expensive the engines; implicit speed)
Running cost based on:
  • capacity (the more people, the more the cleaning cost)
  • speed (the larger the speed, the more wear on wheels, suspension etc.)

Multipliers should be calculated from these values, and limited to a maximum of 255. This can be done directly from NML, e.g. min(w*a+l*b+p*c,255)

#2 Updated by foobar over 9 years ago

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

Applied in changeset dda828b54123.

#3 Updated by foobar over 9 years ago

  • Target version set to 2.0.0

Also available in: Atom PDF