Merge pull request #10752 from VOREStation/Arokha/flashpoint

The One Where You Can Aim Lights
This commit is contained in:
Aronai Sieyes
2021-06-30 15:28:13 -04:00
committed by GitHub
16 changed files with 165 additions and 22 deletions
@@ -210,6 +210,14 @@
else
..()
/obj/item/device/flashlight/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
. = ..()
var/turf/T = get_turf(target)
var/datum/component/overlay_lighting/OL = GetComponent(/datum/component/overlay_lighting)
if(!OL)
return
OL.place_directional_light(T)
/obj/item/device/flashlight/pen
name = "penlight"
desc = "A pen-sized light, used by medical staff."