I am looking to build a simple strategy game as an exercise. I want to have different kinds of resources that the AI will carry from A to B, like wood logs, stone, food, etc.
What is the best practice to work with these blueprints that all are of one type (Resource) but come with different characteristics?
My approach is to create a base Blueprint BP_Resource from which the other resources extend.
However I would later like to make the AI citizens consume various resources based on their needs. For example I would like the citizens to have needs for wood logs and food. When the need for food is high, they should go and look for food. When the need for logs is high, they should go and get some logs.
I don’t want to build this separately for each resource, obviously. Should I set up an Enumerator for this? Or a ResourceType structure that points to the Blueprint of the resource? Like how can I abstract the concept a little more, like you would do in code?
I am worried that in the EQS I can only query for explicit classes, not for something generic like “Resource I currently need”.
Thanks in advance