As this is beekeeping, so there must be a confusing range of views expressed
Firstly, if you need a second hive check with your Dad what type of bee hive it was. It looks like pine to me - hence having had a go at by woodworm. As Adam says, if it was many moons ago it could well be a WBC as they were at least 50% of hobby hives at one time but less common today. They were often pine and unless regularly painted they often can often be found gently rotting in a lopsided heap. The outer sloping lifts are the clue.
Secondly, woodworm holes are the evidence of the beetle previously exiting rather than present. It could be they left decades ago. Are the other components similarly affected? If not structurally affected, a couple of coats of Cuprinol Clear should see them usable. Scallops in woodwork from historic pupating wax moth is normally purely aesthetic. I have plenty of old kit with a few battle scars on it.
As you might of guessed, I will press into service any kit that is serviceable - however if it’s not compatible or shonky, don’t lumber yourself.