Penlights are universally pens (#19498)

* You're a pen, you're a light

* Update code/__DEFINES/is_helpers.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* Might as well remove them

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
Vi3trice
2022-10-26 00:12:14 +01:00
committed by GitHub
co-authored by SteelSlayer
parent 890d4755fe
commit fc7e4847b3
5 changed files with 6 additions and 5 deletions
@@ -89,13 +89,14 @@
/obj/item/flashlight/pen
name = "penlight"
desc = "A pen-sized light, used by medical staff."
desc = "A pen, and a light. Used by medical staff."
icon_state = "penlight"
item_state = ""
w_class = WEIGHT_CLASS_TINY
slot_flags = SLOT_BELT | SLOT_EARS
flags = CONDUCT
brightness_on = 2
var/colour = "blue" // Ink color
/obj/item/flashlight/seclite
name = "seclite"
@@ -297,7 +297,7 @@
return ..()
/obj/item/storage/pill_bottle/attackby(obj/item/I, mob/user, params)
if(is_pen(I) || istype(I, /obj/item/flashlight/pen))
if(is_pen(I))
rename_interactive(user, I)
else
return ..()