- Mesaj
- 721
- Çözümler
- 58
- Beğeni
- 774
- Puan
- 950
- Ticaret Puanı
- 2
Şekillendirmek size kalmış, iyi kullanımlar.
ConstInfo.py açılır ve müsait yere eklenir.
UiTooltip.py açılır ve aratılır.
İçerisinde bulunur.
Altına eklenir.
Tekrar SetShopItem içerisinde aratılır.
Üstüne eklenir.
Aratılır.
Değiştirilir.
locale_game.txt açılır ve TOOLTIP_BUYPRICE altına eklenir.
ConstInfo.py açılır ve müsait yere eklenir.
Python:
ENABLE_SHOP_SINGLE_PRICE = True
Python:
def SetShopItem(self, slotIndex):
Python:
price = shop.GetItemPrice(slotIndex)
Python:
if constInfo.ENABLE_SHOP_SINGLE_PRICE:
count = shop.GetItemCount(slotIndex)
singleItemPrice = price / count
Tekrar SetShopItem içerisinde aratılır.
Python:
self.AppendPrice(price)
Üstüne eklenir.
Python:
if constInfo.ENABLE_SHOP_SINGLE_PRICE:
if shop.IsPrivateShop() and count > 1:
self.AppendPrice(singleItemPrice, isSingleItem=True)
Aratılır.
Python:
def AppendPrice(self, price):
Değiştirilir.
Python:
if constInfo.ENABLE_SHOP_SINGLE_PRICE:
def AppendPrice(self, price, isSingleItem=False):
self.AppendSpace(3)
if isSingleItem:
self.AppendTextLine(localeInfo.TOOLTIP_BUYPRICE_SINGLE % (localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
else:
self.AppendTextLine(localeInfo.TOOLTIP_BUYPRICE % (localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
else:
def AppendPrice(self, price):
self.AppendSpace(5)
self.AppendTextLine(localeInfo.TOOLTIP_BUYPRICE % (localeInfo.NumberToMoneyString(price)), self.GetPriceColor(price))
locale_game.txt açılır ve TOOLTIP_BUYPRICE altına eklenir.
Python:
TOOLTIP_BUYPRICE_SINGLE Adet Fiyat: %s
Son düzenleme: