mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01:00
[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:
co-authored by
Heroman3003
CHOMPStation2
parent
5e6fbd72d2
commit
6872e4233b
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user