ToME: the Tales of Maj'Eyal
http://forums.te4.org/

How to display Item Image in tooltip
http://forums.te4.org/viewtopic.php?f=36&t=48084
Page 1 of 1

Author:  deogo [ Thu Jul 06, 2017 8:51 pm ]
Post subject:  How to display Item Image in tooltip

Hey guys, help needed
I'd like to display a bigger item image in tooltip, but can't figure the proper code
the string #UID: .. <UID> .. ":0" seems always create a text-sized images (it's used in tooltip name by default)

i've found a lot of :display, :toScreen and :toScreenFull functions but have no idea how to use them for item tooltip
the self.image for item seems contains some data
i'd like to add item image in
\mod\class\Object.lua:getDesc

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/