Merge pull request #5429 from tigercat2000/mecha

/tg/ mecha - Part 1
This commit is contained in:
Fox McCloud
2016-08-17 17:30:00 -04:00
committed by GitHub
34 changed files with 2711 additions and 3179 deletions
+5
View File
@@ -29,6 +29,11 @@
. = ..()
unbuckle_mob()
/atom/movable/proc/has_buckled_mobs()
if(buckled_mob)
return TRUE
return FALSE
//procs that handle the actual buckling and unbuckling
/atom/movable/proc/buckle_mob(mob/living/M)
if(!can_buckle || !istype(M) || (M.loc != loc) || M.buckled || M.buckled_mob || buckled_mob || (buckle_requires_restraints && !M.restrained()) || M == src)