483 {
484 super.EEItemAttached(item, slot_name);
485
486 switch (slot_name)
487 {
488 case "Reflector_1_1":
490 SetHealth("Reflector_1_1", "Health", item.GetHealth());
491 break;
492 case "Reflector_2_1":
494 SetHealth("Reflector_2_1", "Health", item.GetHealth());
495 break;
496 case "CarBattery":
497 case "TruckBattery":
500 break;
501 case "SparkPlug":
502 case "GlowPlug":
505 break;
506 case "CarRadiator":
509
511 break;
512 }
513
516
519 }
void UpdateHeadlightState()
override void UpdateLights(int new_gear=-1)