mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
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:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user