[MIRROR] Mecha medical and other_equipment refactor (#926)

* Mecha medical and other_equipment refactor (#53637)

* Mecha medical and other_equipment refactor

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-09-23 14:42:20 +02:00
committed by GitHub
co-authored by TiviPlus
parent 87d1cc8cdd
commit b52dcb5801
10 changed files with 261 additions and 284 deletions
+1 -1
View File
@@ -918,7 +918,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
// Ghosts have no momentum, being massless ectoplasm
/mob/dead/observer/Process_Spacemove(movement_dir)
return 1
return TRUE
/mob/dead/observer/vv_edit_var(var_name, var_value)
. = ..()
+2 -1
View File
@@ -268,7 +268,8 @@
* You can move in space if you have a spacewalk ability
*/
/mob/Process_Spacemove(movement_dir = 0)
if(HAS_TRAIT(src, TRAIT_SPACEWALK) || ..())
. = ..()
if(. || HAS_TRAIT(src, TRAIT_SPACEWALK))
return TRUE
var/atom/movable/backup = get_spacemove_backup()
if(backup)