From 6b2ecf94968212973ad40ef8723ceb59e967b032 Mon Sep 17 00:00:00 2001 From: firebudgy <153147550+firebudgy@users.noreply.github.com> Date: Sun, 25 Aug 2024 12:11:40 -0400 Subject: [PATCH] Allows penlights and flashlights to be used to diagnose eye health again (#3306) ## About The Pull Request As perhaps maybe the only person to know you can diagnose eye health with flashlights, I was surprised to see penlights in fact did not work to diagnose eye health! In fact, no light at all worked! This PR changes a single number to make diagnoses via lights function again. ## Why It's Good For The Game I rather enjoy being able to do medical RP and having options like this is pretty fun! Also, functioning parts of the code are pretty nice and I think this adds flavor to medical examinations. Before: ![image](https://github.com/user-attachments/assets/10965f9e-4677-48e2-8011-b867f24f3602) After: ![image](https://github.com/user-attachments/assets/1052ea93-bc6e-447c-ba3c-eccc0d7eebd9) ## Changelog :cl: fix: Medical Examinations via Flashlight is now an option again. Check eye health or see what's in someone's mouth! /:cl: --- code/game/objects/items/devices/flashlight.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm index 6528ef4851c70..a9f28d88caed4 100644 --- a/code/game/objects/items/devices/flashlight.dm +++ b/code/game/objects/items/devices/flashlight.dm @@ -62,7 +62,7 @@ to_chat(user, "[M] doesn't have a head!") return - if(light_power < 1) + if(light_power < 0.3) to_chat(user, "\The [src] isn't bright enough to see anything! ") return