this thing never was in triggers
this is old DOS version trick - it was fixed in war2 BNE by original blizzard
basically bug was like this - peon receiving PEON_HARVEST_WOOD flag when he was actually sended to chop
not even need to touch tree at all, u can even send peon to chop someting in fog of war on other side of map.
so basically this is flag that checked if needed to give res, but peon cannot enter into lumbermill with just it, he also need PEON_LOADED flag.
but there is no check if peon loaded when he is ALREADY INSIDE and this is happens exactly when he finished build lumbermill or TH.
so u basically can get +100 free wood when build TH or +125 when build lumbermill (or builded TH and already had mill)
and fun fact - it was working every single time.
so PRO players in DOS version on 1996-99 always sended peon to chop before building first TH or lumbermill or expand TH.