from road_vehicle import OpenHauler, DieselRoadVehicle

consist = OpenHauler(id='yeoman_open',
                     base_numeric_id=170,
                     name='Yeoman',
                     semi_truck_so_redistribute_capacity=True,
                     vehicle_life=40,
                     intro_date=1968)

consist.add_unit(type=DieselRoadVehicle,
                 vehicle_length=2,
                 semi_truck_shift_offset_jank=2,
                 always_use_same_spriterow=True)

consist.add_unit(capacity=40,
                 vehicle_length=7,
                 cargo_length=7)
