heres some thoughts on places to look
first you would need to create the resource in question by probobly adding it to the strategicresourcedefs file
then i would look under ship components and see how it handles removing resources when used and see if you could copy modify and apply the same tags to the buildings you want