String length upper limit = 4096 characters?

ZeroOne

Hitchhiker
Joined
Aug 10, 2002
Messages
88
Location
Finland
I've been modding the HappinessTipHandler function in TopPanel.lua to improve the happiness tooltip. It's now working alright except for the fact that only the first 4096 characters of the strText variable are displayed in the game! In essence, the tooltip text is cut in a random position, such as "+5 fr" when it should be "+5 from [ICON] incense". Is there any way around this limitation? :confused:
 
Top Bottom