Unify painkiller usage

Closes issue #1883