P4radyse 0 Posted May 24, 2015 Share Posted May 24, 2015 Hey M2dev com, I just wanted to know if its possible to give some items coloured names. For example: I want my sword +0 to have a blue name and my sword +9 to have a green name. Is it possible ?If yes how? Link to comment Share on other sites More sharing options...
dzekon 69 Posted May 24, 2015 Share Posted May 24, 2015 uitooltip.py Link to comment Share on other sites More sharing options...
P4radyse 0 Posted May 24, 2015 Author Share Posted May 24, 2015 uitooltip.py A bit more details please Link to comment Share on other sites More sharing options...
dzekon 69 Posted May 24, 2015 Share Posted May 24, 2015 NP. elif 50300 == itemVnum: if 0 != metinSlot: self.__SetSkillBookToolTip(metinSlot[0], localeInfo.TOOLTIP_SKILLBOOK_NAME, 1) self.ShowToolTip() return After elif 14199 < itemVnum and itemVnum < 14229: self.AppendTextLine(item.GetItemName(), grp.GenerateColor(1.0, 0.7843, 0.0, 1.0)) self.__AppendLimitInformation() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) self.AppendWearableInformation() self.__AppendAccessoryMetinSlotInfo(metinSlot, constInfo.GET_ACCESSORY_MATERIAL_VNUM(itemVnum, itemSubType)) return 1 Link to comment Share on other sites More sharing options...
P4radyse 0 Posted May 24, 2015 Author Share Posted May 24, 2015 NP. elif 50300 == itemVnum: if 0 != metinSlot: self.__SetSkillBookToolTip(metinSlot[0], localeInfo.TOOLTIP_SKILLBOOK_NAME, 1) self.ShowToolTip() return After elif 14199 < itemVnum and itemVnum < 14229: self.AppendTextLine(item.GetItemName(), grp.GenerateColor(1.0, 0.7843, 0.0, 1.0)) self.__AppendLimitInformation() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) self.AppendWearableInformation() self.__AppendAccessoryMetinSlotInfo(metinSlot, constInfo.GET_ACCESSORY_MATERIAL_VNUM(itemVnum, itemSubType)) return Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now