import global_constants
from ship import Ship, GeneralCargoVessel

ship = GeneralCargoVessel(id = 'constance_freight_barge',
            numeric_id = 340,
            title = 'Constance [Freight Barge]',
            capacity_cargo_holds = 2240,
            replacement_id = '-none',
            buy_cost = 58,
            fixed_run_cost_factor = 4.0,
            fuel_run_cost_factor = 1.0,
            speed = 18.0,
            speed_factor_unladen = 1.1,
            inland_capable = True,
            sea_capable = False,
            offsets = [[-14, -42], [-61, -28], [-55, -29], [-10, -28], [-14, -54], [-61, -28], [-55, -29], [-9, -28]],
            buy_menu_width = 109,
            loading_speed = 20,
            intro_date = 1961,
            buy_menu_bb_xy = [624, 21],
            str_type_info = 'CARGO_VESSEL_INLAND',
            vehicle_life = 60,
            gross_tonnage = 2240,
            vehicle_groups = ['river'],
            graphics_status = 'Done',)

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