Depending on NML version and size of your vehicle set you may run out of vehicle IDs that can be articulated (there's only 128 in GRFv7).
Personally I use one ID for the entire vehicle and live with the fact that the capacity has to be a multiple of the number of vehicle parts. I then define both the cargo_capacity and purchase_cargo_capacity callbacks. In this case I would have the first one return 190 for the first vehicle part and the second callback return 19, e.g.:
Code: Select all
switch (FEAT_TRAINS, SELF, rs5_cargo_capacity, position_in_vehid_chain) {
0: return 190;
return 0;
}
graphics {
cargo_capacity: s5_cargo_capacity;
purchase_cargo_capacity: return 19;
}