Implemented part of ticket #536
Reworked code vor plugin_random.cpp
Authored by: numere 2020-10-19
Parent: [r776]
Child: [r778]