687 {
688 super.EEItemAttached(item, slot_name);
689
690 switch (slot_name)
691 {
692 case "Reflector_1_1":
694 {
695 SetHealth("Reflector_1_1", "Health", item.GetHealth());
696 }
697 break;
698 case "Reflector_2_1":
700 {
701 SetHealth("Reflector_2_1", "Health", item.GetHealth());
702 }
703 break;
704 case "CarBattery":
705 case "TruckBattery":
707 {
709 }
710 break;
711 case "SparkPlug":
712 case "GlowPlug":
714 {
716 }
717 break;
718 case "CarRadiator":
720 {
722 }
723
725 break;
726 }
727
729 {
731 }
732
735 }
void UpdateHeadlightState()
void UpdateLights(int new_gear=-1)
proto native CGame GetGame()