mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-27 07:08:22 +01:00
Fixes Part Two
This commit is contained in:
@@ -49,7 +49,7 @@ obj/machinery/recharger
|
||||
if(!C.battery_module)
|
||||
to_chat(user, "This device does not have a battery installed.")
|
||||
return
|
||||
if(!G.get_cell())
|
||||
else if(!G.get_cell())
|
||||
to_chat(user, "This device does not have a battery installed.")
|
||||
return
|
||||
|
||||
|
||||
@@ -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