oil slime logging (#15579)

This commit is contained in:
SteelSlayer
2021-02-21 17:19:58 +00:00
committed by GitHub
parent b2bb81bc24
commit 324af7454c
2 changed files with 20 additions and 8 deletions
@@ -13,7 +13,10 @@
throw_speed = 3
throw_range = 6
origin_tech = "biotech=3"
var/Uses = 1 // uses before it goes inert
/// Uses before it goes inert
var/Uses = 1
/// The mob who last injected the extract with plasma, water or blood. Used for logging.
var/mob/living/injector_mob
/obj/item/slime_extract/attackby(obj/item/O, mob/user)
if(istype(O, /obj/item/slimepotion/enhancer))
@@ -23,6 +26,8 @@
to_chat(user, "<span class='notice'>You apply the enhancer to the slime extract. It may now be reused one more time.</span>")
Uses++
qdel(O)
if(istype(O, /obj/item/reagent_containers/syringe))
injector_mob = user
..()
/obj/item/slime_extract/New()