Skip to content

Commit

Permalink
lint + flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikafox committed Nov 1, 2023
1 parent 7e12cee commit ba92d3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/datums/traits/negative.dm
Original file line number Diff line number Diff line change
Expand Up @@ -628,14 +628,17 @@
. = ..()

/datum/quirk/junkie/smoker/announce_drugs()
if(accessory_type == null)
to_chat(quirk_holder, "<span class='boldnotice'>There is a [initial(drug_container_type.name)] [where_drug], Make sure you get a refill soon.</span>")
return
to_chat(quirk_holder, "<span class='boldnotice'>There is a [initial(drug_container_type.name)] [where_drug], and a [initial(accessory_type.name)] [where_accessory]. Make sure you get your favorite brand when you run out.</span>")

/datum/quirk/junkie/smoker/on_process()
. = ..()
var/mob/living/carbon/human/H = quirk_holder
var/obj/item/I = H.get_item_by_slot(ITEM_SLOT_MASK)
if (istype(I, /obj/item/clothing/mask/cigarette))
if( I == drug_container_type )
if(I == drug_container_type)
return
var/obj/item/storage/fancy/cigarettes/C = drug_container_type
if(istype(I, initial(C.spawn_type)))
Expand Down

0 comments on commit ba92d3d

Please sign in to comment.