From 42d0ab48250b70bd2ceb90b11dcdbd79a51ee8d8 Mon Sep 17 00:00:00 2001 From: Fermi Date: Sat, 8 Jun 2019 01:31:21 +0100 Subject: [PATCH] Comment cleanup. --- code/modules/projectiles/projectile/bullets/dart_syringe.dm | 6 +++--- code/modules/reagents/reagent_containers/syringes.dm | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/code/modules/projectiles/projectile/bullets/dart_syringe.dm b/code/modules/projectiles/projectile/bullets/dart_syringe.dm index 58b76c78a2..23db5c3245 100644 --- a/code/modules/projectiles/projectile/bullets/dart_syringe.dm +++ b/code/modules/projectiles/projectile/bullets/dart_syringe.dm @@ -49,7 +49,7 @@ /obj/item/projectile/bullet/dart/syringe/dart/on_hit(atom/target, blocked = FALSE) if(iscarbon(target)) var/mob/living/carbon/M = target - if(blocked != 100) // not completely blocked + if(blocked != 100) if(M.can_inject(null, FALSE, def_zone, piercing)) // Pass the hit zone to see if it can inject by whether it hit the head or the body. ..(target, blocked, TRUE) for(var/datum/reagent/R in reagents.reagent_list) //OD prevention time! @@ -58,7 +58,7 @@ if(R.overdose_threshold == 0) //Is there a possible OD? M.reagents.add_reagent(R.id, R.volume) else - var/transVol = CLAMP(R.volume, 0, (R.overdose_threshold - M.reagents.get_reagent_amount(R.id)) -1) //Doesn't work + var/transVol = CLAMP(R.volume, 0, (R.overdose_threshold - M.reagents.get_reagent_amount(R.id)) -1) M.reagents.add_reagent(R.id, transVol) else if(!R.overdose_threshold == 0) @@ -70,7 +70,7 @@ target.visible_message("\The [src] beeps!") - to_chat("You feel a tiny prick, and turn around to see a smartdart embedded in your butt.") + to_chat("You feel a tiny prick as a smartdart embeds itself in you with a beep.") return TRUE else blocked = 100 diff --git a/code/modules/reagents/reagent_containers/syringes.dm b/code/modules/reagents/reagent_containers/syringes.dm index bfbf135e6f..39a372c381 100644 --- a/code/modules/reagents/reagent_containers/syringes.dm +++ b/code/modules/reagents/reagent_containers/syringes.dm @@ -268,7 +268,6 @@ desc = "A non-harmful dart that can administer medication from a range. Once it hits a patient, only medicines are administered to the patient using a smart nanofilter and capillary action with a built in safety for OD." volume = 20 amount_per_transfer_from_this = 20 - //icon = 'icons/obj/dart.dmi' icon_state = "empty" item_state = "syringe_empty" @@ -307,7 +306,7 @@ to_chat(user, "You cannot directly remove reagents from [target]!") return - var/trans = target.reagents.trans_to(src, amount_per_transfer_from_this) // transfer from, transfer to - who cares? + var/trans = target.reagents.trans_to(src, amount_per_transfer_from_this) to_chat(user, "You soak the [src] with [trans] units of the solution. It now contains [reagents.total_volume] units.") if (reagents.total_volume >= reagents.maximum_volume)