From e6b3c67465ecf620773944b1dee1b4a95bed47bf Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 2 Jul 2019 21:24:52 -0500 Subject: [PATCH 1/2] Nerfs Simple Doors Simple doors would take the integrity of the material (150 for steel AND resin), divide it by 10, and use that hardness as health. Damage taken by the door would have its force divided by 100. This meant that in order to do 15 damage to a steel door with a baton, you'd need to hit the door 100 times. Now you only need to hit the door 10 times. Also makes it so bullets/lasers work against the doors Summation: Resin doors take 10 baton hits to break. (Resin walls take 14.) --- code/game/objects/structures/simple_doors.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/simple_doors.dm b/code/game/objects/structures/simple_doors.dm index e6b02663ee..915ee99967 100644 --- a/code/game/objects/structures/simple_doors.dm +++ b/code/game/objects/structures/simple_doors.dm @@ -131,7 +131,7 @@ user << "You finished digging." Dismantle() else if(istype(W,/obj/item/weapon)) //not sure, can't not just weapons get passed to this proc? - hardness -= W.force/100 + hardness -= W.force/10 user << "You hit the [name] with your [W.name]!" CheckHardness() else if(istype(W,/obj/item/weapon/weldingtool)) @@ -142,6 +142,10 @@ attack_hand(user) return +/obj/structure/simple_door/bullet_act(var/obj/item/projectile/Proj) + hardness -= W.force/10 + CheckHardness() + /obj/structure/simple_door/proc/CheckHardness() if(hardness <= 0) Dismantle(1) From 4f8173e3b78b2d8bd10699cdb7e103645c0200b7 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 2 Jul 2019 21:28:37 -0500 Subject: [PATCH 2/2] Fixes bullet_act to Proj.force --- code/game/objects/structures/simple_doors.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/simple_doors.dm b/code/game/objects/structures/simple_doors.dm index 915ee99967..8cd02d9bb0 100644 --- a/code/game/objects/structures/simple_doors.dm +++ b/code/game/objects/structures/simple_doors.dm @@ -143,7 +143,7 @@ return /obj/structure/simple_door/bullet_act(var/obj/item/projectile/Proj) - hardness -= W.force/10 + hardness -= Proj.force/10 CheckHardness() /obj/structure/simple_door/proc/CheckHardness()