hasanmacit

dc: hasanmacit
Moderatör
Premium Üye
Geliştirici
Yardımsever Üye
Editör
Mesaj
2.627
Çözümler
86
Beğeni
1.934
Puan
1.339
Great offline shop ekleyip üstüne won sistemini ekleyince won ve yang yazılarının çifter çifter geldiğini biliyorsunuzdur. Bunun için bugün azıcık uğraştım ve @Reached ile fikir alışverişi yaptık. Aslında o localeinfodandır demişti ama uitooltiptenmiş yinede saolsun adamdır @Reached xd.

uitooltip.py de bul ve değiştir

C++:
def AppendPrice(self, price):
        if app.ENABLE_CHEQUE_SYSTEM:
            if price <=0:
                return
            self.AppendTextLine((localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
            self.AppendSpace(5)
        else:
            self.AppendSpace(5)
            self.AppendTextLine((localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))

    def AppendPriceBySecondaryCoin(self, price):
        self.AppendSpace(5)
        self.AppendTextLine((localeInfo.NumberToSecondaryCoinString(price)), self.GetPriceColor(price))

    def AppendSellingPrice(self, price):
        if app.ENABLE_CHEQUE_SYSTEM:
            if price<=0:
                return
            if item.IsAntiFlag(item.ITEM_ANTIFLAG_SELL):
                self.AppendTextLine(localeInfo.TOOLTIP_ANTI_SELL, self.DISABLE_COLOR)
                self.AppendSpace(5)
            else:
                self.AppendTextLine((localeInfo.NumberToGold(price)), self.GetPriceColor(price))
                self.AppendSpace(5)
        else:
            if item.IsAntiFlag(item.ITEM_ANTIFLAG_SELL):
                self.AppendTextLine(localeInfo.TOOLTIP_ANTI_SELL, self.DISABLE_COLOR)
                self.AppendSpace(5)
            else:
                self.AppendTextLine((localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
                self.AppendSpace(5)

    if app.ENABLE_CHEQUE_SYSTEM:
        def AppendCheque(self, price):
            if price <=0:
                return
            self.AppendTextLine((localeInfo.NumberToCheque(price)), grp.GenerateColor(0.0, 0.8470, 1.0, 1.0))

        def AppendSellingCheque(self, price):
            if price<=0:
                return
            self.AppendTextLine((localeInfo.NumberToCheque(price)), grp.GenerateColor(0.0, 0.8470, 1.0, 1.0))

        def AppendSellingCheque2(self, price):
            if price<=0:
                return
            self.AppendTextLine(localeInfo.CHEQUE_SYSTEM_SELL_PRICE, grp.GenerateColor(1.0, 0.9686, 0.3098, 1.0))
            self.AppendTextLine((localeInfo.NumberToCheque(price)), grp.GenerateColor(0.0, 0.8470, 1.0, 1.0))

öncesi

won6.jpg


sonrası

0820_191311.jpg

 
Eveettt, bence çok güzel demişim. Üretmeye çaba harcamak gerekiyor zaten bir şey üretmeden konuşan insan çok. Siteye sunduğunuz katkılarınız için teşekkür ederim
 
Geri
Üst