mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
to_chat()'
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
|
||||
/obj/item/weapon/computer_hardware/printer/diagnostics(mob/living/user)
|
||||
..()
|
||||
user << "Paper level: [stored_paper]/[max_paper]"
|
||||
to_chat(user, "Paper level: [stored_paper]/[max_paper]")
|
||||
|
||||
/obj/item/weapon/computer_hardware/printer/examine(mob/user)
|
||||
..()
|
||||
user << "<span class='notice'>Paper level: [stored_paper]/[max_paper]</span>"
|
||||
to_chat(user, "<span class='notice'>Paper level: [stored_paper]/[max_paper]</span>")
|
||||
|
||||
|
||||
/obj/item/weapon/computer_hardware/printer/proc/print_text(var/text_to_print, var/paper_title = "")
|
||||
@@ -41,13 +41,13 @@
|
||||
/obj/item/weapon/computer_hardware/printer/try_insert(obj/item/I, mob/living/user = null)
|
||||
if(istype(I, /obj/item/weapon/paper))
|
||||
if(stored_paper >= max_paper)
|
||||
user << "<span class='warning'>You try to add \the [I] into [src], but its paper bin is full!</span>"
|
||||
to_chat(user, "<span class='warning'>You try to add \the [I] into [src], but its paper bin is full!</span>")
|
||||
return FALSE
|
||||
|
||||
if(user && !user.unEquip(I))
|
||||
return FALSE
|
||||
|
||||
user << "<span class='notice'>You insert \the [I] into [src]'s paper recycler.</span>"
|
||||
to_chat(user, "<span class='notice'>You insert \the [I] into [src]'s paper recycler.</span>")
|
||||
qdel(I)
|
||||
stored_paper++
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user