TraitDefinition Override
Posted: Sun Mar 05, 2023 4:23 am
Hi Tony,
I love the asset and have been integrating it into my systems.
Currently I have been trying to integrate RPG style stats into the system and I have come across a hurdle.
I have overridden a lot of function in Faction member (especially EvaluateRumor()) to handle the change and the flexibility of your code has made it quite easy.
I have avoided overriding any other class at the moment.
Now, I feel the need to add more information to TraitDefinition like trait category, and probably a Scriptable Object to hold additional data that can be used in EvaluateRumor or ModifyPersonality.
I feel I have two choices,
1. Update TraitDefinition class
2. Create a TraitDefinitionV2 and Create a new Faction Database and all the following required classes.
Any suggestions that could result in the least amount of change.
I love the asset and have been integrating it into my systems.
Currently I have been trying to integrate RPG style stats into the system and I have come across a hurdle.
I have overridden a lot of function in Faction member (especially EvaluateRumor()) to handle the change and the flexibility of your code has made it quite easy.
I have avoided overriding any other class at the moment.
Now, I feel the need to add more information to TraitDefinition like trait category, and probably a Scriptable Object to hold additional data that can be used in EvaluateRumor or ModifyPersonality.
I feel I have two choices,
1. Update TraitDefinition class
2. Create a TraitDefinitionV2 and Create a new Faction Database and all the following required classes.
Any suggestions that could result in the least amount of change.