mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-04 14:33:10 +00:00
Printing Fixes (#1476)
Refactors machines to use /obj/machinery/proc/print() to print things to reduce redundant code. Fixes #1433. Fixes #1454.
This commit is contained in:
@@ -32,8 +32,7 @@
|
||||
user << "There is no scan data to print."
|
||||
return
|
||||
var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(get_turf(src))
|
||||
P.name = "paper - [form_title]"
|
||||
P.info = "[last_data]"
|
||||
P.set_content_unsafe("paper - [form_title]", "[last_data]")
|
||||
if(istype(user,/mob/living/carbon/human) && !(user.l_hand && user.r_hand))
|
||||
user.put_in_hands(P)
|
||||
user.visible_message("\The [src] spits out a piece of paper.")
|
||||
|
||||
Reference in New Issue
Block a user