def YangYenile(self, value, type, invenType, invenPos):
global xc3VectorsYang
# fiyat tekrarı fix
if self.priceInputBoard:
attachedInvenType = self.priceInputBoard.sourceWindowType
sourceSlotPos = self.priceInputBoard.sourceSlotPos
for privatePos, (itemWindowType, itemSlotIndex) in self.itemStock.items():
if itemWindowType == attachedInvenType and itemSlotIndex == sourceSlotPos:
return
# fiyat tekrarı fix
if str(type) == "Item_ekledim":
xc3VectorsYang += value
else:
Yangim = shop.GetPrivateShopItemPrice(invenType, invenPos)
xc3VectorsYang -= Yangim
self.xc3VectorsYang.SetText("%s" % str(localeInfo.NumberToMoneyString(int(xc3VectorsYang))))