More train fixes

- No passing plastic flaps
- Only human based mobs can board trains
- Adjacent checks for exiting vehicles
- Cleaned up as many direct loc moves as possible
- Places removed cells in the removers hand
This commit is contained in:
Loganbacca
2014-07-28 20:39:42 +12:00
committed by ZomgPonies
parent 45bcd41b9d
commit 0affd2b7c8
4 changed files with 23 additions and 17 deletions
+4 -1
View File
@@ -54,7 +54,10 @@ var/list/mechtoys = list(
if (istype(A, /obj/structure/stool/bed) && B.buckled_mob)//if it's a bed/chair and someone is buckled, it will not pass
return 0
else if(istype(A, /mob/living)) // You Shall Not Pass!
if(istype(A, /obj/vehicle)) //no vehicles
return 0
if(istype(A, /mob/living)) // You Shall Not Pass!
var/mob/living/M = A
if(!M.lying && !istype(M, /mob/living/carbon/monkey) && !istype(M, /mob/living/carbon/slime) && !istype(M, /mob/living/simple_animal/mouse) && !istype(M, /mob/living/silicon/robot/drone)) //If your not laying down, or a small creature, no pass.
return 0