Closed ryanjjung closed 9 months ago
Because a Miner
is derived from a Building
, it doesn't make sense for a Building
to have special logic for Miner
s in it. The test to ensure that a Miner
is hooked to a compatible ResourceNode
will come with the test framework, but I have added the data to the class that will allow us to make that determination later.
PR #3
A
ResourceNode
should be fitted with an output type, which is anItem
, not anIngredient
, as it does not have a rate or amount. A constraint should be added to miners such that they cannot be set to a recipe that does not accept the resource node's output.