mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Gives the recycler higher damage deflection
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user