mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
21 lines
620 B
Plaintext
21 lines
620 B
Plaintext
/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
|
|
return 0
|
|
|
|
//No longer needed, but I'll leave it here incase we plan to re-use it.
|
|
/mob/living/silicon/robot/movement_delay()
|
|
var/tally = 0 //Incase I need to add stuff other than "speed" later
|
|
|
|
tally = speed
|
|
|
|
if(module_active && istype(module_active,/obj/item/borg/combat/mobility))
|
|
tally-=3
|
|
|
|
return tally+config.robot_delay
|
|
|
|
/mob/living/silicon/robot/Move()
|
|
..() |