anchor.diff:  	set src = usr.loc
   
   	if(usr != src.occupant)
  -		return
  -	inertia_dir = 0 // engage reverse thruster and power down pod
  -	src.occupant.loc = src.loc
  -	src.occupant = null
  -	usr << "<span class='notice'>You climb out of the pod</span>"
  -	return
  +		if(src.occupant2)
  +			if(usr != src.occupant2)
  +				return
  +			else
  +				if(src.allow2eject)
  +					inertia_dir = 0 // engage reverse thruster and power down pod
  +					src.occupant2.loc = src.loc
  +					src.occupant2 = null
  +					usr << "<span class='notice'>You climb out of the pod</span>"
  +				else
  +					usr << "<span class='notice'>The secondary door is locked.</span>"
  +					return
  +		else
  +			return
  +	else
  +		inertia_dir = 0 // engage reverse thruster and power down pod
  +		src.occupant.loc = src.loc
  +		src.occupant = null
  +		usr << "<span class='notice'>You climb out of the pod</span>"
  +		return
  +
  +/obj/spacepod/verb/exit_pod2()
  +	if(!src.occupant2)
  +		set hidden = 1
  +		return
  +	else
  +		set name = "Eject Secondary Seat"
  +		set category = "Spacepod"
  +		set src = usr.loc
  +		set hidden = 0
  +
  +		if(usr.ckey == src.occupant2.ckey)
  +			usr << "<span class='notice'>Use 'Exit Pod'</span>"
  +			return
  +		else
  +			usr << "<span class='notice'>You eject [src.occupant2.name].</span>"
  +			src.occupant2.visible_message("You were ejected from the pod!")
  +			inertia_dir = 0 // engage reverse thruster and power down pod
  +			src.occupant2.loc = src.loc
  +			src.occupant2 = null
  +
  +
  +/obj/spacepod/verb/locksecondseat()
  +	if(!src.occupant2)
  +		usr << "<span class='notice'>No point locking that door. </span>"
  +		return
  +	else
  +		set name = "Lock Second Seat"
  +		set category = "Spacepod"
  +		set src in oview(1)
  +
  +		if(usr.ckey == src.occupant2.ckey)
  +			if(!allow2eject)
  +				usr << "<span class='notice'>You can't unlock the door from your seat. </span>"
  +				return
  +			else
  +				usr << "<span class='notice'>You can't lock the door from your seat. </span>"
  +				return
  +		else
  +			if(src.allow2eject)
  +				src.allow2eject = 0
  +				usr << "<span class='notice'>You lock the secondary door.</span>"
  +			else
  +				src.allow2eject = 1
  +				usr << "<span class='notice'>You unlock the secondary door.</span>"
   
   /obj/spacepod/verb/toggleDoors()
  -	set name = "Toggle Nearby Pod Doors"
  -	set category = "Spacepod"
  -	set src = usr.loc
  -
  -	for(var/obj/machinery/door/poddoor/P in oview(3,src))
  -		if(istype(P, /obj/machinery/door/poddoor/three_tile_hor) || istype(P, /obj/machinery/door/poddoor/three_tile_ver) || istype(P, /obj/machinery/door/poddoor/four_tile_hor) || istype(P, /obj/machinery/door/poddoor/four_tile_ver))
  -			var/mob/living/carbon/human/L = usr
  -			if(P.check_access(L.get_active_hand()) || P.check_access(L.wear_id))
  -				if(P.density)
  -					P.open()
  -					return 1
  -				else
  -					P.close()
  -					return 1
  -			usr << "<span class='warning'>Access denied.</span>"
  -			return
  -	usr << "<span class='warning'>You are not close to any pod doors.</span>"
  -	return
  +	if(src.occupant2)
  +		if(usr.ckey != src.occupant2.ckey)
  +			set name = "Toggle Nearby Pod Doors"
  +			set category = "Spacepod"
  +			set src = usr.loc
  +
  +			for(var/obj/machinery/door/poddoor/P in oview(3,src))
  +				if(istype(P, /obj/machinery/door/poddoor/three_tile_hor) || istype(P, /obj/machinery/door/poddoor/three_tile_ver) || istype(P, /obj/machinery/door/poddoor/four_tile_hor) || istype(P, /obj/machinery/door/poddoor/four_tile_ver))
  +					var/mob/living/carbon/human/L = usr
  +					if(P.check_access(L.get_active_hand()) || P.check_access(L.wear_id))
  +						if(P.density)
  +							P.open()
  +							return 1
  +						else
  +							P.close()
  +							return 1
  +					usr << "<span class='warning'>Access denied.</span>"
  +					return
  +			usr << "<span class='warning'>You are not close to any pod doors.</span>"
  +			return
  +		else
  +			return
  +	else
  +		set name = "Toggle Nearby Pod Doors"
  +		set category = "Spacepod"
  +		set src = usr.loc
  +
  +		for(var/obj/machinery/door/poddoor/P in oview(3,src))
  +			if(istype(P, /obj/machinery/door/poddoor/three_tile_hor) || istype(P, /obj/machinery/door/poddoor/three_tile_ver) || istype(P, /obj/machinery/door/poddoor/four_tile_hor) || istype(P, /obj/machinery/door/poddoor/four_tile_ver))
  +				var/mob/living/carbon/human/L = usr
  +				if(P.check_access(L.get_active_hand()) || P.check_access(L.wear_id))
  +					if(P.density)
  +						P.open()
  +						return 1
  +					else
  +						P.close()
  +						return 1
  +				usr << "<span class='warning'>Access denied.</span>"
  +				return
  +		usr << "<span class='warning'>You are not close to any pod doors.</span>"
  +		return
   
   /obj/spacepod/verb/fireWeapon()
  -	set name = "Fire Pod Weapons"
  -	set desc = "Fire the weapons."
  -	set category = "Spacepod"
  -	set src = usr.loc
  -	equipment_system.weapon_system.fire_weapons()
  +	if(src.occupant2)
  +		if(usr.ckey != src.occupant2.ckey)
  +			set name = "Fire Pod Weapons"
  +			set desc = "Fire the weapons."
  +			set category = "Spacepod"
  +			set src = usr.loc
  +			equipment_system.weapon_system.fire_weapons()
  +		else
  +			return
  +	else
  +		set name = "Fire Pod Weapons"
  +		set desc = "Fire the weapons."
  +		set category = "Spacepod"
  +		set src = usr.loc
  +		equipment_system.weapon_system.fire_weapons()
   
   obj/spacepod/verb/toggleLights()
  -	set name = "Toggle Lights"
  -	set category = "Spacepod"
  -	set src = usr.loc
  -	if (usr != occupant)
  -		return
  -	lights = !lights
  -	if(lights)
  -		SetLuminosity(luminosity + lights_power)
  -	else
  -		SetLuminosity(luminosity - lights_power)
  -	occupant << "Toggled lights [lights?"on":"off"]."
  -	return
  +	if(src.occupant2)
  +		if(usr.ckey != src.occupant2.ckey)
  +			set name = "Toggle Lights"
  +			set category = "Spacepod"
  +			set src = usr.loc
  +			if (usr != occupant)
  +				return
  +			lights = !lights
  +			if(lights)
  +				SetLuminosity(luminosity + lights_power)
  +			else
  +				SetLuminosity(luminosity - lights_power)
  +			occupant << "Toggled lights [lights?"on":"off"]."
  +			return
  +		else
  +			return
  +	else
  +		set name = "Toggle Lights"
  +		set category = "Spacepod"
  +		set src = usr.loc
  +		if (usr != occupant)
  +			return
  +		lights = !lights
  +		if(lights)
  +			SetLuminosity(luminosity + lights_power)
  +		else
  +			SetLuminosity(luminosity - lights_power)
  +		occupant << "Toggled lights [lights?"on":"off"]."
  +		return
   
   /obj/spacepod/proc/enter_after(delay as num, var/mob/user as mob, var/numticks = 5)
   	var/delayfraction = delay/numticks
  
positive.code: 	layer = 3.9
  	infra_luminosity = 15
  	var/mob/living/carbon/occupant
  	var/datum/spacepod/equipment/equipment_system
  	var/obj/item/weapon/cell/high/battery
  	var/datum/gas_mixture/cabin_air
  
negative.code: 	if (usr.stat || !ishuman(usr))
  		return
  	if (src.occupant)
  		usr << "\blue <B>You starts climbing into the secondary seat.</B>"
  		visible_message("\blue [usr] starts to climb into [src.name]")
  		if(enter_after(40,usr))
  			moved_inside(usr)
  
  		else
  			usr << "You stop entering the spacepod."
  		return
  /*
  	if (usr.abiotic())
  