Combat exosuits can now actually punch through walls and girders again, based on their 'force'. Fixes some to_chat's.

This commit is contained in:
Mechoid
2017-09-29 22:10:48 -07:00
parent 058aae2983
commit 77f0e7514c
3 changed files with 15 additions and 4 deletions
+6
View File
@@ -125,6 +125,12 @@
else
return ..()
/obj/structure/girder/proc/take_damage(var/damage)
health -= damage
if(health <= 0)
dismantle()
/obj/structure/girder/proc/construct_wall(obj/item/stack/material/S, mob/user)
var/amount_to_use = reinf_material ? 1 : 2
if(S.get_amount() < amount_to_use)