Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Advanced object example of car
- ; How much detail do you need?
- car := {
- top_speed: 155,
- fuel_type: 'Gasoline',
- oil_type: 'Synthetic',
- make: 'Nissan',
- model: 'WRX',
- year: 2025,
- color: 'World Rally Blue',
- engine: {
- engine_type: 'Turbocharged Inline-4',
- horsepower: 271,
- torque: 350,
- fuel_efficiency: 22,
- cylinder_count: 4,
- cooling_system: 'Liquid-Cooled',
- turbocharger: {
- type: 'Twin-scroll',
- boost_pressure: '1.2 bar',
- cooling: {
- type: 'Intercooler',
- material: 'Aluminum',
- size: 'Large'
- }
- }
- },
- transmission: {
- type: 'Manual',
- gears: 6,
- shift_mechanism: 'Hydraulic',
- differential: {
- type: 'Limited-slip',
- ratio: '3.9',
- location: 'Front and Rear'
- }
- },
- wheels: [
- {
- size: 18,
- material: 'Aluminum Alloy',
- type: 'All-Season',
- brake_type: {
- front: 'Disc',
- rear: 'Disc',
- material: 'Carbon-ceramic'
- }
- },
- {
- size: 18,
- material: 'Aluminum Alloy',
- type: 'All-Season',
- brake_type: {
- front: 'Disc',
- rear: 'Disc',
- material: 'Carbon-ceramic'
- }
- },
- {
- size: 18,
- material: 'Aluminum Alloy',
- type: 'All-Season',
- brake_type: {
- front: 'Disc',
- rear: 'Disc',
- material: 'Carbon-ceramic'
- }
- },
- {
- size: 18,
- material: 'Aluminum Alloy',
- type: 'All-Season',
- brake_type: {
- front: 'Disc',
- rear: 'Disc',
- material: 'Carbon-ceramic'
- }
- }
- ],
- interior: {
- seats: {
- seat_material: 'Alcantara',
- seat_adjustment: 'Electric',
- number_of_seats: 5,
- seat_heating: {
- front: 'Yes',
- rear: 'No'
- },
- seat_cooling: {
- front: 'No',
- rear: 'No'
- }
- },
- dashboard: {
- screen_size: 8,
- infotainment_system: 'Apple CarPlay, Android Auto',
- climate_control: 'Dual Zone',
- steering_wheel: {
- material: 'Leather',
- adjustable: 'Yes',
- heated: 'Yes'
- }
- }
- },
- safety_features: [
- 'ABS',
- 'Airbags (Front, Side, Curtain)',
- 'Lane Assist',
- 'Backup Camera',
- 'Adaptive Cruise Control',
- 'Blind Spot Detection',
- 'Rear Cross-Traffic Alert'
- ],
- dimensions: {
- length: 4.6,
- width: 1.8,
- height: 1.4,
- wheelbase: 2.7,
- weight: 1500,
- ground_clearance: 0.14
- },
- tires: [
- {
- tire_brand: 'Michelin',
- tire_type: 'All-Season',
- tire_pressure: 34,
- size: '225/45R18'
- },
- {
- tire_brand: 'Michelin',
- tire_type: 'All-Season',
- tire_pressure: 34,
- size: '225/45R18'
- },
- {
- tire_brand: 'Michelin',
- tire_type: 'All-Season',
- tire_pressure: 34,
- size: '225/45R18'
- },
- {
- tire_brand: 'Michelin',
- tire_type: 'All-Season',
- tire_pressure: 34,
- size: '225/45R18'
- }
- ],
- performance: {
- 0_60_time: 5.4,
- quarter_mile_time: 13.5,
- braking_distance: {
- 60_to_0: 35,
- meters: 35
- },
- handling: {
- g_force: 0.92,
- suspension: {
- front: 'MacPherson Strut',
- rear: 'Multi-Link'
- }
- }
- },
- lighting: {
- headlights: {
- type: 'LED',
- adaptive: 'Yes',
- auto_leveling: 'Yes'
- },
- taillights: {
- type: 'LED',
- dynamic_turn_signal: 'Yes'
- },
- fog_lights: {
- type: 'Halogen',
- activated: 'Automatic'
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement