Configurable labels for vehicle extras using json config file
Using an extras.json config file (similar to addons.json), allows server admins to set custom labels on the Vehicle Options > Vehicle Extras menu for individual vehicle models. This eliminates users from having to guess which Extra to turn on & off for specific components of different vehicle models.
Sample extras.json config file:
{ "dotf150": { "1": "1: Plow", "2": "2: Plow Scoop", "3": "3: Plow Scoop Curved", "4": "4: Plow Scoop Wide", "5": "5: Sign Board", "6": "6: Sign (Right Arrow)", "7": "7: Sign (Left Arrow)", "8": "8: Sign (Road Work Ahead!)", "9": "9: Sign (Accident Ahead!)", "10": "10: Push Bar", "11": "11: Antennas", "12": "12: Truck Bed Gear" }, "traffictrailer": { "1": "1: Road Work Ahead", "2": "2: Left Arrow", "3": "3: Right Arrow", "4": "4: Drive Safely", "5": "5: Left Lane Closed", "6": "6: Accident Ahead", "7": "7: Click It Or Ticket", "8": "8: Detour Ahead", "9": "9: Slow Moving Traffic", "10": "10: Right Lane Closed", "11": "11: Keep Left", "12": "12: Keep Right" } }