If I'm just trying to add a new public float to an existing .dll (verse.RaceProperties) is Harmony the way to go? It's not patching a specific method per se... Played around with it a little but can't get it to work, and there seems to be a lack of example code out there to use for such a thing.
What I'm trying to do is make a custom property akin to 'petness' that I can add via XML tags to any farm animals I choose. From what I gather it's drawing things like petness and packAnimal from this RaceProperties.cs file (I THINK, I could be way off...) and I would like to augment it at runtime instead of replacing the whole thing.
Or if there is a much simpler alternative to give an animal pawn a custom property that I'm overlooking, that works too
What I'm trying to do is make a custom property akin to 'petness' that I can add via XML tags to any farm animals I choose. From what I gather it's drawing things like petness and packAnimal from this RaceProperties.cs file (I THINK, I could be way off...) and I would like to augment it at runtime instead of replacing the whole thing.
Or if there is a much simpler alternative to give an animal pawn a custom property that I'm overlooking, that works too
