mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
Merge pull request #4706 from VOREStation/upstream-merge-5889
[MIRROR] Allows borgs to move up and down with jetpacks
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user