Rewrite of server random facilities (to be used for weapons as well)