import global_constants
from road_vehicle import EngineConsist, PaxHauler

consist = EngineConsist(id = 'twinhills',
              base_numeric_id = 70,
              title = 'Twinhills [Passenger Tram]',
              roadveh_flag_tram = True,
              replacement_id = '-none',
              power = 360,
              vehicle_life = 40,
              intro_date = 1990)

consist.add_unit(PaxHauler(consist = consist,
                        weight = 18,
                        capacity = 100,
                        vehicle_length = 7,
                        effects = ['EFFECT_SPRITE_ELECTRIC, 0, 0, 10'],
                        spriterow_num = 0))

consist.add_unit(PaxHauler(consist = consist,
                        weight = 18,
                        capacity = 100,
                        vehicle_length = 7,
                        spriterow_num = 1))

consist.add_model_variant(intro_date=0,
                       end_date=global_constants.max_game_date,
                       spritesheet_suffix=0)
