Gives the recycler higher damage deflection

This commit is contained in:
joep van der velden
2020-08-25 17:17:49 +02:00
parent 127853aedf
commit 2efe73f528
+1 -8
View File
@@ -8,7 +8,7 @@
layer = MOB_LAYER+1 // Overhead
anchored = 1
density = 1
damage_deflection = 10
damage_deflection = 15
var/safety_mode = 0 // Temporarily stops machine if it detects a mob
var/icon_name = "grinder-o"
var/blood = 0
@@ -92,13 +92,6 @@
if(AM)
Bumped(AM)
/obj/machinery/recycler/hitby(atom/movable/AM, skipcatch, hitpush, blocked, datum/thrownthing/throwingdatum)
// Makes the recycler temporarily indestructible so it doesn't take damage but all the other effects do happen
var/prev_flags = resistance_flags
resistance_flags |= INDESTRUCTIBLE
..()
resistance_flags = prev_flags
/obj/machinery/recycler/Bumped(atom/movable/AM)
if(stat & (BROKEN|NOPOWER))