It's not a mod request, as I'm going to do it myself (and use in my mod, but not in the first version, which I'm going to release as soon as possible). But perhaps someone did it before, so if there exists a mod (or a mod component) that does something similar, let me know.
The idea is that...