I want to make a basic miner robot, and a nice addition would be to detect when it is adjacent to an ore of some kind. I have found two ways to achieve this by reading the documentation:
Have a sample of an ore of every kind laid out in the robot's inventory and use the robot's api `compare` function. However it will be cumbersome to always set up the inventory in the right order every time I place the robot.
Using the geolyzer's `analyze` function, however it seems to consume an enormous amount of energy, so it's not viable to use this at every step.
The database component s