Allows borgs to move up and down with jetpacks

This commit is contained in:
atermonera
2019-01-20 19:16:23 -08:00
parent c31e8f2008
commit 57f016f83f
2 changed files with 6 additions and 4 deletions
@@ -6,9 +6,11 @@
/mob/living/silicon/robot/Process_Spacemove()
if(module)
for(var/obj/item/weapon/tank/jetpack/J in module.modules)
if(J && istype(J, /obj/item/weapon/tank/jetpack))
if(J.allow_thrust(0.01)) return 1
if(..()) return 1
if(istype(J, /obj/item/weapon/tank/jetpack))
if(J.allow_thrust(0.01))
return 1
if(..())
return 1
return 0
//No longer needed, but I'll leave it here incase we plan to re-use it.
+1 -1
View File
@@ -130,7 +130,7 @@
return TRUE
if(Process_Spacemove()) //Checks for active jetpack
return FALSE
return TRUE
for(var/turf/simulated/T in trange(1,src)) //Robots get "magboots"
if(T.density)