mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-16 18:52:45 +01:00
Fixes Part Two
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user