mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Gives paper slight color tints, depending on their source of origin (#7091)
This allows you to easier distinguish which paper is what, if you have a supermassive pile of them or something. I don't know.
This commit is contained in:
@@ -297,7 +297,7 @@ var/last_message_id = 0
|
||||
if(computer && computer.working && !!computer.nano_printer)
|
||||
var/datum/computer_file/program/comm/C = locate(/datum/computer_file/program/comm) in computer.hard_drive.stored_files
|
||||
if(C && C.intercept)
|
||||
computer.nano_printer.print_text(message_text, message_title)
|
||||
computer.nano_printer.print_text(message_text, message_title, "#deebff")
|
||||
|
||||
|
||||
/datum/comm_message_listener
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
..()
|
||||
to_chat(user, "Paper buffer level: [stored_paper]/[max_paper]")
|
||||
|
||||
/obj/item/weapon/computer_hardware/nano_printer/proc/print_text(var/text_to_print, var/paper_title = null)
|
||||
/obj/item/weapon/computer_hardware/nano_printer/proc/print_text(var/text_to_print, var/paper_title = null, var/paper_color = null)
|
||||
if(!stored_paper)
|
||||
return 0
|
||||
if(!enabled)
|
||||
@@ -24,7 +24,9 @@
|
||||
// Damaged printer causes the resulting paper to be somewhat harder to read.
|
||||
if(damage > damage_malfunction)
|
||||
text_to_print = stars(text_to_print, 100-malfunction_probability)
|
||||
new/obj/item/weapon/paper(get_turf(holder2),text_to_print, paper_title)
|
||||
var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(get_turf(holder2),text_to_print, paper_title)
|
||||
if (paper_color)
|
||||
P.color = paper_color
|
||||
|
||||
stored_paper--
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user