Moves damage deflection code from doors to machines and gives it to the stacking machine (#41551)

* moves damage deflection from doors to machines and sets the stacking machine's at 21

* return

* NONE
This commit is contained in:
subject217
2018-11-19 11:44:19 -08:00
committed by Jordan Brown
parent b83170fc27
commit 8409348746
3 changed files with 8 additions and 7 deletions
@@ -137,7 +137,7 @@ GLOBAL_LIST(labor_sheet_values)
/obj/machinery/mineral/stacking_machine/laborstacker
force_connect = TRUE
var/points = 0 //The unclaimed value of ore stacked.
damage_deflection = 21
/obj/machinery/mineral/stacking_machine/laborstacker/process_sheet(obj/item/stack/sheet/inp)
points += inp.point_value * inp.amount
..()