mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
TGUI for techfabs (#69353)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user