cdaragorn / Ui-Info-Suite

Mod for Stardew Valley.
86 stars 360 forks source link

Can define hierarchy on options page #73

Closed Annosz closed 1 year ago

Annosz commented 3 years ago

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.

image

image

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).