mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
no old spans
This commit is contained in:
@@ -305,13 +305,13 @@ Extracted to its own procedure for easier logic handling with paper bundles.
|
||||
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 class='notice'>You insert the toner cartridge into \the [src].</span>")
|
||||
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 class='notice'>This cartridge is not yet ready for replacement! Use up the rest of the toner.</span>")
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user