Merge pull request #4706 from VOREStation/upstream-merge-5889

[MIRROR] Allows borgs to move up and down with jetpacks
This commit is contained in:
Novacat
2019-03-27 20:39:35 -04:00
committed by GitHub
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
@@ -152,7 +152,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)