from road_vehicle import RefrigeratedHauler, ElectricRoadVehicle

consist = RefrigeratedHauler(id='sparkford_refrigerated',
                             base_numeric_id=390,
                             name='Sparkford',
                             tram_type='ELRL',
                             vehicle_life=40,
                             intro_date=1955)

consist.add_unit(type=ElectricRoadVehicle,
                 capacity=36,
                 vehicle_length=8,
                 effects=['EFFECT_SPRITE_ELECTRIC, 0, 0, 10'],
                 repeat=2)
