From ac3f9ea671a94b74fa2a97525310ed19a7c4fd4f Mon Sep 17 00:00:00 2001 From: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Date: Fri, 20 Sep 2019 12:42:38 +1000 Subject: [PATCH] Makes threshold be based on specific organ rather than straight 10 --- code/game/objects/items/stacks/nanopaste.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/stacks/nanopaste.dm b/code/game/objects/items/stacks/nanopaste.dm index 2f14b7551c2..1170fedc04f 100644 --- a/code/game/objects/items/stacks/nanopaste.dm +++ b/code/game/objects/items/stacks/nanopaste.dm @@ -33,7 +33,7 @@ if (S && (S.robotic >= ORGAN_ROBOT)) if(!S.get_damage()) to_chat(user, "Nothing to fix here.") - else if((S.open < 2) && (S.get_damage() > 10) && !repair_external) + else if((S.open < 2) && (S.brute_dam + S.burn_dam >= S.min_broken_damage) && !repair_external) to_chat(user, "The damage is too extensive for this nanite swarm to handle.") else if(can_use(1)) user.setClickCooldown(user.get_attack_speed(src))