[PY]Antiflag icon Aeldra
Scris: Mar Apr 23, 2024 6:13 am
Cauta in uitooltip.py (root) functia def AppendAntiflagInformation(self):
Actualizeaza:
Cod: SelectaĊ£i tot
def AppendAntiFlagInformation(self):
flagList = [
[item.ITEM_ANTIFLAG_DROP, "|Eemoji/anti_drop|e"],
[item.ITEM_ANTIFLAG_SELL, "|Eemoji/anti_sell|e"],
[item.ITEM_ANTIFLAG_MYSHOP, "|Eemoji/anti_shop|e"],
[item.ITEM_ANTIFLAG_SAFEBOX, "|Eemoji/anti_safebox|e"],
]
antiflagNames = ""
for i in xrange(len(flagList)):
if item.IsAntiFlag(flagList[0]):
antiflagNames += flagList[1]
if antiflagNames != "":
self.AppendSpace(5)
textLine = self.AppendTextLine(antiflagNames[:-1], self.DISABLE_COLOR, True)
textLine.SetFeather()