OpenTTD Source 20241224-master-gf74b0cf984
|
Properties of NewGRF Action 0. More...
Go to the source code of this file.
Properties of NewGRF Action 0.
Definition in file newgrf_properties.h.
enum PropertyID |
List of NewGRF properties used in Action 0 or Callback 0x36 (CBID_VEHICLE_MODIFY_PROPERTY).
Names are formatted as PROP_<CLASS>_<NAME>
Enumerator | |
---|---|
PROP_VEHICLE_LOAD_AMOUNT | Loading speed. |
PROP_TRAIN_SPEED | Max. speed: 1 unit = 1/1.6 mph = 1 km-ish/h. |
PROP_TRAIN_POWER | Power in hp (if dualheaded: sum of both vehicles) |
PROP_TRAIN_RUNNING_COST_FACTOR | Yearly runningcost (if dualheaded: sum of both vehicles) |
PROP_TRAIN_CARGO_CAPACITY | Capacity (if dualheaded: for each single vehicle) |
PROP_TRAIN_WEIGHT | Weight in t (if dualheaded: for each single vehicle) |
PROP_TRAIN_COST_FACTOR | Purchase cost (if dualheaded: sum of both vehicles) |
PROP_TRAIN_TRACTIVE_EFFORT | Tractive effort coefficient in 1/256. |
PROP_TRAIN_SHORTEN_FACTOR | Shorter vehicles. |
PROP_TRAIN_USER_DATA | User defined data for vehicle variable 0x42. |
PROP_TRAIN_CARGO_AGE_PERIOD | Number of ticks before carried cargo is aged. |
PROP_TRAIN_CURVE_SPEED_MOD | Modifier to maximum speed in curves. |
PROP_ROADVEH_RUNNING_COST_FACTOR | Yearly runningcost. |
PROP_ROADVEH_CARGO_CAPACITY | Capacity. |
PROP_ROADVEH_COST_FACTOR | Purchase cost. |
PROP_ROADVEH_POWER | Power in 10 HP. |
PROP_ROADVEH_WEIGHT | Weight in 1/4 t. |
PROP_ROADVEH_SPEED | Max. speed: 1 unit = 1/0.8 mph = 2 km-ish/h. |
PROP_ROADVEH_TRACTIVE_EFFORT | Tractive effort coefficient in 1/256. |
PROP_ROADVEH_CARGO_AGE_PERIOD | Number of ticks before carried cargo is aged. |
PROP_ROADVEH_SHORTEN_FACTOR | Shorter vehicles. |
PROP_SHIP_COST_FACTOR | Purchase cost. |
PROP_SHIP_SPEED | Max. speed: 1 unit = 1/3.2 mph = 0.5 km-ish/h. |
PROP_SHIP_CARGO_CAPACITY | Capacity. |
PROP_SHIP_RUNNING_COST_FACTOR | Yearly runningcost. |
PROP_SHIP_CARGO_AGE_PERIOD | Number of ticks before carried cargo is aged. |
PROP_AIRCRAFT_COST_FACTOR | Purchase cost. |
PROP_AIRCRAFT_SPEED | Max. speed: 1 unit = 8 mph = 12.8 km-ish/h. |
PROP_AIRCRAFT_RUNNING_COST_FACTOR | Yearly runningcost. |
PROP_AIRCRAFT_PASSENGER_CAPACITY | Passenger Capacity. |
PROP_AIRCRAFT_MAIL_CAPACITY | Mail Capacity. |
PROP_AIRCRAFT_CARGO_AGE_PERIOD | Number of ticks before carried cargo is aged. |
PROP_AIRCRAFT_RANGE | Aircraft range. |
Definition at line 18 of file newgrf_properties.h.