Hi,
Is it possible to identify a terrain color with a number so I can use it within a conditional structure like "If.... then..."?
![](https://lh3.googleusercontent.com/-ysf3Hh9Exrc/V17mJkf1rmI/AAAAAAAAJMw/APh5A_5R5lwUvHWtHTn8_u3cgPdHHx3iQCLcB/s320/Captura%2Bde%2Bpantalla%2B2016-06-13%2Ba%2Blas%2B1.57.44%2Bp.m..png)
For example, if I set the terrain color with different shades of green (using "Stamp Grid" and R:0 G:[20+random 82] B:0), how can I identify the resultant terrain color and use it within a conditional statement?
I want my agents to do something based on the different shades (e.g. gaining different units of energy when the green shade is darker).
Thanks!