Allows borgs to move up and down with jetpacks

This commit is contained in:
Neerti
2019-01-21 02:58:07 -05:00
committed by VirgoBot
parent a0cb0a347d
commit d4baa2df07
2 changed files with 9 additions and 3 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.
+4
View File
@@ -142,7 +142,11 @@
return 0
if(Process_Spacemove()) //Checks for active jetpack
<<<<<<< HEAD
return 1
=======
return TRUE
>>>>>>> 12489df... Merge pull request #5889 from Atermonera/jetborg
for(var/turf/simulated/T in trange(1,src)) //Robots get "magboots"
if(T.density)