[READY]Pulling claw 2 (#33817)

Pulling claw is integrated circuit,which allows drones to pull things.
This commit is contained in:
arsserpentarium
2018-01-11 14:03:52 -06:00
committed by CitadelStationBot
parent b2021912d7
commit 1d91243ae2
10 changed files with 162 additions and 57 deletions
-18
View File
@@ -266,24 +266,6 @@
/mob/proc/mob_negates_gravity()
return FALSE
//moves the mob/object we're pulling
/mob/proc/Move_Pulled(atom/A)
if(!pulling)
return
if(pulling.anchored || !pulling.Adjacent(src))
stop_pulling()
return
if(isliving(pulling))
var/mob/living/L = pulling
if(L.buckled && L.buckled.buckle_prevents_pull) //if they're buckled to something that disallows pulling, prevent it
stop_pulling()
return
if(A == loc && pulling.density)
return
if(!Process_Spacemove(get_dir(pulling.loc, A)))
return
step(pulling, get_dir(pulling.loc, A))
/mob/proc/slip(s_amount, w_amount, obj/O, lube)
return