diff --git a/sandcode/code/game/mecha/mech_fabricator.dm b/sandcode/code/game/mecha/mech_fabricator.dm
index 73e2e72702..396da01ed5 100644
--- a/sandcode/code/game/mecha/mech_fabricator.dm
+++ b/sandcode/code/game/mecha/mech_fabricator.dm
@@ -44,6 +44,11 @@
RefreshParts() //Recalculating local material sizes if the fab isn't linked
return ..()
+/obj/machinery/mecha_part_fabricator_adv/examine(mob/user)
+ . = ..()
+ if(in_range(user, src) || isobserver(user))
+ . += "The status display reads: Storing up to [rmat.local_size] material units.
Material consumption at [component_coeff*100]%.
Build time reduced by [100-time_coeff*100]%."
+
/obj/machinery/mecha_part_fabricator_adv/RefreshParts()
var/T = 0
@@ -64,11 +69,6 @@
T += Ml.rating
time_coeff = round(initial(time_coeff) - (initial(time_coeff)*(T))/5,0.01)
-/obj/machinery/mecha_part_fabricator_adv/examine(mob/user)
- . = ..()
- if(in_range(user, src) || isobserver(user))
- . += "The status display reads: Storing up to [rmat.local_size] material units.
Material consumption at [component_coeff*100]%.
Build time reduced by [100-time_coeff*100]%."
-
/obj/machinery/mecha_part_fabricator_adv/emag_act()
. = ..()
if(obj_flags & EMAGGED)
@@ -136,13 +136,14 @@
for(var/mat_id in materials.materials)
var/datum/material/M = mat_id
var/amount = materials.materials[mat_id]
+ var/ref = REF(M)
output += "[M.name]: [amount] cm³"
if(amount >= MINERAL_MATERIAL_AMOUNT)
- output += "- Remove \[1\]"
+ output += "- Remove \[1\]"
if(amount >= (MINERAL_MATERIAL_AMOUNT * 10))
- output += " | \[10\]"
- output += " | \[All\]"
- output += "
"
+ output += " | \[10\]"
+ output += " | \[50\]"
+ output += "
"
else
output += "No material storage connected, please contact the quartermaster.
"
return output
@@ -427,7 +428,8 @@
break
if(href_list["remove_mat"] && href_list["material"])
- eject_sheets(href_list["material"], text2num(href_list["remove_mat"]))
+ var/datum/material/Mat = locate(href_list["material"])
+ eject_sheets(Mat, text2num(href_list["remove_mat"]))
updateUsrDialog()
return