Arat: def AppendAntiflagInformation(self):
Komple değiştir:
def AppendAntiflagInformation(self):
antiFlagDict = {
"|Eemoji/anti_drop|e" : item.ITEM_ANTIFLAG_DROP, ## ++
"|Eemoji/anti_sell|e" : item.ITEM_ANTIFLAG_SELL, ## ++
# "|Eemoji/anti_give|e" : item.ITEM_ANTIFLAG_GIVE,
# "|Eemoji/anti_stack|e" : item.ITEM_ANTIFLAG_STACK,
"|Eemoji/anti_shop|e" : item.ITEM_ANTIFLAG_MYSHOP, ## ++
"|Eemoji/anti_safebox|e" : item.ITEM_ANTIFLAG_SAFEBOX, ## ++
}
antiFlagNames = [name for name, flag in antiFlagDict.iteritems() if item.IsAntiFlag(flag)]
if antiFlagNames:
self.AppendSpace(5)
textLine1 = self.AppendTextLine(localeInfo.NOT_POSSIBLE, self.DISABLE_COLOR)
textLine1.SetFeather()
self.AppendSpace(5)
textLine2 = self.AppendTextLine('{}'.format(' '.join(antiFlagNames)), self.DISABLE_COLOR)
textLine2.SetFeather()
İCONLAR :