TGUI for techfabs (#69353)

This commit is contained in:
scriptis
2022-08-30 22:28:11 -05:00
committed by GitHub
parent bbac075bbe
commit 8be2c1e2d2
9 changed files with 652 additions and 380 deletions
@@ -163,3 +163,10 @@ handles linking back and forth.
matlist[material_ref] = eject_amount
silo_log(parent, "ejected", -count, "sheets", matlist)
return count
/// Returns `TRUE` if and only if the given material ref can be inserted/removed from this component
/datum/component/remote_materials/proc/can_hold_material(datum/material/material_ref)
if(!mat_container)
return FALSE
return mat_container.can_hold_material(material_ref)