Help with Code

I had a friend write this code for me to control some of the functions in my car, this friend writes code for a living and he wrote this code for free so i dont want to keep bugin him with any modifications so i thought ill just bug you guys. i hope some one can help me add a small new function at the end of the code. everything is explained in the code. i hope im not braking any forum rules and i hope someone can help.

#define reverse_pin 5
#define switch_pin 6
#define lights_on 2
#define close_pin 3
#define open_pin 4
#define tiltup_pin 9
#define tiltdn_pin 10
#define m1_pin 11
#define m2_pin 12
#define lid_switch 7
#define lid_open 8
#define fog_lights 13
#define tilttmr 3000
#define closetmr 4000

boolean tiltuplock=false,closemrrlk=true;

void setup (){
  pinMode(reverse_pin,INPUT);
  pinMode(switch_pin,INPUT);
  pinMode(close_pin,INPUT);
  pinMode(open_pin,INPUT);
  pinMode(tiltup_pin,OUTPUT);
  pinMode(tiltdn_pin,OUTPUT);
  pinMode(m1_pin,OUTPUT);
  pinMode(m2_pin,OUTPUT);
  pinMode(lid_switch,OUTPUT);
  pinMode(lights_on,INPUT);
  digitalWrite(tiltup_pin,LOW);
  digitalWrite(tiltdn_pin,LOW);
  digitalWrite(m1_pin,LOW);
  digitalWrite(m2_pin,LOW);
  digitalWrite(lid_open,LOW);
  digitalWrite(fog_lights,LOW);
}

void loop(){
   if(digitalRead(switch_pin)){
    if(digitalRead(reverse_pin)&&tiltuplock){//Tilt down
      delay(2000);
      if(digitalRead(reverse_pin)){
        tiltuplock=false;
        digitalWrite(tiltdn_pin,HIGH);
        delay(tilttmr);
        digitalWrite(tiltdn_pin,LOW);
      }
    }
    if(!digitalRead(reverse_pin)&&!tiltuplock){//Tilt up
      tiltuplock=true;
      digitalWrite(tiltup_pin,HIGH);
      delay(tilttmr);
      digitalWrite(tiltup_pin,LOW);
    }
  }
  else{
    if(digitalRead(open_pin)&&!digitalRead(close_pin)&&!closemrrlk){//Close mirror
      closemrrlk=true;
      digitalWrite(m1_pin,HIGH);
      delay(closetmr);
      digitalWrite(m1_pin,LOW);
    }
    if(!digitalRead(open_pin)&&digitalRead(close_pin)&&closemrrlk){//Open mirror
      closemrrlk=false;
      digitalWrite(m2_pin,HIGH);
      delay(closetmr);
      digitalWrite(m2_pin,LOW);
    }
      }
 // I added this to open the fuel cap lid. if the switch is pressed to activate a relay - Please check if correct   
// read the state of the lid_switch value:

// check if the lid_switch is pressed.
  // if it is, the buttonState is HIGH:
  if (lid_switch == HIGH) {
    // Open Fuel Lid:
    digitalWrite(lid_open, HIGH);
  } else {
    // Close Fuel Lid:
    digitalWrite(lid_open, LOW);  
  }
}
// i want to add one more statement - if switch pin 6  is high and lights_on pin 2 is high than fog_lights pin 13 should be high, esle turn of fog_lights

Why not try it yourself ? Use the other tests and actions as examples

he wrote this code for free so i dont want to keep bugin him with any modifications so i thought ill just bug you guys

What makes you think we write code for free?

The only comments in that code seem to be yours. Nothing from the original programmer.

It's worth what you paid for it.