Difference between revisions of "VehicleRefitting"
From GRFSpecs
Jump to navigationJump to searchPlanetmaker (talk | contribs) m (Add vehicle NavBar for NFO) |
(grf version 8) |
||
Line 4: | Line 4: | ||
Vehicles have multiple properties and callbacks which define the default cargotype and capacity, the refitoptions and the capacities after refitting. |
Vehicles have multiple properties and callbacks which define the default cargotype and capacity, the refitoptions and the capacities after refitting. |
||
− | * Default cargo slot (trains, road vehicles, ships) |
+ | * {{grf|7}} For GRF version 7 and below: Default cargo slot (trains, road vehicles, ships) |
+ | * {{grf|8}} For GRF version 8 and above: Default cargo bit (trains, road vehicles, ships) |
||
* Default capacity (trains, road vehicles, ships) |
* Default capacity (trains, road vehicles, ships) |
||
* Passenger capacity (aircraft) |
* Passenger capacity (aircraft) |
Revision as of 23:27, 8 November 2011
Introduction
Vehicles have multiple properties and callbacks which define the default cargotype and capacity, the refitoptions and the capacities after refitting.
- GRFv7 For GRF version 7 and below: Default cargo slot (trains, road vehicles, ships)
- GRFv8 For GRF version 8 and above: Default cargo bit (trains, road vehicles, ships)
- Default capacity (trains, road vehicles, ships)
- Passenger capacity (aircraft)
- Mail capacity (aircraft)
- Refit mask (all vehicle types)
- Refittable cargo classes (all vehicle types)
- Non-refittable cargo classes (all vehicle types)
- 'Refittable'-flag (ships)
- Callback 36 'capacity' (all vehicle types)
- Callbck 15 'refitted capacity'
Flow chart
1.0
The following image visualises the interactions of these wrt. OpenTTD. If you know the behaviour of TTDPatch at that detail level, please elaborate.
File:CargoMagic.dot.png
800px