Just try it out - it should work just fine (about my shared code). Also, i not downloaded older versions of this mod, so cannot say anything about structure similarities, but instead can share where i get the idea - check out buff buffFarmerSetBonus in gamefiles (line 1733 in buffs.xml).
Here's...