[MIRROR] Port material containers to datum components (#2562)

* Port material containers to datum components

* Fixes Rej
This commit is contained in:
CitadelStationBot
2017-09-04 04:08:42 -05:00
committed by Poojawa
parent a4c92a8155
commit 32300086d5
20 changed files with 373 additions and 363 deletions
+6
View File
@@ -0,0 +1,6 @@
//These components require a powered machine as a parent to run
/datum/component/powered
/datum/component/powered/ReceiveSignal(sigtype, list/sig_args, async)
var/obj/machinery/M = parent
return M.is_operational() && ..()