Lajk

Untitled

Sep 11th, 2019
104
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def AddItemData(self, itemVnum, metinSlot, attrSlot = 0, flags = 0, window_type = player.INVENTORY, slotIndex = -1, transmutation = -1, preview = 1):
  2.  
  3. elif self.__IsPolymorphItem(itemVnum):
  4. if 0 != metinSlot:
  5. self.AppendDescription(item.GetItemDescription(), 26)
  6. self.AppendDescription(item.GetItemSummary(), 26, self.CONDITION_COLOR)
  7. self.__AppendMatkaDenisa(metinslot[0])
  8.  
  9. if chr.IsGameMaster(player.GetMainCharacterIndex()):
  10. self.AppendTextLine("(%d)" % (itemVnum),self.SPECIAL_TITLE_COLOR)
  11. self.ShowToolTip()
  12. return
  13.  
  14.  
  15. gdzies pod def __AppendHairIcon(self, itemVnum):
  16. def __AppendMatkaDenisa(self, grubaKurwa):
  17. itemImage = ui.ImageBox()
  18. itemImage.SetParent(self)
  19. itemImage.Show()
  20.  
  21. itemImage.LoadImage("icon/denis/frajer/%d" % grubaKurwa)
  22. itemImage.SetPosition((self.toolTipWidth/2) - itemImage.GetWidth()/2, self.toolTipHeight)
  23. self.toolTipHeight += itemImage.GetHeight()
  24. self.childrenList.append(itemImage)
  25. self.ResizeToolTip()
RAW Paste Data