Open openly-retro opened 7 months ago
councilor buttons don't use a custom tooltip, they take advantage of the game's inbuilt trait tooltip effect. however, when there arent enough trait points, the tooltip isn't shown, and the gui simply says "not enough trait points"
perhaps the trait tooltip generation system should not distinguish between councilor and leader and ruler. instead, have one common trait tooltip shared between all GUIs, and all classes common traits shared by multiple classes have the same effect, so unique trait tooltips per class aren't needed
using a format like xvcv_mdlc_trait_gui_tooltip_leader_trait_defence_engineer_2
or some such
not going to refer to councilor, class, scientist, etc.. just the namespace, some sort of stem, and then the trait name
So the principle is: