Eh heh… that's generally the kind of "adventure" I try to avoid.Hachem_Muche wrote:But why not change the weight of everything? Sounds like a debugging adventure!
No, ZOmnibus is a single addon; it predates the .teaac "addon collection" infrastructure, and back when I asked, no one expressed any interest in having ZOmnibus retooled to use said infrastructure.Hachem_Muche wrote:Actually I thought Zomnibus had a way to change the weight of each individual addon.
Out of curiosity, what's your source for this?Hachem_Muche wrote:The default weight for addons (is supposed to be) 100.
Oh, I know overloading is necessary sometimes; I've had to resort to it myself.Hachem_Muche wrote:PTT does override other addons, because it pretty much replaces the entire tooltip for actors. Another addon (at a higher weight) that tried to modify the normal ToME tooltip would probably break.
I was really hoping to avoid having to resort to that, actually, for the reasons I mentioned above.Hachem_Muche wrote:Have you tested PH with a higher weight than PTT to confirm it works?
That's pretty much exactly what I was going to suggest, actually.Hachem_Muche wrote:The next (rather sloppy) option I can think of is defining something like a new mod.Actor._life_text(self) function that returns the string you want to display, and then using that in your search and replace code to update actor life in the tooltip. It would then be easy enough to have PTT check for that function and use it.
True, but that's kind of inconvenient.Hachem_Muche wrote:Also note that if the player really needs to see the negative life of an npc, he can temporarily disable PTT's actor tooltip and the normal tooltip (using PH) will be displayed.