Last active
September 15, 2022 15:15
-
-
Save srlemke/fd6370d0e57456e42af1cbdfcd2f67f6 to your computer and use it in GitHub Desktop.
Raceroom Cars info extract - To use in simhub dash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This was extracted from the raceroom website: | |
//It's simhub ready, I have a dash and works fine | |
//but I did not test all cars, the ones I did | |
//returned the info fine. | |
car = lcase($prop('CarModel')) | |
horse_power = '' | |
drive_type = '' | |
aspiration = '' | |
engine_type = '' | |
weight = '' | |
production_year = '' | |
origin = '' | |
if (car == 'cupra leon competición') { | |
origin = 'Spain' | |
production_year = '2020' | |
weight = '1305 kg' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbocharged' | |
drive_type = 'FWD' | |
horse_power = '335 hp' | |
} | |
if (car == 'renault mégane rs tcr') { | |
origin = 'France' | |
production_year = '2020' | |
weight = '1295kg with driver' | |
engine_type = '1.8L in-line 4' | |
aspiration = 'Single turbo' | |
drive_type = 'FWD' | |
horse_power = '340hp' | |
} | |
if (car == '134 judd v8') { | |
origin = 'Germany' | |
production_year = '2011' | |
weight = '860 kg' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '583 bhp' | |
} | |
if (car == 'alfa romeo giulietta tcr') { | |
origin = 'Italy' | |
production_year = '2018' | |
weight = '1285 kg' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbocharged' | |
drive_type = 'FWD' | |
horse_power = '330' | |
} | |
if (car == 'amg mercedes c klasse dtm 1995') { | |
origin = 'Germany' | |
production_year = '1995' | |
weight = '1120 kg' | |
engine_type = 'V6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'Rear' | |
horse_power = '492 bhp' | |
} | |
if (car == 'amg mercedes c klasse dtm') { | |
origin = 'Germany' | |
production_year = '2005' | |
weight = '1060kg' | |
engine_type = 'V8' | |
aspiration = 'NA' | |
drive_type = 'RWD' | |
horse_power = '480 ps @ 7000 rpm' | |
} | |
if (car == 'amg mercedes clk dtm') { | |
origin = 'Germany' | |
production_year = '2003' | |
weight = '1080kg' | |
engine_type = 'V8' | |
aspiration = 'NA' | |
drive_type = 'RWD' | |
horse_power = '460 ps @ 6750 rpm' | |
} | |
if (car == 'aquila cr1 sports gt') { | |
origin = 'Denmark' | |
production_year = '2009' | |
weight = '890' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '315' | |
} | |
if (car == 'audi 90 quattro') { | |
origin = 'Germany' | |
production_year = '1989' | |
weight = '1207' | |
engine_type = 'Inline-5' | |
aspiration = 'Turbo' | |
drive_type = '4 Wheel Drive' | |
horse_power = '709' | |
} | |
if (car == 'audi r18') { | |
origin = 'Germany' | |
production_year = '2011' | |
weight = '970' | |
engine_type = 'V6 Diesel' | |
aspiration = 'Turbo charged' | |
drive_type = 'RWD' | |
horse_power = '540' | |
} | |
if (car == 'audi r8 lms gt2 2019') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1435kg with driver' | |
engine_type = '5.2L V10' | |
aspiration = 'N/A' | |
drive_type = 'RWD' | |
horse_power = '635bhp' | |
} | |
if (car == 'audi r8 lms gt3 evo dtm') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1390kg with driver' | |
engine_type = '5.2L V10' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '570bhp' | |
} | |
if (car == 'audi r8 lms gt3 evo') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1390kg with driver' | |
engine_type = '5.2L V10' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '570bhp' | |
} | |
if (car == 'audi r8 lms gt4 2020') { | |
origin = 'Germany' | |
production_year = '2020' | |
weight = '1605kg with driver' | |
engine_type = '5.2L V10' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '450bhp' | |
} | |
if (car == 'audi r8 lms') { | |
origin = 'Germany' | |
production_year = '2015' | |
weight = '1340kg with driver' | |
engine_type = '5.2L V10' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '570bhp' | |
} | |
if (car == 'audi r8 lms ultra') { | |
origin = 'Germany' | |
production_year = '2012' | |
weight = '1350kg with driver' | |
engine_type = '5.2L V10' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '585bhp' | |
} | |
if (car == 'audi rs 3 lms 2021') { | |
origin = 'Germany' | |
production_year = '2021' | |
weight = '1385kg with driver' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbocharged' | |
drive_type = 'FWD' | |
horse_power = '345bhp' | |
} | |
if (car == 'audi rs 3 lms') { | |
origin = 'Germany' | |
production_year = '2018' | |
weight = '1315 kg' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbocharged' | |
drive_type = 'FWD' | |
horse_power = '338 bhp' | |
} | |
if (car == 'audi rs 5 dtm 2014') { | |
origin = 'Germany' | |
production_year = '2014' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500+' | |
} | |
if (car == 'audi rs 5 dtm 2015') { | |
origin = 'Germany' | |
production_year = '2015' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500+' | |
} | |
if (car == 'audi rs 5 dtm 2016') { | |
origin = 'Germany' | |
production_year = '2016' | |
weight = '1120' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500' | |
} | |
if (car == 'audi rs 5 dtm 2020') { | |
origin = 'Germany' | |
production_year = '2020' | |
weight = '1070kg with driver' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Turbocharged' | |
drive_type = 'RWD' | |
horse_power = '580 bhp' | |
} | |
if (car == 'audi rs 5 dtm') { | |
origin = 'Germany' | |
production_year = '2013' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500' | |
} | |
if (car == 'audi tt cup 2015') { | |
origin = 'Germany' | |
production_year = '2015' | |
weight = '1125kg' | |
engine_type = '2.0L Inline 4' | |
aspiration = 'Turbo charged' | |
drive_type = 'FWD' | |
horse_power = '310hp (P2P +30)' | |
} | |
if (car == 'audi tt cup 2016') { | |
origin = 'Germany' | |
production_year = '2015' | |
weight = '1125kg' | |
engine_type = '2.0L Inline 4' | |
aspiration = 'Turbo charged' | |
drive_type = 'FWD' | |
horse_power = '310hp (P2P +30)' | |
} | |
if (car == 'audi tt rs vln') { | |
origin = 'Germany' | |
production_year = '2011' | |
weight = '1100' | |
engine_type = 'Inline-5' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '365' | |
} | |
if (car == 'audi v8 dtm') { | |
origin = 'Germany' | |
production_year = '1992' | |
weight = '1300' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = '4WD' | |
horse_power = '+460' | |
} | |
if (car == 'bentley continental gt3 evo') { | |
origin = 'United Kingdom' | |
production_year = '2019' | |
weight = '1410kg with driver' | |
engine_type = '4.0L V8' | |
aspiration = 'Twin-Turbo' | |
drive_type = 'RWD' | |
horse_power = 'TBD' | |
} | |
if (car == 'bentley continental gt3') { | |
origin = 'United Kingdom' | |
production_year = '2014' | |
weight = '1360kg with driver' | |
engine_type = '4.0L V8' | |
aspiration = 'Twin-Turbo' | |
drive_type = 'RWD' | |
horse_power = '575bhp' | |
} | |
if (car == 'bmw 320 turbo') { | |
origin = 'Germany' | |
production_year = '1980' | |
weight = '875' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '650' | |
} | |
if (car == 'bmw 635 csi') { | |
origin = 'Germany' | |
production_year = '1989' | |
weight = '1180' | |
engine_type = 'Inline-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '320+' | |
} | |
if (car == 'bmw alpina b6 gt3') { | |
origin = 'Germany' | |
production_year = '2009' | |
weight = '1325 kg with driver' | |
engine_type = '4.4L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '580 bhp' | |
} | |
if (car == 'bmw e90 320 tc') { | |
origin = 'Germany' | |
production_year = '2013' | |
weight = '1150' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '320' | |
} | |
if (car == 'bmw m1 gr 4') { | |
origin = 'Germany' | |
production_year = '1979' | |
weight = '1235kg' | |
engine_type = '3.5L straight-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '465bhp' | |
} | |
if (car == 'bmw m1 procar') { | |
origin = 'Germany' | |
production_year = '1979' | |
weight = '1130kg' | |
engine_type = '3.5L straight-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '470bhp' | |
} | |
if (car == 'bmw m235i racing') { | |
origin = 'Germany' | |
production_year = '2014' | |
weight = '1425kg' | |
engine_type = 'Straight 6 Twin Turbo 3L' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '333 bhp @ 5800 rpm' | |
} | |
if (car == 'bmw m3 dtm') { | |
origin = 'Germany' | |
production_year = '2013' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500' | |
} | |
if (car == 'bmw m3 e30 gra') { | |
origin = 'Germany' | |
production_year = '1991' | |
weight = '940' | |
engine_type = 'Inline-4' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '330+' | |
} | |
if (car == 'bmw m3 gt2') { | |
origin = 'Germany' | |
production_year = '2009' | |
weight = '1150' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '540+' | |
} | |
if (car == 'bmw m3 sport evolution') { | |
origin = 'Germany' | |
production_year = '1992' | |
weight = '970' | |
engine_type = 'Inline-4' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '+350' | |
} | |
if (car == 'bmw m4 dtm 2015') { | |
origin = 'Germany' | |
production_year = '2015' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500+' | |
} | |
if (car == 'bmw m4 dtm 2016') { | |
origin = 'Germany' | |
production_year = '2016' | |
weight = '1120' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500' | |
} | |
if (car == 'bmw m4 dtm 2020') { | |
origin = 'Germany' | |
production_year = '2020' | |
weight = '1070kg with driver' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Turbocharged' | |
drive_type = 'RWD' | |
horse_power = '580 bhp' | |
} | |
if (car == 'bmw m4 dtm') { | |
origin = 'Germany' | |
production_year = '2014' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500+' | |
} | |
if (car == 'bmw m4 gt4') { | |
origin = 'Germany' | |
production_year = '2017' | |
weight = '1570kg with driver' | |
engine_type = '3.0L straight-6' | |
aspiration = 'Twin-turbo' | |
drive_type = 'RWD' | |
horse_power = '430bhp' | |
} | |
if (car == 'bmw m6 gt3 dtm') { | |
origin = 'Germany' | |
production_year = '2016' | |
weight = '1395kg with driver' | |
engine_type = '4.4L V8' | |
aspiration = 'Twin turbo' | |
drive_type = 'RWD' | |
horse_power = '590bhp' | |
} | |
if (car == 'bmw m6 gt3') { | |
origin = 'Germany' | |
production_year = '2016' | |
weight = '1395kg with driver' | |
engine_type = '4.4L V8' | |
aspiration = 'Twin turbo' | |
drive_type = 'RWD' | |
horse_power = '590bhp' | |
} | |
if (car == 'bmw z4 gt3') { | |
origin = 'Germany' | |
production_year = '2012' | |
weight = '1330kg with driver' | |
engine_type = '4.4L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '575bhp' | |
} | |
if (car == 'cadillac cts vr') { | |
origin = 'USA' | |
production_year = '2012' | |
weight = '1450' | |
engine_type = 'V8' | |
aspiration = 'Naturally Aspirated' | |
drive_type = 'RWD' | |
horse_power = '500+' | |
} | |
if (car == 'callaway corvette c7 gt3-r') { | |
origin = 'USA' | |
production_year = '2016' | |
weight = '1375kg with driver' | |
engine_type = '6.2L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '585bhp' | |
} | |
if (car == 'canhard r51') { | |
origin = 'France' | |
production_year = '2010' | |
weight = '1050' | |
engine_type = 'V6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '400' | |
} | |
if (car == 'canhard r52') { | |
origin = 'France' | |
production_year = '2010' | |
weight = '1035' | |
engine_type = 'Inline-5' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '415' | |
} | |
if (car == 'carlsson c25 gt') { | |
origin = 'Germany' | |
production_year = '2012' | |
weight = '1490' | |
engine_type = 'V12' | |
aspiration = 'Twin Turbo' | |
drive_type = 'RWD' | |
horse_power = '650+' | |
} | |
if (car == 'carlsson slk 340 judd') { | |
origin = 'Germany' | |
production_year = '2013' | |
weight = '860 kg' | |
engine_type = 'V8' | |
aspiration = 'Naturally Aspirated' | |
drive_type = 'RWD' | |
horse_power = '610 bhp' | |
} | |
if (car == 'chevrolet camaro gt3') { | |
origin = 'USA' | |
production_year = '2012' | |
weight = '1395 kg (with driver)' | |
engine_type = '7.9L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '620 bhp' | |
} | |
if (car == 'chevrolet corvette c6r gt2') { | |
origin = 'USA' | |
production_year = '2009' | |
weight = '1150' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '525+' | |
} | |
if (car == 'chevrolet corvette greenwood 1977') { | |
origin = 'USA' | |
production_year = '1977' | |
weight = '1309' | |
engine_type = 'V8' | |
aspiration = 'Atmospheric' | |
drive_type = 'RWD' | |
horse_power = '900' | |
} | |
if (car == 'chevrolet corvette z06r gt3 gtm15') { | |
origin = 'USA' | |
production_year = '2013' | |
weight = '1355kg with driver' | |
engine_type = '6.2L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '590bhp' | |
} | |
if (car == 'chevrolet corvette z06r gt3') { | |
} | |
if (car == 'chevrolet cruze wtcc') { | |
origin = 'USA' | |
production_year = '2013' | |
weight = '1150' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '310' | |
} | |
if (car == 'chevrolet daytona prototype') { | |
origin = 'USA' | |
production_year = '2012' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '600' | |
} | |
if (car == 'chevrolet dekon monza') { | |
origin = 'USA' | |
production_year = '1975' | |
weight = '1030' | |
engine_type = 'V8' | |
aspiration = 'Naturally Aspirated' | |
drive_type = 'RWD' | |
horse_power = '650' | |
} | |
if (car == 'chevrolet rml cruze tc1 2015') { | |
origin = 'USA' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'chevrolet rml cruze tc1 2016') { | |
origin = 'USA' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'chevrolet rml cruze tc1 2017') { | |
origin = 'USA' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'chevrolet rml cruze tc1') { | |
origin = 'USA' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'cougar c14 1') { | |
origin = 'Germany' | |
production_year = '2010' | |
weight = '1000' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '420' | |
} | |
if (car == 'cougar c14 2') { | |
origin = 'Germany' | |
production_year = '2010' | |
weight = '1050' | |
engine_type = 'V6' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '399' | |
} | |
if (car == 'cupra leon e racer') { | |
origin = 'Spain' | |
production_year = '2020' | |
weight = '1680kg with driver' | |
engine_type = 'Fully-electric' | |
aspiration = 'N/A' | |
drive_type = 'RWD' | |
horse_power = '670hp' | |
} | |
if (car == 'cupra tcr') { | |
origin = 'Spain' | |
production_year = '2018' | |
weight = '1305 kg' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbocharged' | |
drive_type = 'FWD' | |
horse_power = '335 bhp' | |
} | |
if (car == 'dmd p20') { | |
origin = 'The Netherlands' | |
production_year = '2009' | |
weight = '970' | |
engine_type = 'V12' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '570' | |
} | |
if (car == 'dmd p21') { | |
origin = 'The Netherlands' | |
production_year = '2009' | |
weight = '970' | |
engine_type = 'V6' | |
aspiration = 'Twin-Turbo' | |
drive_type = 'RWD' | |
horse_power = '450' | |
} | |
if (car == 'dtm mercedes amg c coupe 14') { | |
origin = 'Germany' | |
production_year = '2014' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500+' | |
} | |
if (car == 'dtm mercedes amg c coupe') { | |
origin = 'Germany' | |
production_year = '2013' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500' | |
} | |
if (car == 'fabcar 935') { | |
origin = 'USA' | |
production_year = '1983' | |
weight = '1025' | |
engine_type = 'Boxer-6' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '800' | |
} | |
if (car == 'ferrari 488 gt3 evo 2020 dtm') { | |
origin = 'Italy' | |
production_year = '2021' | |
weight = '1370kg with driver' | |
engine_type = '3.9L V8' | |
aspiration = 'Twin turbo' | |
drive_type = 'RWD' | |
horse_power = '560bhp' | |
} | |
if (car == 'ferrari 488 gt3 evo 2020') { | |
origin = 'Italy' | |
production_year = '2021' | |
weight = '1370kg with driver' | |
engine_type = '3.9L V8' | |
aspiration = 'Twin turbo' | |
drive_type = 'Italy' | |
horse_power = '560bhp' | |
} | |
if (car == 'ford gt gt1') { | |
origin = 'USA' | |
production_year = '2011' | |
weight = '1280 kg' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '609 bhp' | |
} | |
if (car == 'ford gt gt3') { | |
} | |
if (car == 'ford mustang gt3') { | |
origin = 'USA' | |
production_year = '2007' | |
weight = '1435kg with driver' | |
engine_type = '5.3L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '630bhp' | |
} | |
if (car == 'ford mustang gt dtm') { | |
origin = 'USA' | |
production_year = '1992' | |
weight = '1160' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '+520' | |
} | |
if (car == 'ford mustang imsa gto') { | |
origin = 'USA' | |
production_year = '1985' | |
weight = '1100' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '650' | |
} | |
if (car == 'ford mustang mach e 1400') { | |
origin = 'America' | |
production_year = '2021' | |
weight = '2600kg with driver' | |
engine_type = 'Fully-electric engine' | |
aspiration = 'N/A' | |
drive_type = '4WD' | |
horse_power = '1400 HP' | |
} | |
if (car == 'formula raceroom 2') { | |
origin = 'Sweden' | |
production_year = '2015' | |
weight = '688' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '612' | |
} | |
if (car == 'formula raceroom 3') { | |
origin = 'Sweden' | |
production_year = '2016' | |
weight = '565' | |
engine_type = 'Inline-4' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '240' | |
} | |
if (car == 'formula raceroom junior') { | |
origin = 'Sweden' | |
production_year = '2015' | |
weight = '545' | |
engine_type = 'Inline-4' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '145' | |
} | |
if (car == 'formula raceroom us') { | |
origin = 'Sweden' | |
production_year = '2016' | |
weight = '785 kg including driver' | |
engine_type = 'V6' | |
aspiration = 'Turbo charged' | |
drive_type = 'RWD' | |
horse_power = '675' | |
} | |
if (car == 'formula raceroom x 17') { | |
origin = 'Sweden' | |
production_year = '2017' | |
weight = '620' | |
engine_type = 'V10' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '950' | |
} | |
if (car == 'formula rr 90 v10') { | |
origin = 'Sweden' | |
production_year = '1990' | |
weight = '560kg (including driver)' | |
engine_type = '70\u00b0 V10, 50 Valves' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '680 bhp@ 12750' | |
} | |
if (car == 'formula rr 90 v12') { | |
origin = 'France' | |
production_year = '1990' | |
weight = '560kg (including driver)' | |
engine_type = '75\u00b0 V12, 72 Valves' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '680 bhp @ 13000' | |
} | |
if (car == 'formula rr 90 v8') { | |
origin = 'United Kingdom' | |
production_year = '1990' | |
weight = '560kg (including driver)' | |
engine_type = '85\u00b0 V8, 32 Valves' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '680 bhp@ 12500' | |
} | |
if (car == 'gumpert apollo sport') { | |
origin = 'Germany' | |
production_year = '2008' | |
weight = '1275 kg' | |
engine_type = 'V8' | |
aspiration = 'Twin-turbo' | |
drive_type = 'RWD' | |
horse_power = '612 bhp' | |
} | |
if (car == 'honda civic tcr') { | |
origin = 'Japan' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'honda civic wtcc 2014') { | |
origin = 'Japan' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'honda civic wtcc 2015') { | |
origin = 'Japan' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'honda civic wtcc 2016') { | |
origin = 'Japan' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'honda civic wtcc 2017') { | |
origin = 'Japan' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'honda civic wtcc') { | |
origin = 'Japan' | |
production_year = '2013' | |
weight = '1150' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '290' | |
} | |
if (car == 'hyundai elantra tcr 2021') { | |
origin = 'South Korea' | |
production_year = '2021' | |
weight = '1365kg with driver' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Single turbo' | |
drive_type = 'FWD' | |
horse_power = '340bhp' | |
} | |
if (car == 'hyundai i30 n tcr') { | |
origin = 'South Korea' | |
production_year = '2018' | |
weight = '1325kg' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Single turbo' | |
drive_type = 'FWD' | |
horse_power = '340bhp' | |
} | |
if (car == 'koenigsegg ccgt') { | |
origin = 'Sweden' | |
production_year = '2007' | |
weight = '1275 kg' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '598 bhp' | |
} | |
if (car == 'ktm x-bow gt4') { | |
origin = 'Austria' | |
production_year = '2015' | |
weight = '1300kg' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbocharged' | |
drive_type = 'RWD' | |
horse_power = '353BHP' | |
} | |
if (car == 'ktm x-bow-rr') { | |
origin = 'Austria' | |
production_year = '2012' | |
weight = '810' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo charged' | |
drive_type = 'RWD' | |
horse_power = '360' | |
} | |
if (car == 'lada granta 16t') { | |
origin = 'Russia' | |
production_year = '2014' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'lada granta wtcc') { | |
origin = 'Russia' | |
production_year = '2013' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '300' | |
} | |
if (car == 'lada vesta tcr') { | |
origin = 'Russia' | |
production_year = '2020' | |
weight = '1345kg with driver' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Single turbo' | |
drive_type = 'FWD' | |
horse_power = '345bhp' | |
} | |
if (car == 'lada vesta') { | |
origin = 'Russia' | |
production_year = '2020' | |
weight = '1345kg with driver' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Single turbo' | |
drive_type = 'FWD' | |
horse_power = '345bhp' | |
} | |
if (car == 'lada vesta wtcc 2015') { | |
origin = 'Russia' | |
production_year = '2015' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'lada vesta wtcc 2016') { | |
origin = 'Russia' | |
production_year = '2015' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'lada vesta wtcc 2017') { | |
origin = 'Russia' | |
production_year = '2015' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'lotus evora gt4') { | |
origin = 'United Kingdom' | |
production_year = '2010' | |
weight = '1300kg' | |
engine_type = 'V6' | |
aspiration = 'NA' | |
drive_type = 'RWD' | |
horse_power = '355bhp' | |
} | |
if (car == 'lynk & co 03 tcr') { | |
origin = 'China' | |
production_year = '2019' | |
weight = '1355kg with driver' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Single turbo' | |
drive_type = 'FWD' | |
horse_power = '340bhp' | |
} | |
if (car == 'mclaren 650s gt3') { | |
origin = 'United Kingdom' | |
production_year = '2015' | |
weight = '1350kg with driver' | |
engine_type = '3.8L V8' | |
aspiration = 'Twin-Turbo' | |
drive_type = 'RWD' | |
horse_power = '570bhp' | |
} | |
if (car == 'mclaren 720s gt3 dtm') { | |
origin = 'United Kingdom' | |
production_year = '2021' | |
weight = '1390kg with driver' | |
engine_type = '4.0L V8' | |
aspiration = 'Twin-Turbo' | |
drive_type = 'RWD' | |
horse_power = '575bhp' | |
} | |
if (car == 'mclaren mercedes slr 722 gt') { | |
origin = 'Germany' | |
production_year = '2007' | |
weight = '1490' | |
engine_type = 'V8' | |
aspiration = 'Supercharger' | |
drive_type = 'RWD' | |
horse_power = '600+' | |
} | |
if (car == 'mclaren mp4-12c gt3') { | |
origin = 'United Kingdom' | |
production_year = '2013' | |
weight = '1340kg with driver' | |
engine_type = '3.8L V8' | |
aspiration = 'Twin-Turbo' | |
drive_type = 'RWD' | |
horse_power = '575bhp' | |
} | |
if (car == 'mercedes 190e evo ii dtm') { | |
origin = 'Germany' | |
production_year = '1992' | |
weight = '970' | |
engine_type = 'Inline-4' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '+350' | |
} | |
if (car == 'mercedes amg c 63 dtm 2016') { | |
origin = 'Germany' | |
production_year = '2016' | |
weight = '1120' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500' | |
} | |
if (car == 'mercedes amg c63 dtm') { | |
origin = 'Germany' | |
production_year = '2015' | |
weight = '1110' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500+' | |
} | |
if (car == 'mercedes-amg gt3 2020 dtm') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1390kg with driver' | |
engine_type = '6.3L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '585hp' | |
} | |
if (car == 'mercedes-amg gt3 2020') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1390kg with driver' | |
engine_type = '6.3L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '585bhp' | |
} | |
if (car == 'mercedes amg gt3') { | |
origin = 'Germany' | |
production_year = '2016' | |
weight = '1390kg with driver' | |
engine_type = '6.3L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '590bhp' | |
} | |
if (car == 'mercedes amg gt4 2020') { | |
origin = 'Germany' | |
production_year = '2020' | |
weight = '1545kg' | |
engine_type = '4.0L V8' | |
aspiration = 'Twin Turbo' | |
drive_type = 'RWD' | |
horse_power = '415bhp' | |
} | |
if (car == 'mercedes benz sls amg gt3') { | |
origin = 'Germany' | |
production_year = '2013' | |
weight = '1405kg with driver' | |
engine_type = '6.3L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '600bhp' | |
} | |
if (car == 'mistral m530') { | |
origin = 'United Kingdom' | |
production_year = '2009' | |
weight = '970' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '535' | |
} | |
if (car == 'mistral m531') { | |
origin = 'United Kingdom' | |
production_year = '2009' | |
weight = '970' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '450' | |
} | |
if (car == 'nissan 300zx z32') { | |
origin = 'Japan' | |
production_year = '1989' | |
weight = '1200' | |
engine_type = 'V6' | |
aspiration = 'Turbo charged' | |
drive_type = 'RWD' | |
horse_power = '750' | |
} | |
if (car == 'nissan gt r gt1') { | |
origin = 'Japan' | |
production_year = '2011' | |
weight = '1320 kg' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '653 bhp' | |
} | |
if (car == 'nissan gt r gt3') { | |
origin = 'Japan' | |
production_year = '2011' | |
weight = '1370kg with driver' | |
engine_type = '3.8L V6' | |
aspiration = 'Twin-turbo' | |
drive_type = 'RWD' | |
horse_power = '600bhp' | |
} | |
if (car == 'nissan r90ck') { | |
origin = 'Japan' | |
production_year = '1990' | |
weight = '1033kg (with driver)' | |
engine_type = 'V8' | |
aspiration = 'Twin-Turbo' | |
drive_type = 'RWD' | |
horse_power = '773 hp' | |
} | |
if (car == 'nissan silvia turbo') { | |
origin = 'Japan' | |
production_year = '1981' | |
weight = '1050' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '650' | |
} | |
if (car == 'nissan skyline 2000rs') { | |
origin = 'Japan' | |
production_year = '1981' | |
weight = '1005' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '650' | |
} | |
if (car == 'nissan skyline gtr r32') { | |
origin = 'Japan' | |
production_year = '1990' | |
weight = '1400kg' | |
engine_type = 'Inline-6' | |
aspiration = 'Twin-Turbo' | |
drive_type = '4WD' | |
horse_power = '400+' | |
} | |
if (car == 'nsu tts') { | |
origin = 'Germany' | |
production_year = '1969' | |
weight = '620' | |
engine_type = 'Inline-4' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '122' | |
} | |
if (car == 'opel astra') { | |
origin = 'Germany' | |
production_year = '2018' | |
weight = '1315kg with driver' | |
engine_type = '2.0L in-line 4' | |
aspiration = 'Single turbo' | |
drive_type = 'FWD' | |
horse_power = '339bhp' | |
} | |
if (car == 'opel omega 3000 evo500') { | |
origin = 'Germany' | |
production_year = '1992' | |
weight = '1130' | |
engine_type = 'Inline-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '+400' | |
} | |
if (car == 'p4 5 competizione gt2') { | |
origin = 'Italy' | |
production_year = '2011' | |
weight = '1230' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '500' | |
} | |
if (car == 'p4 5 competizione gt3') { | |
origin = 'Italy' | |
production_year = '2011' | |
weight = '1305kg with driver' | |
engine_type = '4.3L V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '560bhp' | |
} | |
if (car == 'pagani zonda r') { | |
origin = 'Italy' | |
production_year = '2009' | |
weight = '1184 kg' | |
engine_type = 'Mercedes-Benz V12' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '670 bhp' | |
} | |
if (car == 'peugeot 308 tcr') { | |
origin = 'France' | |
production_year = '2018' | |
weight = '1285 kg' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbocharged' | |
drive_type = 'FWD' | |
horse_power = '330 bhp' | |
} | |
if (car == 'porsche 718 cayman gt4 clubsport') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1435kg with driver' | |
engine_type = '3.8L Flat-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '420bhp' | |
} | |
if (car == 'porsche 911 carrera cup 964') { | |
origin = 'Germany' | |
production_year = '1990/1991' | |
weight = '1158kg with driver' | |
engine_type = '3.6L flat-6' | |
aspiration = 'NA' | |
drive_type = 'RWD' | |
horse_power = '265' | |
} | |
if (car == 'porsche 911 gt2 rs clubsport') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1475kg with driver' | |
engine_type = '3.8L Flat-6' | |
aspiration = 'Twin-turbo' | |
drive_type = 'RWD' | |
horse_power = '700bhp' | |
} | |
if (car == 'porsche 911 gt3 cup endurance') { | |
origin = 'Germany' | |
production_year = '2017' | |
weight = '1205 Kg' | |
engine_type = '4.0l flat-6' | |
aspiration = 'N/A' | |
drive_type = 'RWD' | |
horse_power = '485 BHP @ 7500rpm' | |
} | |
if (car == 'porsche 911 gt3 cup') { | |
origin = 'Germany' | |
production_year = '2017' | |
weight = '1205 Kg' | |
engine_type = '4.0l flat-6' | |
aspiration = 'N/A' | |
drive_type = 'RWD' | |
horse_power = '485 BHP @ 7500rpm' | |
} | |
if (car == 'porsche 911 gt3 r (2019) dtm') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1345kg with driver' | |
engine_type = '4.0L Flat-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '570bhp' | |
} | |
if (car == 'porsche 911 gt3 r (2019)') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1345kg with driver' | |
engine_type = '4.0L Flat-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '570bhp' | |
} | |
if (car == 'porsche 911 rsr (2019)') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '1335kg with driver' | |
engine_type = 'F6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '610bhp' | |
} | |
if (car == 'porsche 934 turbo rsr') { | |
origin = 'Germany' | |
production_year = '1976' | |
weight = '1190kg with driver' | |
engine_type = '3.0L flat-6' | |
aspiration = 'Single turbo' | |
drive_type = 'RWD' | |
horse_power = '485hp' | |
} | |
if (car == 'porsche 962 c team joest') { | |
origin = 'Germany' | |
production_year = '1992' | |
weight = '1057kg with driver' | |
engine_type = '3.2L flat-6' | |
aspiration = 'Twin turbo' | |
drive_type = 'RWD' | |
horse_power = '735 hp' | |
} | |
if (car == 'porsche cayman gt4 clubsport') { | |
origin = 'Germany' | |
production_year = '2017' | |
weight = '1380 Kg' | |
engine_type = '3.8l flat-6' | |
aspiration = 'NA' | |
drive_type = 'RWD' | |
horse_power = '385 BHP @ 7500 RPM' | |
} | |
if (car == 'porsche cayman gt4 cs mr') { | |
origin = 'Germany' | |
production_year = '2017' | |
weight = '1300 Kg' | |
engine_type = '3.8l flat 6' | |
aspiration = 'NA' | |
drive_type = 'RWD' | |
horse_power = '385 BHP @ 7500 RPM' | |
} | |
if (car == 'radical sr9 aer') { | |
origin = 'United Kingdom' | |
production_year = '2006' | |
weight = '970' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '470' | |
} | |
if (car == 'radical sr9 judd') { | |
origin = 'United Kingdom' | |
production_year = '2006' | |
weight = '970' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '475' | |
} | |
if (car == 'ruf ctr3') { | |
origin = 'Germany' | |
production_year = '2007' | |
weight = '1300 kg' | |
engine_type = 'Flat-6' | |
aspiration = 'Twin-turbo' | |
drive_type = 'RWD' | |
horse_power = '615 bhp' | |
} | |
if (car == 'ruf rt12r') { | |
origin = 'Germany' | |
production_year = '2011' | |
weight = '1150' | |
engine_type = 'Flat-6' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '545+' | |
} | |
if (car == 'saleen s7r') { | |
origin = 'USA' | |
production_year = '2004' | |
weight = '1295 kg' | |
engine_type = 'V8' | |
aspiration = 'Naturally aspirated' | |
drive_type = 'RWD' | |
horse_power = '615 bhp' | |
} | |
if (car == 'seat leon wtcc') { | |
origin = 'Spain' | |
production_year = '2013' | |
weight = '1150' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '310' | |
} | |
if (car == 'shopping cart') { | |
origin = 'Sweden' | |
production_year = '2022' | |
weight = '200kg with driver' | |
engine_type = '400cc 4-cylinder' | |
aspiration = 'NA' | |
drive_type = 'RWD' | |
horse_power = '67hp' | |
} | |
if (car == 'tatuus f4') { | |
origin = 'Italy' | |
production_year = '2014' | |
weight = '570' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo charged' | |
drive_type = 'RWD' | |
horse_power = '160' | |
} | |
if (car == 'volkswagen golf gti tcr') { | |
origin = 'Germany' | |
production_year = '2018' | |
weight = '1315' | |
engine_type = 'Inline-4' | |
aspiration = 'N/A' | |
drive_type = 'FWD' | |
horse_power = '338' | |
} | |
if (car == 'volkswagen id r') { | |
origin = 'Germany' | |
production_year = '2019' | |
weight = '< 1,100 kg (incl. driver)' | |
engine_type = 'Fully-electric engine' | |
aspiration = 'N/A' | |
drive_type = '4WD + active torque distribution' | |
horse_power = '500 kW (680 HP)' | |
} | |
if (car == 'volkswagen scirocco gr2') { | |
origin = 'Germany' | |
production_year = '1976' | |
weight = '855kg with driver' | |
engine_type = '1.6L in-line 4' | |
aspiration = 'NA' | |
drive_type = 'FWD' | |
horse_power = '176hp' | |
} | |
if (car == 'volvo 240 turbo') { | |
origin = 'Sweden' | |
production_year = '1980' | |
weight = '1050' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '345+' | |
} | |
if (car == 'volvo s60 polestar tc1') { | |
origin = 'Sweden' | |
production_year = '2016' | |
weight = '1100' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'FWD' | |
horse_power = '380' | |
} | |
if (car == 'zakspeed capri') { | |
origin = 'Germany' | |
production_year = '1979' | |
weight = '830' | |
engine_type = 'Inline-4' | |
aspiration = 'Turbo' | |
drive_type = 'RWD' | |
horse_power = '600' | |
} | |
return tcase(car + ' - ' + production_year + '\n' + | |
aspiration + ' ' + engine_type + | |
'\nPower: ' + horse_power + | |
'\n\nDrive: ' + drive_type + ' / ' + origin + | |
'\nWeight: ' + weight) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment