This function is redundant, just use `locations.Random(world.SharedRandom)`.