示例#1
0
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)
示例#2
0
from road_vehicle import OpenHauler, ElectricRoadVehicle

consist = OpenHauler(id='brightling_open',
                     base_numeric_id=90,
                     name='Brightling',
                     tram_type='ELRL',
                     vehicle_life=40,
                     intro_date=1940)

consist.add_unit(type=ElectricRoadVehicle,
                 capacity=0,
                 vehicle_length=4,
                 effects=['EFFECT_SPRITE_ELECTRIC, 0, 0, 10'],
                 always_use_same_spriterow=True)

consist.add_unit(capacity=36, vehicle_length=6, cargo_length=3, repeat=2)
示例#3
0
from road_vehicle import OpenHauler, DieselRoadVehicle

consist = OpenHauler(id='capo_open',
                     base_numeric_id=680,
                     name='Capo',
                     vehicle_life=40,
                     intro_date=1997)

consist.add_unit(type=DieselRoadVehicle,
                 capacity=20,
                 vehicle_length=5,
                 cargo_length=3,
                 effects=['EFFECT_SPRITE_DIESEL, -2, 1, 10'])

consist.add_unit(capacity=20, vehicle_length=4, cargo_length=3)
示例#4
0
from road_vehicle import OpenHauler, ElectricRoadVehicle

consist = OpenHauler(id='portland_open',
                     base_numeric_id=860,
                     name='Portland',
                     tram_type='ELRL',
                     vehicle_life=40,
                     intro_date=1900,)

consist.add_unit(type=ElectricRoadVehicle,
                 capacity=30,
                 vehicle_length=8,
                 cargo_length=3,
                 effects=['EFFECT_SPRITE_ELECTRIC, 0, 0, 10'],
                 repeat=2)
示例#5
0
from road_vehicle import OpenHauler, DieselRoadVehicle

consist = OpenHauler(id='rattlebrook_open',
                     base_numeric_id=670,
                     name='Rattlebrook',
                     vehicle_life=40,
                     intro_date=1939)

consist.add_unit(type=DieselRoadVehicle,
                 capacity=15,
                 vehicle_length=5,
                 cargo_length=3,
                 effects=['EFFECT_SPRITE_DIESEL, -2, 1, 10'])

consist.add_unit(
    capacity=15,
    vehicle_length=4,
    cargo_length=4,
)
示例#6
0
from road_vehicle import OpenHauler, SteamRoadVehicle

consist = OpenHauler(id='buildwas_open',
                     base_numeric_id=120,
                     name='Buildwas',
                     tram_type='RAIL',
                     vehicle_life=40,
                     intro_date=1860)

consist.add_unit(type=SteamRoadVehicle,
                 capacity=0,
                 vehicle_length=4,
                 always_use_same_spriterow=True)

consist.add_unit(capacity=16, vehicle_length=4, cargo_length=4, repeat=3)
示例#7
0
from road_vehicle import OpenHauler

consist = OpenHauler(id='wastelander_open',
                     base_numeric_id=1010,
                     name='Wastelander',
                     roadveh_flag_tram=True,
                     power=90,
                     vehicle_life=40,
                     intro_date=1870)

consist.add_unit(capacity=0, vehicle_length=4)

consist.add_unit(capacity=10, vehicle_length=3, repeat=2)

consist.add_unit(capacity=10, vehicle_length=3)
示例#8
0
from road_vehicle import OpenHauler, SteamRoadVehicle

consist = OpenHauler(id='jinglepot_open',
                     base_numeric_id=240,
                     name='Jinglepot',
                     vehicle_life=40,
                     intro_date=1910)

consist.add_unit(type=SteamRoadVehicle,
                 capacity=12,
                 vehicle_length=5,
                 cargo_length=3,
                 effects=['EFFECT_SPRITE_STEAM, -3, 0, 12'])

consist.add_unit(capacity=12,
                 vehicle_length=4,
                 cargo_length=4)