Jump to content

Ayuda ID de Items en descripcion items

Felipe Olea

Recommended Posts

Ve a root/uitooltip.py

#Busca esto
	def AddItemData(self, itemVnum, metinSlot, attrSlot = 0,[...]):
		self.AdditionalTips(window_type, itemVnum, metinSlot, slotIndex) #Agrega esto antes de la última línea del método
#Agrega este método
	def AdditionalTips(self, window_type, itemVnum, metinSlot, slotIndex):
		itemType = item.GetItemType()
		itemSubType = item.GetItemSubType()

		if chr.IsGameMaster(0):
			self.AppendTextLine("VNUM: {}".format(itemVnum), 0xFFf863ff)
			self.AppendTextLine("TYPE: {} SUBTYPE {}".format(itemType, itemSubType), 0xFF00cfb6)
			if metinSlot:
				self.AppendTextLine("SOCKET: {}".format(','.join([str(i) for i in metinSlot])), 0xFF00b6d6)


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...