I'm not sure if I'm posting this correctly, but I want my Building to use up resources every second, which it does. The problem is that it keeps making a different resource even if there's not enough of the resource that it needs.
Sorry if that's confusing.
-Building1 uses 3 resource1's every second.
-Building1 makes 1 resource2 every second.
-Building1 keeps making 1 resource2 every second, even though there is no more of resource1.
The third point is what I need to change.