Bonemeal logic