Im making a procedurally generated game where every tile (16x16) has a certain animation to know which color it will be (blue, yellow, green , gray). I’ve already figured out how to make every tile with animation green to have a tree in it but now i need to make it that every green tile has 1 in 5 chance to have a tree created on it. Can anybody help me?