import global_constants
from ship import Ship, GeneralCargoVessel

ship = GeneralCargoVessel(id = 'little_cumbrae_freighter',
            numeric_id = 180,
            title = 'Little Cumbrae [Freighter]',
            capacity_cargo_holds = 640,
            replacement_id = 'marstein_freighter',
            buy_cost = 12,
            fixed_run_cost_factor = 8.0,
            fuel_run_cost_factor = 1.0,
            speed = 18.0,
            speed_factor_unladen = 1.1,
            inland_capable = False,
            sea_capable = True,
            offsets = [[-14, -40], [-80, -24], [-66, -21], [-33, -25], [-14, -40], [-78, -26], [-66, -21], [-32, -23]],
            buy_menu_width = 78,
            loading_speed = 20,
            intro_date = 1870,
            buy_menu_bb_xy = [649, 21],
            str_type_info = 'SMALL_FREIGHTER',
            vehicle_life = 35,
            gross_tonnage = 670,
            vehicle_groups = ['sea'], 
            graphics_status = 'Done',)

ship.add_model_variant(intro_date=0,
                       end_date=1920,
                       spritesheet_suffix=0)

ship.add_model_variant(intro_date=1920,
                       end_date=global_constants.max_game_date,
                       spritesheet_suffix=1)
