This commit does not change anything in the way the mod works, only reorganizes the code of the Option component and adds the possibility do define parent options. I tried to keep changes to the minimum, most of them are coming from the new parent option and because some properties needs to be accessed in a child/parent class too.
If this change gets accepted I will add further options which enable fine-tuning thw way the mod works. For example, the feature to show exact value for the luck has been asked multiple times on the forum and I saw you rejected it, because it breaks immersion, but this way we can add the option to use it (every option I add defaults the the way the mod already works).
This commit does not change anything in the way the mod works, only reorganizes the code of the Option component and adds the possibility do define parent options. I tried to keep changes to the minimum, most of them are coming from the new parent option and because some properties needs to be accessed in a child/parent class too.
If this change gets accepted I will add further options which enable fine-tuning thw way the mod works. For example, the feature to show exact value for the luck has been asked multiple times on the forum and I saw you rejected it, because it breaks immersion, but this way we can add the option to use it (every option I add defaults the the way the mod already works).