[MIRROR] stop fax flicking to copier icon (#9114)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-10-02 07:13:37 +02:00
committed by GitHub
co-authored by Heroman3003 CHOMPStation2
parent 5e6fbd72d2
commit 6872e4233b
+12
View File
@@ -306,6 +306,18 @@ Extracted to its own procedure for easier logic handling with paper bundles.
department = input
if( !(("[department]" in alldepartments) || ("[department]" in admin_departments)) && !(department == "Unknown"))
alldepartments |= department
else if(istype(O, /obj/item/toner))
if(toner <= 10) //allow replacing when low toner is affecting the print darkness
user.drop_item()
to_chat(user, span_notice("You insert the toner cartridge into \the [src]."))
playsound(loc, 'sound/machines/click.ogg', 50, 1)
var/obj/item/toner/T = O
toner += T.toner_amount
qdel(O)
else
to_chat(user, span_notice("This cartridge is not yet ready for replacement! Use up the rest of the toner."))
playsound(loc, 'sound/machines/buzz-two.ogg', 75, 1)
return
return ..()