I dont know for sure whenever this is a good solution or not, but it fits my desires and works how i intended:
here, instead, im comparing the “summed distance” between every tile’s hazard and power and the sampled hazard and power from the noise map. This code can definitely get optimized but you can see and understand it a bit better like this
