I am going to change the search for metal extractors to instead use a generic system revolving around a list of points and a few modular objects providing 'resources'.
To do this I need to make sure these assumptions are correct:
- Custom resources are done using the metal map or features spawned by lua, and I should search for these features.
- Custom resources are taken by placing a building on them or moving a type of unit within a predefined range.
- Custom resources have feature names that can be listed and used and aren't auto-generated procedurally.
- Some resources are generated by building a building anywhere, such as a solar collector generating energy.
- Resources are either:
- Consumables with real world positions that must eb acquired
- Producables such as energy or morale that are generated by buildings or units regardless of location or context