mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Merge pull request #10752 from VOREStation/Arokha/flashpoint
The One Where You Can Aim Lights
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user