Fixes Part Two

This commit is contained in:
Unknown
2019-04-15 02:07:02 -04:00
parent 327d2b0924
commit 547c00e1b6
2 changed files with 9 additions and 3 deletions
@@ -21,10 +21,16 @@
if(!check_functionality())
return 0
var/obj/item/weapon/paper/P = new/obj/item/weapon/paper(get_turf(holder2))
// 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)
P.info = stars(text_to_print, 100-malfunction_probability)
else
P.info = text_to_print
if(paper_title)
P.name = paper_title
P.update_icon()
stored_paper--
return 1