Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import BigWorld
- from gui.shared.gui_items.processors.common import CustomizationsSeller
- old_request = CustomizationsSeller._request
- def new_request(self, callback):
- print 'Changing the number of customization to sell to the maximum avaialble in invetory: ' + str(self.item.inventoryCount)
- self.count = self.item.inventoryCount
- print 'Make server request to sell customizations on item {}, count {}'.format(self.item, self.count)
- old_request(self, callback)
- CustomizationsSeller._request = new_request
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement