With the addition of the butcher shop, we now have a block that has two unlocking requirements: one, to have flint knives, and the other is to have wood-point spears and be hunting. Both of these are not related to each other, but the butcher shop requires both.
We need to update the panel class to allow multiple requirement fields to be included in them. We also need to track what aspects of a given panel have been unlocked already, since we will only run findunlocks() on one item at a time. Perhaps when requirements are met, they can be removed from the list for a given panel; when there are none left, the panel becomes unlocked.
With the addition of the butcher shop, we now have a block that has two unlocking requirements: one, to have flint knives, and the other is to have wood-point spears and be hunting. Both of these are not related to each other, but the butcher shop requires both.
We need to update the panel class to allow multiple requirement fields to be included in them. We also need to track what aspects of a given panel have been unlocked already, since we will only run findunlocks() on one item at a time. Perhaps when requirements are met, they can be removed from the list for a given panel; when there are none left, the panel becomes unlocked.