Mechanisms placeable on halfslabs

Don't merge this yet. I don't know if this is okay.
You can delete this function, can't you?