I would like to add own code after whatever grew on a tile has been harvested.
Having used harmony patching before I'm pretty sure thats the way to go but I don't have the slightest idea what to patch in particular...
Anybody any advice please?
If you're only interested in plants harvested by colonists, you're probably best off patching
JobDriver_PlantWork.MakeNewToils()
or
JobDriver_PlantHarvest.PlantWorkDoneToil()
PlantWork will affect both "cut"- and "harvest"-type work; PlantHarvest will only affect the latter. (There's also an analogous JobDriver_PlantCut if you want to target that in particular.)
Thanks a lot, gotta give it a try!